Removes superfluous commands nxos_vlan (#51796)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2019-02-08 11:10:45 +05:30 committed by GitHub
parent 7fa5694975
commit 88df4e22d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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