mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-04 23:39:09 -07:00
fix mtu check nxos_interface (#32880)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
c3636108bc
commit
c40de24e9c
2 changed files with 5 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue