Debian Codegraph @

ntc_templates/templates/hp_comware_display_link-aggregation_verbose.textfsm

raw
1 Value Required INTERFACE (\S+)
2 Value CREATION_MODE (.+)
3 Value AGGREGATION_MODE (.+)
4 Value LOADSHARING (.+)
5 Value List LOCAL_INTERFACES (\S+)
6 Value List REMOTE_INTERFACES (\S+)
7
8 Start
9 ^Aggregat\S+\s+Interface:\s+${INTERFACE}
10 ^Creation\s+Mode:\s+${CREATION_MODE}
11 ^Aggregation\s+Mode:\s+${AGGREGATION_MODE}
12 ^Loadsharing\s+Type:\s+${LOADSHARING}
13 ^Local: -> LocalPorts
14 ^\s*$$ ^. -> Error
15
16 LocalPorts
17 ^\s+Port
18 ^\s*---
19 ^\s+${LOCAL_INTERFACES}\s+.*
20 # Start of remote block port
21 ^Remote: -> RemotePorts
22 ^. -> Error
23 ^\s*$$ ^. -> Error
24
25 RemotePorts
26 ^\s+Actor
27 ^\s*---
28 ^\s+${REMOTE_INTERFACES}\s+.*
29 # New item, restart from the beginning
30 ^Aggregat -> Continue.Record
31 ^Aggregat\S+\s+Interface:\s+${INTERFACE} -> Start
32 ^. -> Error
33 ^\s*$$ ^. -> Error