File tree Expand file tree Collapse file tree
tests/alcatel_sros/show_port_description Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Value DESCRIPTION (.+)
44Start
55 ^=+\s*$$
66 ^\s*$$
7- ^Port\s+Descriptions\s+on\s+Slot \s+\S+\s*$$
7+ ^Port\s+Descriptions\s+on\s\S+ \s+\S+\s*$$
88 ^Port\s+Id\s+Description\s*$$
99 ^${PORT_ID}\s+${DESCRIPTION}\s*$$ -> Record
1010 ^-+\s*$$
Original file line number Diff line number Diff line change @@ -33,3 +33,12 @@ Port Id Description
3333-------------------------------------------------------------------------------
3434A/1 10/100 Ethernet TX
3535===============================================================================
36+
37+ ===============================================================================
38+ Port Descriptions on Satellite esat-3
39+ ===============================================================================
40+ Port Id Description
41+ -------------------------------------------------------------------------------
42+ esat-3/1/21 TNET_RAN_TEST9999
43+ ===============================================================================
44+
Original file line number Diff line number Diff line change @@ -46,3 +46,5 @@ parsed_sample:
4646 port_id : " 1/5/2"
4747 - description : " 10/100 Ethernet TX"
4848 port_id : " A/1"
49+ - description : " TNET_RAN_TEST9999"
50+ port_id : " esat-3/1/21"
You can’t perform that action at this time.
0 commit comments