Debian Codegraph @

ntc_templates/templates/brocade_netiron_show_metro.textfsm

raw
1 Value ringid (\d+)
2 Value Required vlantype (\w+)
3 Value ringname ([a-zA-Z0-9\-\"\ ]+)
4 Value ringstate (enabled|disabled)
5 Value ringrole (member|master)
6 Value mastervlan (\d+)
7 Value topogroup (\d+|not conf)
8 Value hellotime (\d+)
9 Value prefwingtime (\d+)
10 Value port1interface ([0-9\/]+)
11 Value port1role (primary|secondary)
12 Value port1state (\w+)
13 Value port1inttype (\w+)
14 Value port2interface ([0-9\/]+)
15 Value port2role (primary|secondary)
16 Value port2state (\w+)
17 Value port2inttype (\w+)
18 Value rhpssent (\d+)
19 Value rhpsrecvd (\d+)
20 Value tcrbpdusrecvd (\d+)
21 Value statechanges (\d+)
22
23 Start
24 ^Metro Ring ${ringid} - VLAN Type ${vlantype} -> Continue
25 ^Metro Ring ${ringid} - VLAN Type ${vlantype} - ${ringname}
26 ^\d+\s+${ringstate}\s+${ringrole}\s+${mastervlan}\s+${topogroup}\s+${hellotime}\s+${prefwingtime}
27 ^${rhpssent}\s+${rhpsrecvd}\s+${tcrbpdusrecvd}\s+${statechanges} -> Record
28 ^ethernet\s+${port1interface}\s+${port1role}\s+${port1state}\s+${port1inttype} -> PORT2
29
30 PORT2
31 ^ethernet\s+${port2interface}\s+${port2role}\s+${port2state}\s+${port2inttype} -> Start