aboutsummaryrefslogtreecommitdiffstats
path: root/internal/pkg/ovn
AgeCommit message (Collapse)AuthorFilesLines
2020-09-17Adding cnishim and cniserverKuralamudhan Ramakrishnan1-1/+1
- 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-09-17adding primary network featuresKuralamudhan Ramakrishnan4-254/+133
- adding docker build bugfixes - Removing the dependence on Multus - ovn4nfv-k8s CNI will be default or cluster networking - ovn4nfv-k8s creates ovn overlay mutli-networking using pod annotations itself - remove the outdated unit test Based on the Ritu(ovn4nfv-k8s-plugin committer) patches Change-Id: Ic48bd11d746e6339075fb3ba33f12463bb3f218d Co-authored-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I9702bbd2d4aa23157052258ef6b363bc7b472a63
2019-12-26Set vlan interface upRitu Sood1-0/+5
Change-Id: I5b9467755b1a996febfa25dbcac14d9786ab58a8 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-11-20Update OVN utils to add provider network supportRitu Sood4-41/+284
Currently provider networks support only VLAN based networks. Added functions for VLAN and ovs bridge. Change-Id: I63ac7266aac92021ee3a44f49644a8a79ce4fed6 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-08-29Add check for annotation presenceRitu Sood1-5/+0
If annotation is found on pod then pod is already processed, stop processing. This is different from "Failed to add ports" error. Change-Id: I101df641c150e007146bc1aeda9c5b372be329ca Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-08-16Add CRD Controller for NetworkRitu Sood3-31/+133
Add CRD controller functionality for Network creation and deletion. Related generated code is uploaded in patch: https://gerrit.opnfv.org/gerrit/#/c/ovn4nfv-k8s-plugin/+/68324/ Change-Id: Ibd3e652edc56aa1084f684438597e1b978977bbf Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-08-15Use controller runtime and operator sdkRitu Sood4-309/+246
Changing the framework to use controller runtime and operator sdk. This allows to add CRD controllers for Network, Provider Network etc in the same operator. Binary renamed to nfn-operator (Network funtion networking). Change-Id: Ic25a3c3f5f1418fc0614f3aede48b41d9c1156cd Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-07-30Consolidate OVN related code under ovn dirRitu Sood6-401/+469
This patch is a cleanup patch and doesn't introduce any fuctionality changes. Includes removing of unused code and rearranging code. Change-Id: Idf4a36e09a6d5c200cf191c995184076ffa0326d Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-06-07Fix for format issuesRitu Sood1-4/+4
No code change made. Only corrected the formatting of some files. Change-Id: I1ccb4a0fddcc65bd7d3f93312c5417e7830fed5a Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-03-07Fix unit test failureRitu Sood1-4/+1
Updating unit test for matching the changes in another patches Change-Id: I1a6d7ecf00261a4a7b7514b45456f6ac17993d2e Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-03-07Merge "Code cleanup"Trinath Somanchi1-5/+0
2019-03-07Merge "Fixed missing external-ids"Trinath Somanchi1-1/+5
2019-03-05Add support for Provider network interfaceRitu Sood2-18/+109
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>
2019-02-27Fixed missing external-idsRitu Sood1-1/+5
Adding external-ids in static IP address port creation to match dynamic address port creation. Used to delete port etc. Change-Id: Ied6b1ae5091559ba4a593e34dd72cfaa067f44ab Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2019-02-17Code cleanupRitu Sood1-5/+0
Remove unused options & function parameters from config Change-Id: Id4342cc149e6f8c3c83b6116bc38a893b28f25a4 Signed-off-by: Ritu Sood <ritu.sood@intel.com>
2018-11-20Seed code for the PluginRitu Sood6-0/+593
The code includes ovn4nfvk8s Plugin & CNI. It implements multiple OVN interfaces for Pods and assumes Multus (or similar CNI) calls its CNI not as first CNI. Change-Id: I524c1d18752eb6dbc8d34addd3b60d5bbaa06ff4 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2018-11-03Initial check-inRitu Sood1-0/+0
Adding readme.rst and empty directory structure for the project Change-Id: I483caca5b14481b970a0716bd74c11ef5b3f2158 Signed-off-by: Ritu Sood <ritu.sood@intel.com>