Skip to content

Commit 8238168

Browse files
committed
hp_procurve_show_interfaces_status: add fixtures for Down-port row shapes with selective column population
1 parent 9180e96 commit 8238168

4 files changed

Lines changed: 296 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Port Name Status Config-mode Speed Type Tagged Untagged
2+
-------- ---------- ------- ------------- -------- ---------- ------ --------
3+
1/1 SW-05-0... Up Auto 1000FDx 100/1000T multi 60
4+
1/2 SW-05-0... Up Auto 1000FDx 100/1000T multi 60
5+
1/10 AP-01-0... Up Auto 1000FDx 100/1000T No 2
6+
1/16 aa:bb:c... Up Auto 1000FDx 100/1000T No 2
7+
1/20 Down Auto 1000FDx 100/1000T No 2
8+
1/25 AP-02-0... Up Auto 100FDx 100/1000T No 2
9+
1/27 Up Auto 1000FDx 100/1000T No 2
10+
1/49 Up Auto 10GigFD 10GbE-GEN No No
11+
1/50 Up Auto 10GigFD 10GbE-GEN No No
12+
1/51-... SW-07-0... Up Auto 10GigFD 10GbE-GEN multi 1
13+
1/52 Link to... Down No 1
14+
2/4 SW-05-0... Up 100FDx 100FDx 100/1000T multi 60
15+
2/14 Link to... Up Auto 10HDx 100/1000T No 10
16+
2/15 Down Auto 1000FDx 100/1000T No 2
17+
2/27 Up Auto 1000FDx 100/1000T No 10
18+
2/49 Up Auto 10GigFD 10GbE-GEN No No
19+
2/52 Down No 1
Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
---
2+
parsed_sample:
3+
- config_mode: "Auto"
4+
name: "SW-05-0..."
5+
port: "1/1"
6+
speed: "1000FDx"
7+
status: "Up"
8+
type: "100/1000T"
9+
vlan_tagged: "multi"
10+
vlan_untagged: "60"
11+
- config_mode: "Auto"
12+
name: "SW-05-0..."
13+
port: "1/2"
14+
speed: "1000FDx"
15+
status: "Up"
16+
type: "100/1000T"
17+
vlan_tagged: "multi"
18+
vlan_untagged: "60"
19+
- config_mode: "Auto"
20+
name: "AP-01-0..."
21+
port: "1/10"
22+
speed: "1000FDx"
23+
status: "Up"
24+
type: "100/1000T"
25+
vlan_tagged: "No"
26+
vlan_untagged: "2"
27+
- config_mode: "Auto"
28+
name: "aa:bb:c..."
29+
port: "1/16"
30+
speed: "1000FDx"
31+
status: "Up"
32+
type: "100/1000T"
33+
vlan_tagged: "No"
34+
vlan_untagged: "2"
35+
- config_mode: "Auto"
36+
name: ""
37+
port: "1/20"
38+
speed: "1000FDx"
39+
status: "Down"
40+
type: "100/1000T"
41+
vlan_tagged: "No"
42+
vlan_untagged: "2"
43+
- config_mode: "Auto"
44+
name: "AP-02-0..."
45+
port: "1/25"
46+
speed: "100FDx"
47+
status: "Up"
48+
type: "100/1000T"
49+
vlan_tagged: "No"
50+
vlan_untagged: "2"
51+
- config_mode: "Auto"
52+
name: ""
53+
port: "1/27"
54+
speed: "1000FDx"
55+
status: "Up"
56+
type: "100/1000T"
57+
vlan_tagged: "No"
58+
vlan_untagged: "2"
59+
- config_mode: "Auto"
60+
name: ""
61+
port: "1/49"
62+
speed: "10GigFD"
63+
status: "Up"
64+
type: "10GbE-GEN"
65+
vlan_tagged: "No"
66+
vlan_untagged: "No"
67+
- config_mode: "Auto"
68+
name: ""
69+
port: "1/50"
70+
speed: "10GigFD"
71+
status: "Up"
72+
type: "10GbE-GEN"
73+
vlan_tagged: "No"
74+
vlan_untagged: "No"
75+
- config_mode: "Auto"
76+
name: "SW-07-0..."
77+
port: "1/51-..."
78+
speed: "10GigFD"
79+
status: "Up"
80+
type: "10GbE-GEN"
81+
vlan_tagged: "multi"
82+
vlan_untagged: "1"
83+
- config_mode: ""
84+
name: "Link to..."
85+
port: "1/52"
86+
speed: ""
87+
status: "Down"
88+
type: ""
89+
vlan_tagged: "No"
90+
vlan_untagged: "1"
91+
- config_mode: "100FDx"
92+
name: "SW-05-0..."
93+
port: "2/4"
94+
speed: "100FDx"
95+
status: "Up"
96+
type: "100/1000T"
97+
vlan_tagged: "multi"
98+
vlan_untagged: "60"
99+
- config_mode: "Auto"
100+
name: "Link to..."
101+
port: "2/14"
102+
speed: "10HDx"
103+
status: "Up"
104+
type: "100/1000T"
105+
vlan_tagged: "No"
106+
vlan_untagged: "10"
107+
- config_mode: "Auto"
108+
name: ""
109+
port: "2/15"
110+
speed: "1000FDx"
111+
status: "Down"
112+
type: "100/1000T"
113+
vlan_tagged: "No"
114+
vlan_untagged: "2"
115+
- config_mode: "Auto"
116+
name: ""
117+
port: "2/27"
118+
speed: "1000FDx"
119+
status: "Up"
120+
type: "100/1000T"
121+
vlan_tagged: "No"
122+
vlan_untagged: "10"
123+
- config_mode: "Auto"
124+
name: ""
125+
port: "2/49"
126+
speed: "10GigFD"
127+
status: "Up"
128+
type: "10GbE-GEN"
129+
vlan_tagged: "No"
130+
vlan_untagged: "No"
131+
- config_mode: ""
132+
name: ""
133+
port: "2/52"
134+
speed: ""
135+
status: "Down"
136+
type: ""
137+
vlan_tagged: "No"
138+
vlan_untagged: "1"
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Port Name Status Config-mode Speed Type Tagged Untagged
2+
-------- ---------- ------- ------------- -------- ---------- ------ --------
3+
A1 Up Auto 1000FDx 100/1000T No 10
4+
A3 Down Auto 1000FDx 100/1000T No 4010
5+
A5 Up Auto 10FDx 100/1000T No 10
6+
A9 AP-001 Up Auto 1000FDx 100/1000T No 2
7+
A10 AP-002-... Up Auto 1000FDx 100/1000T No 2
8+
A17 Down Auto 1000FDx 100/1000T No 4010
9+
A21 Down No 1
10+
A24-Trk1 SW-09-0... Up Auto 10GigFD 10GbE-GEN multi No
11+
C1 AP-003 Up 100FDx 100FDx 100/1000T No 2
12+
C20 AP-004-... Down Auto 1000FDx 100/1000T No 4010
13+
D1 Down Auto No 10
14+
D2 Down Auto No 10
15+
D5 Down Auto No 10
16+
D17 Down Auto No 10
17+
D24 Down Auto No 10
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
1+
---
2+
parsed_sample:
3+
- config_mode: "Auto"
4+
name: ""
5+
port: "A1"
6+
speed: "1000FDx"
7+
status: "Up"
8+
type: "100/1000T"
9+
vlan_tagged: "No"
10+
vlan_untagged: "10"
11+
- config_mode: "Auto"
12+
name: ""
13+
port: "A3"
14+
speed: "1000FDx"
15+
status: "Down"
16+
type: "100/1000T"
17+
vlan_tagged: "No"
18+
vlan_untagged: "4010"
19+
- config_mode: "Auto"
20+
name: ""
21+
port: "A5"
22+
speed: "10FDx"
23+
status: "Up"
24+
type: "100/1000T"
25+
vlan_tagged: "No"
26+
vlan_untagged: "10"
27+
- config_mode: "Auto"
28+
name: "AP-001"
29+
port: "A9"
30+
speed: "1000FDx"
31+
status: "Up"
32+
type: "100/1000T"
33+
vlan_tagged: "No"
34+
vlan_untagged: "2"
35+
- config_mode: "Auto"
36+
name: "AP-002-..."
37+
port: "A10"
38+
speed: "1000FDx"
39+
status: "Up"
40+
type: "100/1000T"
41+
vlan_tagged: "No"
42+
vlan_untagged: "2"
43+
- config_mode: "Auto"
44+
name: ""
45+
port: "A17"
46+
speed: "1000FDx"
47+
status: "Down"
48+
type: "100/1000T"
49+
vlan_tagged: "No"
50+
vlan_untagged: "4010"
51+
- config_mode: ""
52+
name: ""
53+
port: "A21"
54+
speed: ""
55+
status: "Down"
56+
type: ""
57+
vlan_tagged: "No"
58+
vlan_untagged: "1"
59+
- config_mode: "Auto"
60+
name: "SW-09-0..."
61+
port: "A24-Trk1"
62+
speed: "10GigFD"
63+
status: "Up"
64+
type: "10GbE-GEN"
65+
vlan_tagged: "multi"
66+
vlan_untagged: "No"
67+
- config_mode: "100FDx"
68+
name: "AP-003"
69+
port: "C1"
70+
speed: "100FDx"
71+
status: "Up"
72+
type: "100/1000T"
73+
vlan_tagged: "No"
74+
vlan_untagged: "2"
75+
- config_mode: "Auto"
76+
name: "AP-004-..."
77+
port: "C20"
78+
speed: "1000FDx"
79+
status: "Down"
80+
type: "100/1000T"
81+
vlan_tagged: "No"
82+
vlan_untagged: "4010"
83+
- config_mode: "Auto"
84+
name: ""
85+
port: "D1"
86+
speed: ""
87+
status: "Down"
88+
type: ""
89+
vlan_tagged: "No"
90+
vlan_untagged: "10"
91+
- config_mode: "Auto"
92+
name: ""
93+
port: "D2"
94+
speed: ""
95+
status: "Down"
96+
type: ""
97+
vlan_tagged: "No"
98+
vlan_untagged: "10"
99+
- config_mode: "Auto"
100+
name: ""
101+
port: "D5"
102+
speed: ""
103+
status: "Down"
104+
type: ""
105+
vlan_tagged: "No"
106+
vlan_untagged: "10"
107+
- config_mode: "Auto"
108+
name: ""
109+
port: "D17"
110+
speed: ""
111+
status: "Down"
112+
type: ""
113+
vlan_tagged: "No"
114+
vlan_untagged: "10"
115+
- config_mode: "Auto"
116+
name: ""
117+
port: "D24"
118+
speed: ""
119+
status: "Down"
120+
type: ""
121+
vlan_tagged: "No"
122+
vlan_untagged: "10"

0 commit comments

Comments
 (0)