Debian Codegraph @

ntc_templates/templates/hp_procurve_show_mac-address.textfsm

raw
1 Value MAC ([0-9a-fA-F]{6}-[0-9a-fA-F]{6})
2 Value PORT (\S+)
3 Value VLAN (\d+)
4
5 Start
6 ^\s*--- -> Start_record
7
8 Start_record
9 ^\s+${MAC}\s+${PORT}\s+${VLAN} -> Record
10 ^\s+${MAC}\s+${PORT} -> Record
11 ^\s*$$
12 ^. -> Error