mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-02 14:29:10 -07:00
Changes to enable network_cli and netconf on iosxr integration tests. (#35269)
* * Changes to enable network_cli and netconf on modules. * limits connection local for single TC per playbook. * * adds a note on why only 1 TC is executed with connection: local
This commit is contained in:
parent
f49a782099
commit
56eeaf1b2f
25 changed files with 548 additions and 499 deletions
|
@ -359,6 +359,8 @@ def get_oper(module, filter=None):
|
|||
|
||||
if filter is not None:
|
||||
response = conn.get(filter)
|
||||
else:
|
||||
return None
|
||||
|
||||
return to_bytes(etree.tostring(response), errors='surrogate_then_replace').strip()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue