Removes superfluous commands nxos_vlan (#51796)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
pull/51934/head
Trishna Guha 6 years ago committed by GitHub
parent 7fa5694975
commit 88df4e22d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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