mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
multiple fixes nxos (#32903)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -488,6 +488,9 @@ def get_interface_config_commands(interface, intf, existing):
|
||||
if mtu != 'None':
|
||||
commands.append('mtu {0}'.format(mtu))
|
||||
|
||||
if 'mtu None' in commands:
|
||||
commands.pop()
|
||||
|
||||
admin_state = interface.get('admin_state')
|
||||
if admin_state:
|
||||
command = get_admin_state(interface, intf, admin_state)
|
||||
|
||||
Reference in New Issue
Block a user