Debian Codegraph @

ntc_templates/templates/huawei_vrp_display_port_vlan.textfsm

raw
1 Value Required INTERFACE ([\w\.\/]+)
2 Value LINK_TYPE (trunk|access|auto|hybrid)
3 Value PVID (\d+)
4 Value List TRUNK_VLAN_LIST (\d+-\d+|\d+)
5
6
7 Start
8 ^\s*$$
9 ^[pPoOrRtT]{4}.*$$ -> VLANS
10
11 VLANS
12 ^[\w\.\/]+ -> Continue.Record
13 ^${INTERFACE}\s+${LINK_TYPE}\s+${PVID}\s+${TRUNK_VLAN_LIST}\s* -> Continue
14 ^[\w\.\/]+\s+(?:\S+\s+){3}${TRUNK_VLAN_LIST}\s* -> Continue
15 ^[\w\.\/]+\s+(?:\S+\s+){4}${TRUNK_VLAN_LIST}\s* -> Continue
16 ^[\w\.\/]+\s+(?:\S+\s+){5}${TRUNK_VLAN_LIST}\s* -> Continue
17 ^[\w\.\/]+\s+(?:\S+\s+){6}${TRUNK_VLAN_LIST}\s* -> Continue
18 ^[\w\.\/]+\s+(?:\S+\s+){7}${TRUNK_VLAN_LIST}\s* -> Continue
19 ^[\w\.\/]+\s+(?:\S+\s+){8}${TRUNK_VLAN_LIST}\s* -> Continue
20 ^[\w\.\/]+\s+(?:\S+\s+){9}${TRUNK_VLAN_LIST}\s* -> Continue
21 ^[\w\.\/]+\s+(?:\S+\s+){10}${TRUNK_VLAN_LIST}\s* -> Continue
22 ^[\w\.\/]+\s+(?:\S+\s+){11}${TRUNK_VLAN_LIST}\s* -> Continue
23 ^[\w\.\/]+\s+(?:\S+\s+){12}${TRUNK_VLAN_LIST}\s* -> Continue
24 ^[\w\.\/]+\s+(?:\S+\s+){13}${TRUNK_VLAN_LIST}\s* -> Continue
25 ^[\w\.\/]+\s+(?:\S+\s+){14}${TRUNK_VLAN_LIST}\s* -> Continue
26 ^[\w\.\/]+\s+(?:\S+\s+){15}${TRUNK_VLAN_LIST}\s* -> Continue
27 ^[\w\.\/]+\s+(?:\S+\s+){16}${TRUNK_VLAN_LIST}\s* -> Continue
28 ^[\w\.\/]+\s+(?:\S+\s+){17}${TRUNK_VLAN_LIST}\s* -> Continue
29 ^[\w\.\/]+\s+(?:\S+\s+){18}${TRUNK_VLAN_LIST}\s* -> Continue
30 ^[\w\.\/]+\s+(?:\S+\s+){19}${TRUNK_VLAN_LIST}\s* -> Continue
31 ^[\w\.\/]+\s+(?:\S+\s+){20}${TRUNK_VLAN_LIST}\s* -> Continue
32 ^[\w\.\/]+\s+(?:\S+\s+){21}${TRUNK_VLAN_LIST}\s* -> Continue
33 ^[\w\.\/]+\s+(?:\S+\s+){22}${TRUNK_VLAN_LIST}\s* -> Continue
34 ^[\w\.\/]+\s+(?:\S+\s+){23}${TRUNK_VLAN_LIST}\s* -> Continue
35 ^[\w\.\/]+\s+(?:\S+\s+){24}${TRUNK_VLAN_LIST}\s* -> Continue
36 ^[\w\.\/]+\s+(?:\S+\s+){25}${TRUNK_VLAN_LIST}\s* -> Continue
37 ^[\w\.\/]+\s+(?:\S+\s+){26}${TRUNK_VLAN_LIST}\s* -> Continue
38 ^[\w\.\/]+\s+(?:\S+\s+){27}${TRUNK_VLAN_LIST}\s* -> Continue
39 ^[\w\.\/]+\s+(?:\S+\s+){28}${TRUNK_VLAN_LIST}\s* -> Continue
40 ^[\w\.\/]+\s+(?:\S+\s+){29}${TRUNK_VLAN_LIST}\s* -> Continue
41 ^[\w\.\/]+\s+(?:\S+\s+){30}${TRUNK_VLAN_LIST}\s* -> Continue
42 ^[\w\.\/]+\s+(?:\S+\s+){31}${TRUNK_VLAN_LIST}\s* -> Continue
43 ^[\w\.\/]+\s+(?:\S+\s+){32}${TRUNK_VLAN_LIST}\s* -> Continue
44 ^[\w\.\/]+\s+(?:\S+\s+){33}${TRUNK_VLAN_LIST}\s* -> Continue
45 ^[\w\.\/]+\s+(?:\S+\s+){34}${TRUNK_VLAN_LIST}\s* -> Continue
46 ^[\w\.\/]+\s+(?:\S+\s+){35}${TRUNK_VLAN_LIST}\s* -> Continue
47 ^[\w\.\/]+\s+(?:\S+\s+){36}${TRUNK_VLAN_LIST}\s* -> Continue
48 ^[\w\.\/]+\s+(?:\S+\s+){37}${TRUNK_VLAN_LIST}\s* -> Continue
49 ^[\w\.\/]+\s+(?:\S+\s+){38}${TRUNK_VLAN_LIST}\s* -> Continue
50 ^[\w\.\/]+\s+(?:\S+\s+){39}${TRUNK_VLAN_LIST}\s* -> Continue
51 ^[\w\.\/]+\s+(?:\S+\s+){40}${TRUNK_VLAN_LIST}\s* -> Continue
52 ^[\w\.\/]+\s+(?:\S+\s+){41}${TRUNK_VLAN_LIST}\s* -> Continue
53 ^[\w\.\/]+\s+(?:\S+\s+){42}${TRUNK_VLAN_LIST}\s* -> Continue
54 ^[\w\.\/]+\s+(?:\S+\s+){43}${TRUNK_VLAN_LIST}\s* -> Continue
55 ^[\w\.\/]+\s+(?:\S+\s+){44}${TRUNK_VLAN_LIST}\s* -> Continue
56 ^[\w\.\/]+\s+(?:\S+\s+){45}${TRUNK_VLAN_LIST}\s* -> Continue
57 ^[\w\.\/]+\s+(?:\S+\s+){46}${TRUNK_VLAN_LIST}\s* -> Continue
58 ^[\w\.\/]+\s+(?:\S+\s+){47}${TRUNK_VLAN_LIST}\s* -> Continue
59 ^[\w\.\/]+\s+(?:\S+\s+){48}${TRUNK_VLAN_LIST}\s* -> Continue
60 ^[\w\.\/]+\s+(?:\S+\s+){49}${TRUNK_VLAN_LIST}\s* -> Continue
61 ^[\w\.\/]+\s+(?:\S+\s+){50}${TRUNK_VLAN_LIST}\s* -> Continue
62 ^[\w\.\/]+\s+(?:\S+\s+){51}${TRUNK_VLAN_LIST}\s* -> Continue
63 ^[\w\.\/]+\s+(?:\S+\s+){52}${TRUNK_VLAN_LIST}\s* -> Continue
64 ^[\w\.\/]+\s+(?:\S+\s+){53}${TRUNK_VLAN_LIST}\s* -> Continue
65 ^[\w\.\/]+\s+(?:\S+\s+){54}${TRUNK_VLAN_LIST}\s* -> Continue
66 ^[\w\.\/]+\s+(?:\S+\s+){55}${TRUNK_VLAN_LIST}\s* -> Continue
67 ^[\w\.\/]+\s+(?:\S+\s+){56}${TRUNK_VLAN_LIST}\s* -> Continue
68 ^[\w\.\/]+\s+(?:\S+\s+){57}${TRUNK_VLAN_LIST}\s* -> Continue
69 ^[\w\.\/]+\s+(?:\S+\s+){58}${TRUNK_VLAN_LIST}\s* -> Continue
70 ^[\w\.\/]+\s+(?:\S+\s+){59}${TRUNK_VLAN_LIST}\s* -> Continue
71 ^[\w\.\/]+\s+(?:\S+\s+){60}${TRUNK_VLAN_LIST}\s* -> Continue
72 ^\s+${TRUNK_VLAN_LIST}\s* -> Continue
73 ^\s+\S+\s+${TRUNK_VLAN_LIST}\s* -> Continue
74 ^\s+(?:\S+\s+){2}${TRUNK_VLAN_LIST}\s* -> Continue
75 ^\s+(?:\S+\s+){3}${TRUNK_VLAN_LIST}\s* -> Continue
76 ^\s+(?:\S+\s+){4}${TRUNK_VLAN_LIST}\s* -> Continue
77 ^\s+(?:\S+\s+){5}${TRUNK_VLAN_LIST}\s* -> Continue
78 ^\s+(?:\S+\s+){6}${TRUNK_VLAN_LIST}\s* -> Continue
79 ^\s+(?:\S+\s+){7}${TRUNK_VLAN_LIST}\s* -> Continue
80 ^\s+(?:\S+\s+){8}${TRUNK_VLAN_LIST}\s* -> Continue
81 ^\s+(?:\S+\s+){9}${TRUNK_VLAN_LIST}\s* -> Continue
82 ^\s+(?:\S+\s+){10}${TRUNK_VLAN_LIST}\s* -> Continue
83 ^\s+(?:\S+\s+){11}${TRUNK_VLAN_LIST}\s* -> Continue
84 ^\s+(?:\S+\s+){12}${TRUNK_VLAN_LIST}\s* -> Continue
85 ^\s+(?:\S+\s+){13}${TRUNK_VLAN_LIST}\s* -> Continue
86 ^\s+(?:\S+\s+){14}${TRUNK_VLAN_LIST}\s* -> Continue
87 ^\s+(?:\S+\s+){15}${TRUNK_VLAN_LIST}\s* -> Continue
88 ^\s+(?:\S+\s+){16}${TRUNK_VLAN_LIST}\s* -> Continue
89 ^\s+(?:\S+\s+){17}${TRUNK_VLAN_LIST}\s* -> Continue
90 ^\s+(?:\S+\s+){18}${TRUNK_VLAN_LIST}\s* -> Continue
91 ^\s+(?:\S+\s+){19}${TRUNK_VLAN_LIST}\s* -> Continue
92 ^\s+(?:\S+\s+){20}${TRUNK_VLAN_LIST}\s* -> Continue
93 ^\s+(?:\S+\s+){21}${TRUNK_VLAN_LIST}\s* -> Continue
94 ^\s+(?:\S+\s+){22}${TRUNK_VLAN_LIST}\s* -> Continue
95 ^\s+(?:\S+\s+){23}${TRUNK_VLAN_LIST}\s* -> Continue
96 ^\s+(?:\S+\s+){24}${TRUNK_VLAN_LIST}\s* -> Continue
97 ^\s+(?:\S+\s+){25}${TRUNK_VLAN_LIST}\s* -> Continue
98 ^\s+(?:\S+\s+){26}${TRUNK_VLAN_LIST}\s* -> Continue
99 ^\s+(?:\S+\s+){27}${TRUNK_VLAN_LIST}\s* -> Continue
100 ^\s+(?:\S+\s+){28}${TRUNK_VLAN_LIST}\s* -> Continue
101 ^\s+(?:\S+\s+){29}${TRUNK_VLAN_LIST}\s* -> Continue
102 ^\s+(?:\S+\s+){30}${TRUNK_VLAN_LIST}\s* -> Continue
103 ^\s+(?:\S+\s+){31}${TRUNK_VLAN_LIST}\s* -> Continue
104 ^\s+(?:\S+\s+){32}${TRUNK_VLAN_LIST}\s* -> Continue
105 ^\s+(?:\S+\s+){33}${TRUNK_VLAN_LIST}\s* -> Continue
106 ^\s+(?:\S+\s+){34}${TRUNK_VLAN_LIST}\s* -> Continue
107 ^\s+(?:\S+\s+){35}${TRUNK_VLAN_LIST}\s* -> Continue
108 ^\s+(?:\S+\s+){36}${TRUNK_VLAN_LIST}\s* -> Continue
109 ^\s+(?:\S+\s+){37}${TRUNK_VLAN_LIST}\s* -> Continue
110 ^\s+(?:\S+\s+){38}${TRUNK_VLAN_LIST}\s* -> Continue
111 ^\s+(?:\S+\s+){39}${TRUNK_VLAN_LIST}\s* -> Continue
112 ^\s+(?:\S+\s+){40}${TRUNK_VLAN_LIST}\s* -> Continue
113 ^\s+(?:\S+\s+){41}${TRUNK_VLAN_LIST}\s* -> Continue
114 ^\s+(?:\S+\s+){42}${TRUNK_VLAN_LIST}\s* -> Continue
115 ^\s+(?:\S+\s+){43}${TRUNK_VLAN_LIST}\s* -> Continue
116 ^\s+(?:\S+\s+){44}${TRUNK_VLAN_LIST}\s* -> Continue
117 ^\s+(?:\S+\s+){45}${TRUNK_VLAN_LIST}\s* -> Continue
118 ^\s+(?:\S+\s+){46}${TRUNK_VLAN_LIST}\s* -> Continue
119 ^\s+(?:\S+\s+){47}${TRUNK_VLAN_LIST}\s* -> Continue
120 ^\s+(?:\S+\s+){48}${TRUNK_VLAN_LIST}\s* -> Continue
121 ^\s+(?:\S+\s+){49}${TRUNK_VLAN_LIST}\s* -> Continue
122 ^\s+(?:\S+\s+){50}${TRUNK_VLAN_LIST}\s* -> Continue
123 ^\s+(?:\S+\s+){51}${TRUNK_VLAN_LIST}\s* -> Continue
124 ^\s+(?:\S+\s+){52}${TRUNK_VLAN_LIST}\s* -> Continue
125 ^\s+(?:\S+\s+){53}${TRUNK_VLAN_LIST}\s* -> Continue
126 ^\s+(?:\S+\s+){54}${TRUNK_VLAN_LIST}\s* -> Continue
127 ^\s+(?:\S+\s+){55}${TRUNK_VLAN_LIST}\s* -> Continue
128 ^\s+(?:\S+\s+){56}${TRUNK_VLAN_LIST}\s* -> Continue
129 ^\s+(?:\S+\s+){57}${TRUNK_VLAN_LIST}\s* -> Continue
130 ^\s+(?:\S+\s+){58}${TRUNK_VLAN_LIST}\s* -> Continue
131 ^\s+(?:\S+\s+){59}${TRUNK_VLAN_LIST}\s* -> Continue
132 ^\s+(?:\S+\s+){60}${TRUNK_VLAN_LIST}\s* -> Continue
133 ^${INTERFACE}\s+${LINK_TYPE}\s+${PVID}\s+-$$ -> Record
134 ^[\w\.\/]+
135 ^\s+
136 ^-+
137 ^.+ -> Error