Update eos_vlan.py (#41852)

changing show command to work for both transport methods
This commit is contained in:
Dave Thelen 2018-06-28 03:49:43 -04:00 committed by Ganesh Nalawade
parent bd9b8b422d
commit fa2366079a

View file

@ -213,7 +213,7 @@ def map_obj_to_commands(updates, module):
def map_config_to_obj(module):
objs = []
vlans = run_commands(module, ['show vlan conf | json'])
vlans = run_commands(module, ['show vlan configured-ports | json'])
for vlan in vlans[0]['vlans']:
obj = {}