diff options
author | Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> | 2020-08-04 14:33:21 -0700 |
---|---|---|
committer | Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> | 2020-09-17 17:10:02 -0700 |
commit | c99d1522d6a52765cb8bb664149c705e33911f7d (patch) | |
tree | 93a94c9dc9e8547ed2a9eaaa985edf672b4323bc /cmd | |
parent | 178b11bcf11accdf57f0d79509d80000fafbe05c (diff) |
adding the sfc features
- including the network/iface.go file
- adding the default gw features in pod network namespaces
- fixing insync message bug
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I9b595c5cae415cc594f7682f1ffdbdf6291ea909
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/nfn-agent/nfn-agent.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd/nfn-agent/nfn-agent.go b/cmd/nfn-agent/nfn-agent.go index 8e7ad78..33913d8 100644 --- a/cmd/nfn-agent/nfn-agent.go +++ b/cmd/nfn-agent/nfn-agent.go @@ -24,8 +24,8 @@ import ( "os/signal" cs "ovn4nfv-k8s-plugin/internal/pkg/cniserver" pb "ovn4nfv-k8s-plugin/internal/pkg/nfnNotify/proto" - chaining "ovn4nfv-k8s-plugin/internal/pkg/utils" "ovn4nfv-k8s-plugin/internal/pkg/ovn" + chaining "ovn4nfv-k8s-plugin/internal/pkg/utils" "strings" "syscall" "time" @@ -286,16 +286,16 @@ func handleNotif(msg *pb.Notification) { } case *pb.Notification_InSync: + inSyncVlanProvidernetwork() + inSyncDirectProvidernetwork() + pnCreateStore = nil + inSync = true if payload.InSync.GetNodeIntfIpAddress() != "" && payload.InSync.GetNodeIntfMacAddress() != "" { err := createNodeOVSInternalPort(payload) if err != nil { return } } - inSyncVlanProvidernetwork() - inSyncDirectProvidernetwork() - pnCreateStore = nil - inSync = true } // Add other Types here |