Debian Codegraph @

ntc_templates/templates/ruckus_fastiron_show_vlan.textfsm

raw
1 Value Filldown VLAN_ID (\d+)
2 Value Filldown NAME (\S+)
3 Value Required STATUS ((Untagged|Tagged))
4 Value STACK_ID (\d+)
5 Value SLOT (\d+)
6 Value Required PORT (\d+)
7 Value LAG (\S+)
8
9 Start
10 ^Total\sPORT-VLAN\sentries:\s\d+
11 ^Maximum\sPORT-VLAN\sentries:\s\d+
12 ^Legend:\s\[Stk=Stack-Id,\sS=Slot\]
13 ^PORT-VLAN\s${VLAN_ID},\sName\s${NAME},\sPriority\s+level\d+,\s(Off|On)\s*
14 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+${PORT} -> Continue.Record
15 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){1}${PORT} -> Continue.Record
16 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){2}${PORT} -> Continue.Record
17 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){3}${PORT} -> Continue.Record
18 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){4}${PORT} -> Continue.Record
19 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){5}${PORT} -> Continue.Record
20 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){6}${PORT} -> Continue.Record
21 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){7}${PORT} -> Continue.Record
22 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){8}${PORT} -> Continue.Record
23 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){9}${PORT} -> Continue.Record
24 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){10}${PORT} -> Continue.Record
25 ^\s+${STATUS}\s+Ports:\s+\(U${STACK_ID}\/M${SLOT}\)\s+(?:\d+\s+){11}${PORT} -> Continue.Record
26 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+${PORT} -> Continue.Record
27 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){1}${PORT} -> Continue.Record
28 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){2}${PORT} -> Continue.Record
29 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){3}${PORT} -> Continue.Record
30 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){4}${PORT} -> Continue.Record
31 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){5}${PORT} -> Continue.Record
32 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){6}${PORT} -> Continue.Record
33 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){7}${PORT} -> Continue.Record
34 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){8}${PORT} -> Continue.Record
35 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){9}${PORT} -> Continue.Record
36 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){10}${PORT} -> Continue.Record
37 ^\s+${STATUS}\s+Ports:\s+\(${LAG}\)\s+(?:\d+\s+){11}${PORT} -> Continue.Record
38 ^\s+(Untagged|Tagged)\s+Ports:\s+\(\S+\)\s+(?:\d+\s+)*\d+\s*$$
39 ^\s+(Untagged|Tagged)\s+Ports:\s+None
40 ^\s+Mac-Vlan\s+Ports:\s+
41 ^\s+Monitoring:\s+
42 ^\s*$$
43 ^.+ -> Error
44
45 Done
46 ^.*