ntc-templates
ntc-templates copied to clipboard
Add support to Cisco IOS for 'show vlan group'
Add support for "show vlan group" on cisco IOS
Please let me know if there is a better way to handle vlan output like this in textfsm
vlan group MULTI_VLAN_TEST_2 : 761-763, 197, 116, 118
- vlan_group_name: "MULTI_VLAN_TEST_2"
vlan_ids: "761-763, 197, 116, 118"
Please let me know if there is a better way to handle vlan output like this in textfsm
vlan group MULTI_VLAN_TEST_2 : 761-763, 997, 1160, 1180- vlan_group_name: "MULTI_VLAN_TEST_2" vlan_ids: "761-763, 197, 200, 208"
Since those VLAN IDs are all on one line, the string capture as you have it is probably the simplest route.
If they were on different lines we could have had the chance to use List, but that's not the case here.
Everything all set for this one @jmcgill298 / @mjbear ?