aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/nfn-agent
AgeCommit message (Collapse)AuthorFilesLines
2020-09-17adding the sfc featuresKuralamudhan Ramakrishnan1-5/+5
- 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
2020-09-17Route based chainingRitu Sood1-0/+29
1) Adding controller for route based chaining 2) nfn agent code to insert route in container namespace 3) Calculate routes based on the Chaining Routes Based on the Ritu(ovn4nfv-k8s-plugin committer) patches Co-authored-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I6757f269a5df7d98d650f273468c6ccbcc055d3e
2020-09-17Adding node interface, SNAT and OVN Node switch portKuralamudhan Ramakrishnan1-15/+39
- Adding nfn proto for node interface MAC and IP address - Adding node switch ports in NFN Operator - Adding grpc client in nfn agent to get mac and IP address for node interface - Adding feature to create Node interface with OVS internal port - Make sure pod controller requeue the pod request for empty node field in pod spec - Unique node interface name using SHA and maintain 15 charactor for OVS switch port - Adding SNAT for default interface in each node - Adding iptables modules for SNAT rules Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I6cfa36e45007e796eb651345f9f0751329defcf7
2020-09-17Adding cnishim and cniserverKuralamudhan Ramakrishnan1-0/+23
- inspired from ovn-kubernetes and sdn openshift - cniserver & cnishim concepts - removed cni binary to depend on the host ovs binary installation - encapsulated all the binaries within the ovn and ovs containers - ovn4nfv-k8s cni server run along with nfn-agent - cnishim act as the httpclient and cniserver as httpservers - cnishim wrap all the cni commands to cniserver - cniserver do the actual network pumping work and send result back to cnishim - cnishim print the results as per the cni spec requirement - currently supports only debian installation for ovn daemon - support for debian kernel installation - Consolidated all yaml into single ovn4nfv-k8s-plugin Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I1e2b114d90f717baa2ee94ff379c849d73b2754e
2020-03-26adding direct provider networkKuralamudhan Ramakrishnan1-69/+162
- update nfn.proto - update direct provider network crd and apis - modified nfn-agent to include the direct provider network - modified nfnNotify server to include the direct provider network Change-Id: I9c2d4cc62178088c8908c50c2b734772ed7f99f4 Co-authored-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
2019-11-20nfn agent for configuring nodesRitu Sood1-0/+212
nfn-agent runs on all nodes in cluster and on starting subscribes for notifications from gRPC server and waits for message to configure provider network by adding vlan interface and ovs-bridge on the node Change-Id: Ibec7d0fda28db7b444900e13c705d15cf012aa48 Signed-off-by: Ritu Sood <ritu.sood@intel.com>