Skip to content

Commit

Permalink
Modify override testcase to cover PORT admin_status
Browse files Browse the repository at this point in the history
  • Loading branch information
wen587 committed May 11, 2022
1 parent 288c2d8 commit 7a9ac2d
Showing 1 changed file with 45 additions and 3 deletions.
48 changes: 45 additions & 3 deletions tests/config_override_input/full_config_override.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
},
"PORT": {
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"description": "Servers0:eth0",
"index": "1",
Expand All @@ -41,7 +40,6 @@
"tpid": "0x8100"
},
"Ethernet8": {
"admin_status": "up",
"alias": "fortyGigE0/8",
"description": "Servers1:eth0",
"index": "2",
Expand Down Expand Up @@ -73,6 +71,28 @@
}
},
"PORT": {
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"description": "Servers0:eth0",
"index": "1",
"lanes": "29,30,31,32",
"mtu": "9100",
"pfc_asym": "off",
"speed": "40000",
"tpid": "0x8100"
},
"Ethernet8": {
"admin_status": "down",
"alias": "fortyGigE0/8",
"description": "Servers1:eth0",
"index": "2",
"lanes": "33,34,35,36",
"mtu": "9100",
"pfc_asym": "off",
"speed": "40000",
"tpid": "0x8100"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
Expand Down Expand Up @@ -106,6 +126,28 @@
}
},
"PORT": {
"Ethernet4": {
"admin_status": "up",
"alias": "fortyGigE0/4",
"description": "Servers0:eth0",
"index": "1",
"lanes": "29,30,31,32",
"mtu": "9100",
"pfc_asym": "off",
"speed": "40000",
"tpid": "0x8100"
},
"Ethernet8": {
"admin_status": "down",
"alias": "fortyGigE0/8",
"description": "Servers1:eth0",
"index": "2",
"lanes": "33,34,35,36",
"mtu": "9100",
"pfc_asym": "off",
"speed": "40000",
"tpid": "0x8100"
},
"Ethernet12": {
"admin_status": "up",
"alias": "fortyGigE0/12",
Expand All @@ -119,4 +161,4 @@
}
}
}
}
}

0 comments on commit 7a9ac2d

Please sign in to comment.