ios_l2_interface (#35054)

* Fix sending 'None' to device on ios

* Add ios_l2_interface module & tests

* Skip l2 tests on non-l2 images

* Allow test to continue on non-L2 hosts
This commit is contained in:
Nathaniel Case 2018-01-19 17:14:32 -05:00 committed by GitHub
commit bf1580a333
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 768 additions and 116 deletions

View file

@ -86,8 +86,7 @@ class Cliconf(CliconfBase):
False, newline)
def get(self, command, prompt=None, answer=None, sendonly=False):
return self.send_command(to_bytes(command), prompt=to_bytes(prompt),
answer=to_bytes(answer), sendonly=sendonly)
return self.send_command(command, prompt=prompt, answer=answer, sendonly=sendonly)
def get_capabilities(self):
result = {}