mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fix mtu check nxos_interface (#32880)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
@@ -485,7 +485,7 @@ def get_interface_config_commands(interface, intf, existing):
|
||||
commands.append(command)
|
||||
|
||||
mtu = interface.get('mtu')
|
||||
if mtu:
|
||||
if mtu != 'None':
|
||||
commands.append('mtu {0}'.format(mtu))
|
||||
|
||||
admin_state = interface.get('admin_state')
|
||||
|
||||
Reference in New Issue
Block a user