Debian Codegraph @

ntc_templates/templates/cisco_wlc_ssh_show_mobility_anchor.textfsm

raw
1 Value WLAN_ID (\d+)
2 Value IPADDR (\S+)
3 Value STATUS (\S+)
4 Value PRIORITY ([1-3])
5
6 Start
7 ^\s*WLAN ID\s+IP Address\s+Status\s+Priority\s*$$ -> Mobility_Anchor
8
9 Mobility_Anchor
10 # WLAN Mobility Anchor List
11 ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS}\s+${PRIORITY} -> Record
12 #
13 # also handling the similar Guest LAN (GLAN) output
14 ^\s+${WLAN_ID}\s+${IPADDR}\s+${STATUS} -> Record
15 #
16 ^\s*GLAN ID\s+IP Address\s+Status\s*$$
17 ^\s+[-\s]+$$
18 ^\s*$$
19 ^. -> Error