You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Value VLAN_ID (\d+)
Value NAME (\S+)
Value STATUS (\S+)
Start
^\d+\s+enet\s+CE
^${VLAN_ID}\s+${NAME}\s+${STATUS} -> Record
SAMPLE COMMAND OUTPUT
'\nVLAN Name Status Ports\n---- -------------------------------- --------- -------------------------------\n1 default active Po1, Eth1/53, Eth1/54\n\nVLAN Type Vlan-mode\n---- ----- ----------\n1 enet CE \n\nRemote SPAN VLANs\n-------------------------------------------------------------------------------\n\nPrimary Secondary Type Ports\n------- --------- --------------- -------------------------------------------\n\n\n\n'
SUMMARY
show vlan on nxos is not listing interfaces when parsed with platform cisco_nxos. platform cisco_ios appears to work as expected
STEPS TO REPRODUCE
>>> vlans = '\nVLAN Name Status Ports\n---- -------------------------------- --------- -------------------------------\n1 default active Po1, Eth1/53, Eth1/54\n\nVLAN Type Vlan-mode\n---- ----- ----------\n1 enet CE \n\nRemote SPAN VLANs\n-------------------------------------------------------------------------------\n\nPrimary Secondary Type Ports\n------- --------- --------------- -------------------------------------------\n\n\n\n'
>>> parse_output(platform="cisco_nxos", command="show vlan", data=vlans)
[{'vlan_id': '1', 'name': 'default', 'status': 'active'}]
EXPECTED RESULTS
I expected to get the same results when using platform cisco_ios.
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
show vlan on nxos is not listing interfaces when parsed with platform cisco_nxos. platform cisco_ios appears to work as expected
STEPS TO REPRODUCE
EXPECTED RESULTS
I expected to get the same results when using platform cisco_ios.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: