forked from github/multus-cni
Fix sr-iov support
Fix thick plugin daemonset to add volume mapping required for sr-iov and fix code to update network status. In addition, fix checkpoint structures to support K8s without kubelet pod resources API. fix #665 and #778
This commit is contained in:
@@ -45,10 +45,11 @@ var _ = BeforeSuite(func() {
|
||||
"PodUID": "970a395d-bb3b-11e8-89df-408d5c537d23",
|
||||
"ContainerName": "appcntr1",
|
||||
"ResourceName": "intel.com/sriov_net_A",
|
||||
"DeviceIDs": [
|
||||
"0000:03:02.3",
|
||||
"0000:03:02.0"
|
||||
],
|
||||
"DeviceIDs": {"-1": [
|
||||
"0000:03:02.3",
|
||||
"0000:03:02.0"
|
||||
]
|
||||
},
|
||||
"AllocResp": "CikKC3NyaW92X25ldF9BEhogMDAwMDowMzowMi4zIDAwMDA6MDM6MDIuMA=="
|
||||
}
|
||||
],
|
||||
@@ -143,10 +144,10 @@ var _ = Describe("Kubelet checkpoint data read operations", func() {
|
||||
"PodUID": "970a395d-bb3b-11e8-89df-408d5c537d23",
|
||||
"ContainerName": "appcntr1",
|
||||
"ResourceName": "intel.com/sriov_net_A",
|
||||
"DeviceIDs": [
|
||||
"DeviceIDs": { "-1": [
|
||||
"0000:03:02.3",
|
||||
"0000:03:02.0"
|
||||
],
|
||||
] },
|
||||
"AllocResp": "CikKC3NyaW92X25ldF9BEhogMDAwMDowMzowMi4zIDAwMDA6MDM6MDIuMA=="
|
||||
}
|
||||
],
|
||||
|
Reference in New Issue
Block a user