top-level integration test coverage for ptp + bandwidth

This commit is contained in:
Gabe Rosenhouse
2018-02-28 08:59:04 -08:00
parent 90252c30fb
commit 2793dd11cb
5 changed files with 154 additions and 0 deletions

11
integration/testdata/basic-ptp.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
"cniVersion": "0.3.0",
"name": "basic-ptp",
"type": "ptp",
"ipMasq": true,
"mtu": 512,
"ipam": {
"type": "host-local",
"subnet": "10.1.2.0/24"
}
}

View File

@ -0,0 +1,22 @@
{
"cniVersion": "0.3.1",
"name": "chained-ptp-bandwidth",
"plugins": [
{
"type": "ptp",
"ipMasq": true,
"mtu": 512,
"ipam": {
"type": "host-local",
"subnet": "10.9.2.0/24"
}
},
{
"type": "bandwidth",
"ingressRate": 800,
"ingressBurst": 200,
"egressRate": 800,
"egressBurst": 200
}
]
}