aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-06-17Merge "optimize size and time using "--no-cache-dir""Ritu Sood6-12/+12
2020-06-16Status operator to update status of resourcesSrivahni Chivukula26-26/+2170
This operator monitors the status of resources like pods, services, deployments, daemonsets, configmaps etc. and updates the status in the CR accordingly. Issue-ID: MULTICLOUD-1047 Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com> Change-Id: I7d92584a44c8add2df69f2985140a55b460ac037
2020-06-12Merge "Fix gRpc listen address"Ritu Sood2-4/+4
2020-06-12Merge "Adding Kubernetes resources for v2 API"Ritu Sood3-0/+450
2020-06-12Merge "Add Dockerfile for v2 Microservices"Ritu Sood3-0/+76
2020-06-10Fix gRpc listen addressRitu Sood2-4/+4
listen function doesn't work with ip address. Binding on all interfaces Issue-ID: MULTICLOUD-1019 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I57e1082d8823b349660e0fb207e29ccc9c91a762
2020-06-10Adding Kubernetes resources for v2 APIRitu Sood3-0/+450
Yaml file to start databases and v2 microservices Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I9ed4359fd972ef34e206e126e6f7a5131bd6929d
2020-06-10Add Dockerfile for v2 MicroservicesRitu Sood3-0/+76
Dockerfile for building and running microservices. Issue-ID: MULTICLOUD-1065 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I95242d074b1ad1fa446727d849478b041e2f9829
2020-06-07Make GRPC calls and delete extra cluster handlesRajamohan Raj2-0/+74
The patch makes grpc calls for context updation for a given list of controllers and deletes the extra set of cluster handles for each anyOf cluster after context updation Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I4b946f5f130300628ef4f655213639a2444be2cc
2020-06-06optimize size and time using "--no-cache-dir"Pratik Raj6-12/+12
Using "--no-cache-dir" flag in pip install ,make sure dowloaded packages by pip don't cached on system . This is a best practise which make sure to fetch ftom repo instead of using local cached one . Further , in case of Docker Containers , by restricing caching , we can reduce image size. In term of stats , it depends upon the number of python packages multiplied by their respective size . e.g for heavy packages with a lot of dependencies it reduce a lot by don't caching pip packages. Further , more detail information can be found at https://medium.com/sciforce/strategies-of-docker-images-optimization-2ca9cc5719b6 Issue-ID: MULTICLOUD-1080 Signed-off-by: Pratik Raj <rajpratik71@gmail.com> Change-Id: Ib79fae7e69eb669e39bc3eb52373668367460ba2
2020-06-05Implement Priority Based Controller listRajamohan Raj5-14/+310
As part of this patch, have implemented a priorityQueue based contoller list which shall contain placement contollers and action contollers listed based on their priority. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Id1beac6e3b6ec5156f64a169042d171ff28e38d6
2020-06-03Add grpc contextupdate client call to orchestratorEric Multanen13-99/+492
Adds a contextupdate client function that can be invoked for any action or placement controller to process intents for that controller. Adds the corresponding server side handling for the ovnaction controller. Issue-ID: MULTICLOUD-1019 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Ifdfc99e522288a530735bc4c1402d45449f6d057
2020-06-03Move cluster management into its own microserviceEric Multanen29-135/+2004
Split out the cluster provider and cluster APIs and packages into a separate microservice to align with the architecture. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I08f357b5a488004a2389b72a178ae33e101d1540
2020-06-03Merge "Add UninstallApp call to grpc"Ritu Sood2-0/+14
2020-06-02Add UninstallApp call to grpcManjunath Ranganathaiah2-0/+14
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I90c8ff0d548690ea19d325612d1bcd3e5049dc36
2020-06-02Reorganize ncm packages to align with architectureEric Multanen18-530/+815
Reorginize the ncm packges to delineate - cluster provider and cluster management - virtual and provider netowrk intent management - intent scheduler - internal ovn4k8s network controller Overall, no code changes, just moving things around. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I3d43c7e4eb6f285b51c0385ba18626d3511a14f5
2020-06-02Create OVN network action controller from ncmEric Multanen28-149/+1115
Split out part of ncm microservice to act as the Onv4k8s network action controller for the orchestrator. No code changes really - just moving around to fit the architectural plan. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I17292ac72d041050269f05fc4a0c2a6ca741aeb5
2020-06-01Adding cluster meta data and saving in etcdRajamohan Raj7-136/+432
As part of this patch, we assign groupNumbers for the set of clusters which are under anyOf, or in other words are optional for deployement of app. Also refactored the instantiation flow by separating out the etcd interactions Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I21ece189daf6e6b3a7cfdba5df22d57b3d33ca78
2020-06-01Merge "Update the Kubernetes Version to 1.16"Huang Haibin16-21/+144
2020-06-01Merge "Add support for pmem-csi plugin and e2e test"Huang Haibin11-2/+1165
2020-05-30Add support for pmem-csi plugin and e2e testChen, Tingjie11-2/+1165
Issue-ID: MULTICLOUD-1046 Change-Id: I1853e071a99702c5e6f7ba9ca819746576fd0aca Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
2020-05-28Fix Network and ProviderNetwork yaml formattingEric Multanen5-11/+11
Correct yaml format of Network and ProviderNetwork CRs produced by ncm so that they can be deployed in a cluster. Issue-ID: MULTICLOUD-1072 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I27e55c0c7428ccee6ddb720445e104054eefcee3
2020-05-28Add appcontext instructions during intent applyEric Multanen1-0/+34
Create AppContext instruction records at the app and resource levels when handling the apply api for network and providernetwork intents. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I3c82087273278b2503959664f0a8ee4e34eb0cd2
2020-05-28Add grpc client to resource synchronizer to ncmEric Multanen2-12/+84
Adds a grpc client to resource synchronizer to ncm to handle network and providernetwork. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I45646d66ab1ec79818d0942694f8238718c407b3
2020-05-28fixup rsync go.mod fileEric Multanen3-5/+5
Issue-ID: MULTICLOUD-1005 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5dd7f9d0ef1862acaf3d987381a5970de488707e
2020-05-28Update go.mod files of services to use local codeEric Multanen8-16/+548
Change go.mod files to replace usage of services in this repo with local code instead of upstream builds. Fix a couple resulting issues. Issue-ID: MULTICLOUD-1077 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I597c7bf98beac3fcee9e37699966cbe839335bf2
2020-05-27Merge "InstallApp Grpc proto and server for rsync"Ritu Sood7-4/+424
2020-05-27Update the Kubernetes Version to 1.16Yao Le16-21/+144
Update kubespray to 2.12 to deploy Kubernetes 1.16 Issue-ID: MULTICLOUD-1063 Signed-off-by: Yao Le <le.yao@intel.com> Change-Id: I537f6395e5d05d8b72411dd1e0789e19972f1947
2020-05-26Fix the Multus Baremetal containerization testingr.kuralamudhan1-1/+1
- interface name will be different in each Baremetal - Multus testing good for Vagrant and AIO testing only Issue-ID: MULTICLOUD-1037 Co-authored-by: yu marin <weifei.yu@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I50786f07f0dbd9aadffda69d02597c85e2675203
2020-05-26Bug fix for the ImagePullBackOff error in qat testKuralamudhan Ramakrishnan2-2/+2
Issue-ID: MULTICLOUD-1076 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I2b6bfb265ce5e055987788f6f28fc475a8b5b46c
2020-05-26Adding Multus test in vagrant and containerization installerKuralamudhan Ramakrishnan2-2/+2
Issue-ID: MULTICLOUD-1037 Co-authored-by: yu marin <weifei.yu@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: Id07394cc454b3660fb5f06982fea020e93b26039
2020-05-26Updating multus, SRIOV and nfd test casesmarvinYu7-52/+755
Updating some AddOn test cases and add README.md file. Issue-ID: MULTICLOUD-1037 Signed-off-by: marvinYu <weifei.yu@intel.com> Change-Id: Iee2c31207cf2cd37fb8119bceef286aa887079f9
2020-05-25sriov baremetal installation fixKuralamudhan Ramakrishnan2-5/+11
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Issue-ID: MULTICLOUD-1074 Change-Id: I5c497aef954945c4baee10ff5613b220ed9b8152
2020-05-21InstallApp Grpc proto and server for rsyncManjunath Ranganathaiah7-4/+424
Add the InstallApp GRPC proto file server code to the resource synchronizer. Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I8e586f1b878009fd4df53ef48aae6deded0f64ea
2020-05-21Merge "Change NCM for upstream change in orchestrator"Ritu Sood3-9/+2
2020-05-21Merge "Update scripts for ovn4nfv in multicloud-k8s"Ritu Sood1-12/+26
2020-05-20Change NCM for upstream change in orchestratorRajamohan Raj3-9/+2
Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ie4a914adbb20f6227dcba9c380a9d416f5274ad3
2020-05-20Update docker version in containerization soltuionr.kuralamudhan1-0/+2
Change docker version to fix kubespray issue in containerization soltuion Co-authored-by: Ritu Sood <ritu.sood@intel.com> Co-authored-by: Le yao <le.yao@intel.com> Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Issue-ID: MULTICLOUD-1073 Change-Id: Id575c64b1630127f1a06ce89ba5b89249d004956
2020-05-21Update scripts for ovn4nfv in multicloud-k8sRuoyu1-12/+26
* Update the image version to integratedcloudnative/ovn4nfv-k8s-plugin * Update the CRD of provider network to support direct provider network Issue-ID: MULTICLOUD-1070 Change-Id: Icfa321bbd354de47af4db65b2021c87facc26871 Signed-off-by: Ruoyu <ruoyu.ying@intel.com>
2020-05-20Changing the value type to interfaceRajamohan Raj1-2/+2
Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I50c1fc3ea0110d4d65d53201c62314ea6c74631b
2020-05-20Update docker versionRitu Sood1-0/+2
Change docker version to fix kubespray issue Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-1073 Change-Id: I79571677f81efbb12a963b7527d918eddaf8db1f
2020-05-15Adding meta data for app in appContextRajamohan Raj7-52/+163
In this patch, modified the appContext and rtc lib by adding functions for setting and getting the meta data associated with the apps. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I08f91ddda3044f172caf7b2673c069fed16c32c4
2020-05-14remove the outdated SDWAN testingr.kuralamudhan1-17/+0
Issue-ID: MULTICLOUD-1071 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: Ia3818ee16393d8e8b2d465d354ce777192baca9e
2020-05-14Merge "Create appContext and save to etcd"Ritu Sood8-49/+591
2020-05-13Add gRPC servers to ncm serviceEric Multanen4-1/+162
Add a contextupdate grpc server to the ncm service. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I38caa625c028baac06a6202f03b86d0f2bf38126
2020-05-12Move controller module into separate packageEric Multanen8-83/+109
Move the controller part of the module package into a separate controller package. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Id07c1012aeff8a72458b37d42671495510cade75
2020-05-12add an ncm test scriptEric Multanen1-0/+201
Add ncm test script to create, query, and delete a set of test ncm data. Issue-ID: MULTICLOUD-1069 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Icf97941ca1df8a5693c45597f115c1fba17df402
2020-05-12Create appContext and save to etcdRajamohan Raj8-49/+591
In this patch, following tasks are accomplished 1. Creation of appContext and storing the appcontexts for each app in the compositeApp into etcd as part of the instantiation process 2. Added a util method to extract parameters from k8s manifest files. 3. Added a new testing script to auto create NCM artifacts through the NCM APIs 4. Modified the existing plugin_collection_v2.sh to better test the orchestrator APIs. 5. Added logging to appcontext lib 6. Bug fix in the helm charts. Issue-ID: MULTICLOUD-1064 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: I1b0e4d1351ad3a083be529239748015ea5db2a41
2020-05-11Fixing README.md for containerization installationKuralamudhan Ramakrishnan2-4/+42
Issue-ID: MULTICLOUD-1068 Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com> Change-Id: I8ced72f4d9f13b9cb2305fc3778cdd65e933d778
2020-05-08Integrate Openness EAAChenjieXu19-2/+561
Openness EAA provides application/service registration and authentication. EAA is integrated by running EAA via ONAP4K8S. Issue-ID: MULTICLOUD-1044 Signed-off-by: ChenjieXu <chenjie.xu@intel.com> Change-Id: I66dffc5bcfc66675f6b62672e32496ec7f71454c