mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-02 14:40:19 -07:00
multiple fixes nxos (#32903)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
177a4fb3ec
commit
3ee2501c83
5 changed files with 14 additions and 13 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue