Skip to content

Commit a2c1cfb

Browse files
committed
Revert port id regex and remove EOF
After reordering rules in previous commit: - port id regex doesn't need changed - EOF line is no longer needed
1 parent 6614360 commit a2c1cfb

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

ntc_templates/templates/alcatel_sros_show_port.textfsm

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Value PORT_ID ([^=]\S+)
1+
Value PORT_ID (\S+)
22
Value ADMIN_STATE (Up|Down)
33
Value LINK (Yes|No)
44
Value PORT_STATE (Up|Down|Ghost|Link Up)
@@ -22,5 +22,3 @@ Start
2222
^${PORT_ID}$$
2323
^\s+${ADMIN_STATE}\s+${LINK}\s+${PORT_STATE}\s+${CFG_MTU}\s+${OPER_MTU}\s+${LAG}\s+${PORT_MODE}\s+${PORT_ENCP}\s+${PORT_TYPE}\s*${C_QS_S_XFP_MDIMDX} -> Record
2424
^. -> Error
25-
26-
EOF

0 commit comments

Comments
 (0)