Removes superfluous commands nxos_vlan (#51796)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
7fa5694975
commit
88df4e22d3
1 changed files with 0 additions and 4 deletions
|
@ -212,10 +212,6 @@ def map_obj_to_commands(updates, module):
|
||||||
|
|
||||||
if state == 'absent':
|
if state == 'absent':
|
||||||
if obj_in_have:
|
if obj_in_have:
|
||||||
if obj_in_have['mapped_vni'] != 'None':
|
|
||||||
commands.append('vlan {0}'.format(vlan_id))
|
|
||||||
commands.append('no vn-segment')
|
|
||||||
commands.append('exit')
|
|
||||||
commands.append('no vlan {0}'.format(vlan_id))
|
commands.append('no vlan {0}'.format(vlan_id))
|
||||||
|
|
||||||
elif state == 'present':
|
elif state == 'present':
|
||||||
|
|
Loading…
Reference in a new issue