diff options
author | Ritu Sood <ritu.sood@intel.com> | 2019-02-28 12:17:07 -0800 |
---|---|---|
committer | Ritu Sood <ritu.sood@intel.com> | 2019-03-05 00:22:55 -0800 |
commit | 3e1cc4ea68b531d934354f9ebeef15ca08913238 (patch) | |
tree | 130fc9c994f155947edea18c1e6b483f6d990216 /cmd | |
parent | 95d21eeecec4ea01078c62527faa0fe8c3f9c539 (diff) |
Add support for Provider network interface
To support provider networks added a new
netType "provider". Static IP address
required for provider network interface.
Change-Id: I40f508ead2eefc352b735c6d4773d20fa821769a
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go b/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go index 923363b..dda42ad 100644 --- a/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go +++ b/cmd/ovn4nfvk8s-cni/ovn4nfvk8s-cni.go @@ -128,7 +128,7 @@ func addMultipleInterfaces(args *skel.CmdArgs, ovnAnnotation, namespace, podName gatewayIP := ovnNet["gateway_ip"] defaultGateway := ovnNet["defaultGateway"] - if ipAddress == "" || macAddress == "" || gatewayIP == "" { + if ipAddress == "" || macAddress == "" { logrus.Errorf("failed in pod annotation key extract") return nil } |