mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
nxos integration fix part 1 (#27069)
* Assorted Python 3 fixes * Fix `testcase` definition in integration tests * Fix nxos_acl_interface * clean up nxapi after nxos_nxapi
This commit is contained in:
parent
b8337ee9d3
commit
56a0b988a9
12 changed files with 29 additions and 11 deletions
|
@ -88,7 +88,10 @@ from ansible.module_utils.basic import AnsibleModule
|
|||
def check_for_acl_int_present(module, name, intf, direction):
|
||||
# Need to Captitalize the interface name as the nxos
|
||||
# output has capitalization
|
||||
command = ['show running-config aclmgr | section {0}'.format(intf.title())]
|
||||
command = [{
|
||||
'command': 'show running-config aclmgr | section {0}'.format(intf.title()),
|
||||
'output': 'text',
|
||||
}]
|
||||
body = run_commands(module, command)
|
||||
|
||||
if direction == 'ingress':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue