Removes superfluous commands nxos_vlan (#51796)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
(cherry picked from commit 88df4e22d3)
pull/54918/head
Trishna Guha 7 years ago committed by Toshio Kuratomi
parent 0ca658e562
commit 34cf510d77

@ -212,10 +212,6 @@ def map_obj_to_commands(updates, module):
if state == 'absent':
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))
elif state == 'present':

Loading…
Cancel
Save