Debian Codegraph @

ntc_templates/templates/hp_procurve_show_trunks.textfsm

raw
1 Value Required LOCAL_PORT (\S+)
2 Value INT_NAME (.*?)
3 Value INT_TYPE (.*?)
4 Value TRUNK (\S+)
5 Value TRUNK_TYPE (\S+)
6
7 Start
8 ^\s*Load\sBalancing\sMethod.*$$
9 ^\s+Port\s+|\s+Name\s+Type\s+|\s+Group\s+Type.*$$
10 ^\s+-+\s+\+\s+\-+.* -> TRUNKS
11 ^\s*$$
12 ^. -> Error
13
14 TRUNKS
15 ^\s+${LOCAL_PORT}\s+\|\s${INT_NAME}\s+ ${INT_TYPE}\s+ \|\s${TRUNK}\s+${TRUNK_TYPE}.*$$ -> Record
16 ^\S+\#\s*$$
17 ^\s*$$
18 ^. -> Error