Skip to content

Commit 7a9ac2d

Browse files
committed
Modify override testcase to cover PORT admin_status
1 parent 288c2d8 commit 7a9ac2d

File tree

1 file changed

+45
-3
lines changed

1 file changed

+45
-3
lines changed

tests/config_override_input/full_config_override.json

+45-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
},
3131
"PORT": {
3232
"Ethernet4": {
33-
"admin_status": "up",
3433
"alias": "fortyGigE0/4",
3534
"description": "Servers0:eth0",
3635
"index": "1",
@@ -41,7 +40,6 @@
4140
"tpid": "0x8100"
4241
},
4342
"Ethernet8": {
44-
"admin_status": "up",
4543
"alias": "fortyGigE0/8",
4644
"description": "Servers1:eth0",
4745
"index": "2",
@@ -73,6 +71,28 @@
7371
}
7472
},
7573
"PORT": {
74+
"Ethernet4": {
75+
"admin_status": "up",
76+
"alias": "fortyGigE0/4",
77+
"description": "Servers0:eth0",
78+
"index": "1",
79+
"lanes": "29,30,31,32",
80+
"mtu": "9100",
81+
"pfc_asym": "off",
82+
"speed": "40000",
83+
"tpid": "0x8100"
84+
},
85+
"Ethernet8": {
86+
"admin_status": "down",
87+
"alias": "fortyGigE0/8",
88+
"description": "Servers1:eth0",
89+
"index": "2",
90+
"lanes": "33,34,35,36",
91+
"mtu": "9100",
92+
"pfc_asym": "off",
93+
"speed": "40000",
94+
"tpid": "0x8100"
95+
},
7696
"Ethernet12": {
7797
"admin_status": "up",
7898
"alias": "fortyGigE0/12",
@@ -106,6 +126,28 @@
106126
}
107127
},
108128
"PORT": {
129+
"Ethernet4": {
130+
"admin_status": "up",
131+
"alias": "fortyGigE0/4",
132+
"description": "Servers0:eth0",
133+
"index": "1",
134+
"lanes": "29,30,31,32",
135+
"mtu": "9100",
136+
"pfc_asym": "off",
137+
"speed": "40000",
138+
"tpid": "0x8100"
139+
},
140+
"Ethernet8": {
141+
"admin_status": "down",
142+
"alias": "fortyGigE0/8",
143+
"description": "Servers1:eth0",
144+
"index": "2",
145+
"lanes": "33,34,35,36",
146+
"mtu": "9100",
147+
"pfc_asym": "off",
148+
"speed": "40000",
149+
"tpid": "0x8100"
150+
},
109151
"Ethernet12": {
110152
"admin_status": "up",
111153
"alias": "fortyGigE0/12",
@@ -119,4 +161,4 @@
119161
}
120162
}
121163
}
122-
}
164+
}

0 commit comments

Comments
 (0)