adding gwipaddress features in network annotation 03/70703/5
authorKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Mon, 10 Aug 2020 04:38:57 +0000 (21:38 -0700)
committerKuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Fri, 18 Sep 2020 00:10:02 +0000 (17:10 -0700)
commit69b6bceec76caea07f95ba5cc372205c16e0e11b
tree06cbf79c6b62e934e68ddd62b07c727313ed4c39
parentc99d1522d6a52765cb8bb664149c705e33911f7d
adding gwipaddress features in network annotation

- check defautgateway is true only for one network
- first network with defautgateway is only configured, rest is ignored
- add node network and ovn4nfv0-* route info for eth0 interface

Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I078dee22627b2fa92e34b6cc4fa2ec7c8cd58220
cmd/ovn4nfvk8s-cni/app/helper_linux.go
go.mod
go.sum
internal/pkg/cniserver/cni.go
internal/pkg/network/iface.go
internal/pkg/ovn/ovn.go