mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
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:
parent
4d58d16793
commit
bf1580a333
13 changed files with 768 additions and 116 deletions
|
@ -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 = {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue