CRD: interfaceRequest -> interface (v1 spec conformance)

Change the Network Attachment Selection Annotation long-form
interface name request JSON key from 'interfaceRequest' to
'interface' to conform with the V1 NPWG spec.
This commit is contained in:
Dan Williams
2018-11-08 09:15:38 -06:00
committed by Tomofumi Hayashi
parent 9f00ea47f5
commit 5ef87bfd71
4 changed files with 5 additions and 5 deletions

View File

@@ -247,7 +247,7 @@ var _ = Describe("multus operations", func() {
It("executes delegates with interface name and MAC addr", func() {
podNet := `[{"name":"net1",
"interfaceRequest": "test1"},
"interface": "test1"},
{"name":"net2",
"mac": "c2:11:22:33:44:66"}
]`