File tree Expand file tree Collapse file tree 3 files changed +12
-1
lines changed
tests/alcatel_sros/show_port_description Expand file tree Collapse file tree 3 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ Value DESCRIPTION (.+)
4
4
Start
5
5
^=+\s*$$
6
6
^\s*$$
7
- ^Port\s+Descriptions\s+on\s+Slot \s+\S+\s*$$
7
+ ^Port\s+Descriptions\s+on\s\S+ \s+\S+\s*$$
8
8
^Port\s+Id\s+Description\s*$$
9
9
^${PORT_ID}\s+${DESCRIPTION}\s*$$ -> Record
10
10
^-+\s*$$
Original file line number Diff line number Diff line change @@ -33,3 +33,12 @@ Port Id Description
33
33
-------------------------------------------------------------------------------
34
34
A/1 10/100 Ethernet TX
35
35
===============================================================================
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:
46
46
port_id : " 1/5/2"
47
47
- description : " 10/100 Ethernet TX"
48
48
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