multicloud/k8s.git
3 years agoPostman Collection for EMCO API's 41/110141/1 frankfurt 6.0.0-ONAP
Ritu Sood [Tue, 14 Jul 2020 00:06:01 +0000 (17:06 -0700)]
Postman Collection for EMCO API's

Issue-ID: MULTICLOUD-1096

Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: Id0809648f1f6beb527a359f28a7ed0e704030257

3 years agoMerge "Update Baremetal Deployment README"
Ritu Sood [Wed, 8 Jul 2020 22:33:27 +0000 (22:33 +0000)]
Merge "Update Baremetal Deployment README"

3 years agoUpdate Baremetal Deployment README 53/109753/5
Larry Sachs [Wed, 1 Jul 2020 21:45:12 +0000 (14:45 -0700)]
Update Baremetal Deployment README

Updates the Baremetal README.md with info from
https://wiki.onap.org/display/DW/Kubernetes+Baremetal+deployment+setup+instructions

These scripts were tested on Ubuntu 18.04

Issue-ID: MULTICLOUD-1108
Change-Id: I16d41f3459deef16d156aa85a115aee57b78cf09
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
3 years agoAdd terminate support to orchestrator and ncm 08/109808/6
Eric Multanen [Thu, 2 Jul 2020 22:34:13 +0000 (15:34 -0700)]
Add terminate support to orchestrator and ncm

Complete the basic terminate support for the
orchestrator and ncm services.

1. When terminate REST API is invoked on a deployment
   intent group, call the uninstall grpc api to rsync
   and then remove the app context.

2. When terminate REST API is invoked on a cluster,
   add the uninstall grpc api call to rsync to remove
   the network resources from the clusters.

Issue-ID: MULTICLOUD-1040
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I181e891a8c7c973970af061f9ff07d80c3bb64f9

3 years agoAdds composite app status update and query 57/109757/14
Eric Multanen [Thu, 2 Jul 2020 06:30:49 +0000 (23:30 -0700)]
Adds composite app status update and query

This patch provides the basic framework for supporting
monitoring of composite application resources in clusters.

1. Updates to the monitor files for use with v2.
2. Invokes the Watcher process per cluster/app when the
   app is instantiated.
3. Adds a ResourceBundleState CR resource to the cluster/app
   so that monitor will be able to update status to it.
4. Watcher updates appropriate appcontext status object
   when updates are made in clusters by monitor
5. Update appcontext library to define a status handle
   and object at the app/cluster level
6. Labels resources with an appropriate tracking label
   to coordinate with the ResourceBundleState CR

Issue-ID: MULTICLOUD-1042
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: If007c1fd86ca7a65bb941d1776cfd2d3afed766b

3 years agoAdd watch functionality for Status CR 75/109475/4
Ritu Sood [Wed, 24 Jun 2020 05:41:32 +0000 (22:41 -0700)]
Add watch functionality for Status CR

Status CR gets updated when there is
status update for the resources scheduled
by Rsync. On change to status CR the watch
in the patch will be triggered and the
update can be handled.

Issue-ID: MULTICLOUD-1042
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I2a46654dca29c05586dbf1e009bec89b0fa75b67

3 years agoFix go.mod for monitor 25/109925/1
Larry Sachs [Tue, 7 Jul 2020 23:44:28 +0000 (16:44 -0700)]
Fix go.mod for monitor

Removed replace directives that were causing the local build to fail.

Issue-ID: MULTICLOUD-1101
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
Change-Id: Ie6604f98a342356af0e477613d5b3840352b6b38

3 years agoScript for M3Db deployment through orchestrator 28/109828/7
Rajamohan Raj [Sat, 4 Jul 2020 05:40:26 +0000 (05:40 +0000)]
Script for M3Db deployment through orchestrator

In this patch, the prometheus-collectd
deployment script through orchestrator is
enchanced to include M3Db deployment.

Issue-ID: MULTICLOUD-1114
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Idd085be16cce1e5ae00f6f70c8a265f8e74ffffa

3 years agoScript for M3DB operator deployment through orchestrator 10/109810/3
Rajamohan Raj [Thu, 2 Jul 2020 23:18:38 +0000 (23:18 +0000)]
Script for M3DB operator deployment through orchestrator

In this patch, wrote a script for auto deploy
of M3DB operator through the orchestrator.

Issue-ID: MULTICLOUD-1112
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Ia1951c5ef0de20e9b47f6ab5330dec8db5a1c46f

3 years agoScript for prometheus as composite app using orchestrator 54/109754/3
Rajamohan Raj [Thu, 2 Jul 2020 00:48:08 +0000 (00:48 +0000)]
Script for prometheus as composite app using orchestrator

In this patch, identified few issues with rsync
and came with a work around for handling list
as a kind.
Wrote a scipt which can deploy prometheus
as a composite app using orchestrator.

Issue-ID: MULTICLOUD-1110
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Ib7172c16a2f37dbc4715e59c5be217e154cd3be0

3 years agoUpdate MultiCloud committer info 36/109836/1
Bin Yang [Mon, 6 Jul 2020 05:27:03 +0000 (05:27 +0000)]
Update MultiCloud committer info

Change-Id: Iacb286298c9a1ab2b84ef0d09140cdf5f2cc9f9b
Issue-ID: MULTICLOUD-1115
Signed-off-by: Bin Yang <bin.yang@windriver.com>
3 years agoMerge "Fixing issues in OpenAPI document"
Ritu Sood [Tue, 30 Jun 2020 15:26:13 +0000 (15:26 +0000)]
Merge "Fixing issues in OpenAPI document"

3 years agoMerge "Fix Readme for running v2 API microservices"
Ritu Sood [Tue, 30 Jun 2020 15:08:55 +0000 (15:08 +0000)]
Merge "Fix Readme for running v2 API microservices"

3 years agoFix Readme for running v2 API microservices 66/109666/3
Larry Sachs [Mon, 29 Jun 2020 23:39:51 +0000 (16:39 -0700)]
Fix Readme for running v2 API microservices

Reformat deployments/kubernetes/Readme.md file in md style.

Issue-ID: MULTICLOUD-1105
Change-Id: Ie2190dec0ee8b0251bddf765b153fbccda2b912b
Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
3 years agoFixing issues in OpenAPI document 71/109671/1
Ritu Sood [Tue, 30 Jun 2020 03:05:35 +0000 (20:05 -0700)]
Fixing issues in OpenAPI document

Issue-ID: MULTICLOUD-1096

Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I949fead4770e7604322a4645aaa552c54048bd31

3 years agoAdd composite vFW demo 69/109469/3
Eric Multanen [Tue, 23 Jun 2020 19:39:26 +0000 (12:39 -0700)]
Add composite vFW demo

Add demonstration files and test scripts to show the vFW
use case as a composite application using network intents
and ovnaction intents to deploy to multiple clusters.

Issue-ID: MULTICLOUD-1095
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I74b837f9f97747f1eefffbcd105a6630a7b3a374

3 years agoRemove addons from the CI build 22/109622/4
Ritu Sood [Sat, 27 Jun 2020 01:22:42 +0000 (01:22 +0000)]
Remove addons from the CI build

Running into memory issues with
new addons. Experimental change
to address intermittent failures.

Issue-ID: MULTICLOUD-1093
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I96c1230f878ddc6c7bda34291a5b46a49bf7f481

3 years agoMerge "ONAP4K8s helm chart"
Ritu Sood [Sun, 28 Jun 2020 18:41:11 +0000 (18:41 +0000)]
Merge "ONAP4K8s helm chart"

3 years agoRemove config and yaml file creation 18/109618/2
Manjunath Ranganathaiah [Fri, 26 Jun 2020 22:22:13 +0000 (22:22 +0000)]
Remove config and yaml file creation

Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Issue-ID: MULTICLOUD-1005
Change-Id: Iaa8b70f38cf1fc1f89cf2d95fbe37c242fc44f65

3 years agoMerge "Update cFW instruction set"
Ritu Sood [Sun, 28 Jun 2020 03:06:50 +0000 (03:06 +0000)]
Merge "Update cFW instruction set"

3 years agoMerge "Change the error message for orchestrator startup"
Ritu Sood [Sun, 28 Jun 2020 03:04:49 +0000 (03:04 +0000)]
Merge "Change the error message for orchestrator startup"

3 years agoMerge "Update Go version"
Ritu Sood [Sun, 28 Jun 2020 03:04:33 +0000 (03:04 +0000)]
Merge "Update Go version"

3 years agoAdd instruction and rsync call to instantiate 68/109468/3
Eric Multanen [Tue, 23 Jun 2020 19:23:30 +0000 (12:23 -0700)]
Add instruction and rsync call to instantiate

This patch adds app and resource 'order' and 'dependency'
instructions to the appcontext, as these are currently
expected by rsync.

Adds the rsync client and call to rsync to instantiate the
appcontext.

Issue-ID: MULTICLOUD-1064
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: Iae0da9de4a0ae82bd3ab7ccc72da4abf8b7f2295

3 years agoMerge "Instantiation and termination of a given context implementation."
Ritu Sood [Fri, 26 Jun 2020 19:34:28 +0000 (19:34 +0000)]
Merge "Instantiation and termination of a given context implementation."

3 years agoMerge "Integrate M3DB and prometheus & enable remoteWrite"
Ritu Sood [Fri, 26 Jun 2020 19:29:26 +0000 (19:29 +0000)]
Merge "Integrate M3DB and prometheus & enable remoteWrite"

3 years agoUpdate Go version 85/109585/1
Larry Sachs [Thu, 25 Jun 2020 22:14:35 +0000 (18:14 -0400)]
Update Go version

Signed-off-by: Larry Sachs <larry.j.sachs@intel.com>
Change-Id: I9f8da809544d050b6da8dddc574f5d9fcb35eed2
Issue-ID: MULTICLOUD-1100

3 years agoMerge "Integrate collectd, prometheus and grafana."
Ritu Sood [Thu, 25 Jun 2020 19:43:36 +0000 (19:43 +0000)]
Merge "Integrate collectd, prometheus and grafana."

3 years agoChange the error message for orchestrator startup 82/109582/1
Rajamohan Raj [Thu, 25 Jun 2020 19:15:44 +0000 (19:15 +0000)]
Change the error message for orchestrator startup

In this patch, changed the error message for orchestrator
startup without the TLS.
Earlier the message was bit ambiguous.

Issue-ID: MULTICLOUD-1099
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Idbeefdf5b725f46a52b13ff76981e4dadbe5c86f

3 years agoInstantiation and termination of a given context implementation. 69/109369/8
Manjunath Ranganathaiah [Fri, 19 Jun 2020 17:54:58 +0000 (17:54 +0000)]
Instantiation and termination of a given context implementation.

Issue-ID: MULTICLOUD-1005
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Change-Id: I60e11aaad97b60efc24a02866dc0e580507e5296

3 years agoMerge "Update single-node KUD installation variables"
Ritu Sood [Wed, 24 Jun 2020 21:29:53 +0000 (21:29 +0000)]
Merge "Update single-node KUD installation variables"

3 years agoIntegrate M3DB and prometheus & enable remoteWrite 28/109528/1
Rajamohan Raj [Wed, 24 Jun 2020 18:42:17 +0000 (11:42 -0700)]
Integrate M3DB and prometheus & enable remoteWrite

In this patch, added the correct helm charts for
M3DB, M3DB operator,and verified by deploying them
on a 3-node k8s clusters. After deployment, we
enable the remote write from prometheus to M3DB.
So that M3Db can be used as a long term storage
solution for metrics collected by prometheus.

Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Issue-ID: MULTICLOUD-1098
Change-Id: I9ecba8c1341d71047685b10fc46676b1df2ee5f8

3 years agoIntegrate collectd, prometheus and grafana. 27/109327/2
Rajamohan Raj [Thu, 18 Jun 2020 21:55:42 +0000 (14:55 -0700)]
Integrate collectd, prometheus and grafana.

In this patch, made neccessary changes in collectd and prometheus
helm charts such that prometheus can pull data from collectd.
Prometheus GUI and Grafana GUI are verified as well.

Issue-ID: MULTICLOUD-1082
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I39b7e20f46aa789272be671056a76dd926701068

3 years agoFix ovnaction cnitype key value 67/109467/1
Eric Multanen [Tue, 23 Jun 2020 19:19:44 +0000 (12:19 -0700)]
Fix ovnaction cnitype key value

Fix the annotation key value for cnitype - should be 'type'
instead of 'cniType'.

Issue-ID: MULTICLOUD-1094
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I5b12049e9ed114dbc245c5fb219b5a735d8b7e2c

3 years agoUpdate single-node KUD installation variables 38/109438/1
Konrad Bańka [Tue, 23 Jun 2020 06:07:46 +0000 (08:07 +0200)]
Update single-node KUD installation variables

Single host installation requires some kubespray variables defined
differently from what is currently defined by default. All-in-one
installation script has been updated to provide these differences.
CI-building script has been updated and removed applying variables
there, as it's not specific just for CI, but for every single-node
installation.

Issue-ID: MULTICLOUD-1093
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Change-Id: I26c1835d87df41c087b8dfff9f52095083b6c160

3 years agoUpdate to fix inconsistent naming 76/109376/1
Ritu Sood [Fri, 19 Jun 2020 20:18:14 +0000 (13:18 -0700)]
Update to fix inconsistent naming

Dockerfile and Kunernetes resource files
use inconsistent names. This patch is to
fix inconsistent names.

Issue-ID: MULTICLOUD-1065
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: If7ea6d9ecf55196be5400ea5d2b4d3ce42f99b0f

3 years agoONAP4K8s helm chart 59/107159/5
Ritu Sood [Wed, 6 May 2020 03:54:16 +0000 (20:54 -0700)]
ONAP4K8s helm chart

ONAP4K8s helm chart with ONAP4K8s microservices
and related items like MongoDB, etcd, Fluentd.

Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-1065
Change-Id: Ibf52144b7ac44ffd96fa7175b551b10c25e652f9

3 years agoUpdate cFW instruction set 41/109241/2
Victor Morales [Wed, 17 Jun 2020 01:00:04 +0000 (18:00 -0700)]
Update cFW instruction set

The cFW example has been changed since 1.3.0 version. This commit
reduces the steps to setup and provision this CNF. Its main goal
is to simplify deployment process.

Issue-ID: MULTICLOUD-301
Change-Id: Id96ea4b427aff4c42ecfd43b42fa5d6970c4a6df
Signed-off-by: Victor Morales <v.morales@samsung.com>
3 years agoMerge "optimize size and time using "--no-cache-dir""
Ritu Sood [Wed, 17 Jun 2020 05:06:40 +0000 (05:06 +0000)]
Merge "optimize size and time using "--no-cache-dir""

3 years agoStatus operator to update status of resources 53/105453/2
Srivahni Chivukula [Wed, 8 Apr 2020 00:52:05 +0000 (17:52 -0700)]
Status operator to update status of resources

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

4 years agoMerge "Fix gRpc listen address"
Ritu Sood [Fri, 12 Jun 2020 00:45:41 +0000 (00:45 +0000)]
Merge "Fix gRpc listen address"

4 years agoMerge "Adding Kubernetes resources for v2 API"
Ritu Sood [Fri, 12 Jun 2020 00:45:32 +0000 (00:45 +0000)]
Merge "Adding Kubernetes resources for v2 API"

4 years agoMerge "Add Dockerfile for v2 Microservices"
Ritu Sood [Fri, 12 Jun 2020 00:45:26 +0000 (00:45 +0000)]
Merge "Add Dockerfile for v2 Microservices"

4 years agoFix gRpc listen address 02/108702/2
Ritu Sood [Tue, 2 Jun 2020 17:31:33 +0000 (10:31 -0700)]
Fix gRpc listen address

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

4 years agoAdding Kubernetes resources for v2 API 05/108705/4
Ritu Sood [Tue, 2 Jun 2020 18:41:57 +0000 (18:41 +0000)]
Adding Kubernetes resources for v2 API

Yaml file to start databases and
v2 microservices

Issue-ID: MULTICLOUD-1065
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I9ed4359fd972ef34e206e126e6f7a5131bd6929d

4 years agoAdd Dockerfile for v2 Microservices 64/107164/6
Ritu Sood [Wed, 6 May 2020 04:22:59 +0000 (21:22 -0700)]
Add Dockerfile for v2 Microservices

Dockerfile for building and running
microservices.

Issue-ID: MULTICLOUD-1065
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I95242d074b1ad1fa446727d849478b041e2f9829

4 years agoMake GRPC calls and delete extra cluster handles 72/108872/1
Rajamohan Raj [Sun, 7 Jun 2020 22:42:04 +0000 (22:42 +0000)]
Make GRPC calls and delete extra cluster handles

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

4 years agooptimize size and time using "--no-cache-dir" 61/108861/1
Pratik Raj [Sat, 6 Jun 2020 16:16:26 +0000 (21:46 +0530)]
optimize size and time using "--no-cache-dir"

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

4 years agoImplement Priority Based Controller list 53/108753/5
Rajamohan Raj [Wed, 3 Jun 2020 20:57:11 +0000 (20:57 +0000)]
Implement Priority Based Controller list

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

4 years agoAdd grpc contextupdate client call to orchestrator 49/106149/20
Eric Multanen [Thu, 23 Apr 2020 19:55:38 +0000 (12:55 -0700)]
Add grpc contextupdate client call to orchestrator

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

4 years agoMove cluster management into its own microservice 45/108545/13
Eric Multanen [Wed, 27 May 2020 18:21:42 +0000 (11:21 -0700)]
Move cluster management into its own microservice

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

4 years agoMerge "Add UninstallApp call to grpc"
Ritu Sood [Wed, 3 Jun 2020 17:41:30 +0000 (17:41 +0000)]
Merge "Add UninstallApp call to grpc"

4 years agoAdd UninstallApp call to grpc 08/108708/2
Manjunath Ranganathaiah [Tue, 2 Jun 2020 21:05:42 +0000 (21:05 +0000)]
Add UninstallApp call to grpc

Issue-ID: MULTICLOUD-1005
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Change-Id: I90c8ff0d548690ea19d325612d1bcd3e5049dc36

4 years agoReorganize ncm packages to align with architecture 47/108147/6
Eric Multanen [Fri, 29 May 2020 00:25:30 +0000 (17:25 -0700)]
Reorganize ncm packages to align with architecture

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

4 years agoCreate OVN network action controller from ncm 15/108115/4
Eric Multanen [Fri, 29 May 2020 00:07:20 +0000 (17:07 -0700)]
Create OVN network action controller from ncm

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

4 years agoAdding cluster meta data and saving in etcd 88/108288/7
Rajamohan Raj [Tue, 26 May 2020 20:08:58 +0000 (20:08 +0000)]
Adding cluster meta data and saving in etcd

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

4 years agoMerge "Update the Kubernetes Version to 1.16"
Huang Haibin [Mon, 1 Jun 2020 02:12:39 +0000 (02:12 +0000)]
Merge "Update the Kubernetes Version to 1.16"

4 years agoMerge "Add support for pmem-csi plugin and e2e test"
Huang Haibin [Mon, 1 Jun 2020 02:12:13 +0000 (02:12 +0000)]
Merge "Add support for pmem-csi plugin and e2e test"

4 years agoAdd support for pmem-csi plugin and e2e test 76/107676/34
Chen, Tingjie [Mon, 25 May 2020 06:26:26 +0000 (14:26 +0800)]
Add support for pmem-csi plugin and e2e test

Issue-ID: MULTICLOUD-1046
Change-Id: I1853e071a99702c5e6f7ba9ca819746576fd0aca
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
4 years agoFix Network and ProviderNetwork yaml formatting 00/107900/5
Eric Multanen [Tue, 19 May 2020 16:44:44 +0000 (09:44 -0700)]
Fix Network and ProviderNetwork yaml formatting

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

4 years agoAdd appcontext instructions during intent apply 99/107899/5
Eric Multanen [Fri, 15 May 2020 14:09:16 +0000 (07:09 -0700)]
Add appcontext instructions during intent apply

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

4 years agoAdd grpc client to resource synchronizer to ncm 88/107588/8
Eric Multanen [Tue, 12 May 2020 21:33:07 +0000 (14:33 -0700)]
Add grpc client to resource synchronizer to ncm

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

4 years agofixup rsync go.mod file 49/108349/3
Eric Multanen [Wed, 27 May 2020 20:15:28 +0000 (13:15 -0700)]
fixup rsync go.mod file

Issue-ID: MULTICLOUD-1005
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I5dd7f9d0ef1862acaf3d987381a5970de488707e

4 years agoUpdate go.mod files of services to use local code 59/108359/4
Eric Multanen [Wed, 27 May 2020 23:20:17 +0000 (16:20 -0700)]
Update go.mod files of services to use local code

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

4 years agoBug fix for the qat device plugin deployment 70/109670/1
Kuralamudhan Ramakrishnan [Thu, 28 May 2020 05:40:20 +0000 (22:40 -0700)]
Bug fix for the qat device plugin deployment

Issue-ID: MULTICLOUD-1075

Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I0b02a3872b525a061bbdaf87aabad8b3fee539cc

3 years agoMerge "OpenAPI definition for API's"
Bin Yang [Tue, 30 Jun 2020 00:15:19 +0000 (00:15 +0000)]
Merge "OpenAPI definition for API's"

3 years agoOpenAPI definition for API's 73/109473/2
Ritu Sood [Tue, 23 Jun 2020 21:04:57 +0000 (14:04 -0700)]
OpenAPI definition for API's

Creates openAPI document for
K8s v2 API's.

Issue-ID: MULTICLOUD-1096
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: Id9210ae5604d1f8080f890723785cc9d05a99aea

4 years agoMerge "InstallApp Grpc proto and server for rsync"
Ritu Sood [Wed, 27 May 2020 17:52:04 +0000 (17:52 +0000)]
Merge "InstallApp Grpc proto and server for rsync"

4 years agoUpdate the Kubernetes Version to 1.16 69/106869/44
Yao Le [Thu, 30 Apr 2020 14:40:20 +0000 (22:40 +0800)]
Update the Kubernetes Version to 1.16

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

4 years agoFix the Multus Baremetal containerization testing 93/108293/1
r.kuralamudhan [Tue, 26 May 2020 22:18:20 +0000 (15:18 -0700)]
Fix the Multus Baremetal containerization testing

- 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

4 years agoBug fix for the ImagePullBackOff error in qat test 83/108283/2
Kuralamudhan Ramakrishnan [Tue, 26 May 2020 18:14:14 +0000 (18:14 +0000)]
Bug fix for the ImagePullBackOff error in qat test

Issue-ID: MULTICLOUD-1076
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I2b6bfb265ce5e055987788f6f28fc475a8b5b46c

4 years agoAdding Multus test in vagrant and containerization installer 15/108215/1
Kuralamudhan Ramakrishnan [Tue, 26 May 2020 01:32:44 +0000 (01:32 +0000)]
Adding Multus test in vagrant and containerization installer

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

4 years agoUpdating multus, SRIOV and nfd test cases 85/103985/11
marvinYu [Thu, 19 Mar 2020 14:16:30 +0000 (22:16 +0800)]
Updating multus, SRIOV and nfd test cases

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

4 years agosriov baremetal installation fix 78/108178/1
Kuralamudhan Ramakrishnan [Mon, 25 May 2020 00:12:20 +0000 (00:12 +0000)]
sriov baremetal installation fix

Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Issue-ID: MULTICLOUD-1074
Change-Id: I5c497aef954945c4baee10ff5613b220ed9b8152

4 years agoInstallApp Grpc proto and server for rsync 97/107497/10
Manjunath Ranganathaiah [Mon, 11 May 2020 20:03:43 +0000 (20:03 +0000)]
InstallApp Grpc proto and server for rsync

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

4 years agoMerge "Change NCM for upstream change in orchestrator"
Ritu Sood [Thu, 21 May 2020 19:00:55 +0000 (19:00 +0000)]
Merge "Change NCM for upstream change in orchestrator"

4 years agoMerge "Update scripts for ovn4nfv in multicloud-k8s"
Ritu Sood [Thu, 21 May 2020 04:29:53 +0000 (04:29 +0000)]
Merge "Update scripts for ovn4nfv in multicloud-k8s"

4 years agoChange NCM for upstream change in orchestrator 24/107924/7
Rajamohan Raj [Tue, 19 May 2020 21:51:37 +0000 (21:51 +0000)]
Change NCM for upstream change in orchestrator

Issue-ID: MULTICLOUD-1064
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: Ie4a914adbb20f6227dcba9c380a9d416f5274ad3

4 years agoUpdate docker version in containerization soltuion 20/108020/1
r.kuralamudhan [Thu, 21 May 2020 03:31:32 +0000 (20:31 -0700)]
Update docker version in containerization soltuion

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

4 years agoUpdate scripts for ovn4nfv in multicloud-k8s 93/107593/4
Ruoyu [Wed, 13 May 2020 02:27:17 +0000 (10:27 +0800)]
Update scripts for ovn4nfv in multicloud-k8s

* 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>
4 years agoChanging the value type to interface 22/107922/3
Rajamohan Raj [Tue, 19 May 2020 21:36:58 +0000 (21:36 +0000)]
Changing the value type to interface

Issue-ID: MULTICLOUD-1064
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I50c1fc3ea0110d4d65d53201c62314ea6c74631b

4 years agoUpdate docker version 17/108017/1
Ritu Sood [Wed, 20 May 2020 22:22:41 +0000 (15:22 -0700)]
Update docker version

Change docker version to fix kubespray issue

Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-1073
Change-Id: I79571677f81efbb12a963b7527d918eddaf8db1f

4 years agoAdding meta data for app in appContext 05/107505/12
Rajamohan Raj [Mon, 11 May 2020 22:09:18 +0000 (22:09 +0000)]
Adding meta data for app in appContext

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

4 years agoremove the outdated SDWAN testing 20/107720/1
r.kuralamudhan [Fri, 15 May 2020 06:04:44 +0000 (23:04 -0700)]
remove the outdated SDWAN testing

Issue-ID: MULTICLOUD-1071
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: Ia3818ee16393d8e8b2d465d354ce777192baca9e

4 years agoMerge "Create appContext and save to etcd"
Ritu Sood [Thu, 14 May 2020 00:05:49 +0000 (00:05 +0000)]
Merge "Create appContext and save to etcd"

4 years agoAdd gRPC servers to ncm service 48/106148/10
Eric Multanen [Thu, 23 Apr 2020 19:48:55 +0000 (12:48 -0700)]
Add gRPC servers to ncm service

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

4 years agoMove controller module into separate package 87/107587/1
Eric Multanen [Tue, 12 May 2020 21:28:33 +0000 (14:28 -0700)]
Move controller module into separate package

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

4 years agoadd an ncm test script 04/107504/2
Eric Multanen [Mon, 11 May 2020 21:29:27 +0000 (14:29 -0700)]
add an ncm test script

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

4 years agoCreate appContext and save to etcd 79/107079/5
Rajamohan Raj [Thu, 30 Apr 2020 23:07:15 +0000 (23:07 +0000)]
Create appContext and save to etcd

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

4 years agoFixing README.md for containerization installation 34/107434/1
Kuralamudhan Ramakrishnan [Mon, 11 May 2020 06:44:12 +0000 (06:44 +0000)]
Fixing README.md for containerization installation

Issue-ID: MULTICLOUD-1068
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I8ced72f4d9f13b9cb2305fc3778cdd65e933d778

4 years agoIntegrate Openness EAA 25/104825/10
ChenjieXu [Wed, 1 Apr 2020 05:26:54 +0000 (13:26 +0800)]
Integrate Openness EAA

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

4 years agoMerge "add cmk in KuD"
Ritu Sood [Wed, 6 May 2020 23:17:45 +0000 (23:17 +0000)]
Merge "add cmk in KuD"

4 years agoAdd k8splugin releases file for 0.6.0 15/106015/5
Eric Multanen [Thu, 9 Apr 2020 17:38:13 +0000 (10:38 -0700)]
Add k8splugin releases file for 0.6.0

Add releases directory and container yaml file for 0.6.0

Issue-ID: MULTICLOUD-1052
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I722ba0d3b5bb57d6533208cd0f051e2d8619510a

4 years agoRevert "Update brokerhandler API to conform with /v1/ path pattern" 84/107184/2 0.6.0
Konrad Banka [Wed, 6 May 2020 05:16:13 +0000 (05:16 +0000)]
Revert "Update brokerhandler API to conform with /v1/ path pattern"

This reverts commit 4ae60c1b50750587ab9d3960617a47d7db57b311.

Reason for revert: Unable to reproduce bug, reverting fix implementation

Issue-ID: MULTICLOUD-1053
Change-Id: Icc12260f9c122c6e5ac038d07a0e6cd56201e3ba
Signed-off-by: Konrad Bańka <k.banka@samsung.com>
4 years agoadd cmk in KuD 11/102311/83
Liang Ding [Thu, 31 Oct 2019 06:47:35 +0000 (23:47 -0700)]
add cmk in KuD

- deploy cmk related pods
- untaint compute nodes if necessary
- run cmk unit tests: allocate CPUs from exclusive and shared pools
- deploy a testing nginx pod along with cmk testing pods
- preset 1/2 CPUs for shared/exlusive pools to fit CI server machines
  users can adjust the parameters to meet their own requirements

Test Results:
  - many rounds of vagrant/5 VMs(controller01/02/03 and compute01/02)
    based test are all OK
  - 14 rounds tests on my local server (S2600WFQ (36C/72T) )and
    PC(HP Z228 (4C/4T)) with all-in-one bare metal deployment are all OK
  - CI(a 4C/4T machine) results of latest patch set also show that the
    test of bare metal deployment is OK
  - NOTE: both my local test and CI use the same testing method of calling
          aio.sh after applying the latest patch set.

Change-Id: I046a4a63b94f92f23347ab76c21a661521e01119
Issue-ID: MULTICLOUD-879
Signed-off-by: Liang Ding <liang.ding@intel.com>
4 years agoDirectory structure, build and dockerfile for resource sync microservice 63/105963/2
Manjunath Ranganathaiah [Tue, 14 Apr 2020 21:23:12 +0000 (21:23 +0000)]
Directory structure, build and dockerfile for resource sync microservice

Issue-ID: MULTICLOUD-1005
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Change-Id: I22cbb8512d4ce0d5b9ce6d20a1b99e3e570db405

4 years agoMerge "Add gRPC framework to orchestrator"
Ritu Sood [Sat, 2 May 2020 00:35:32 +0000 (00:35 +0000)]
Merge "Add gRPC framework to orchestrator"

4 years agoMerge "Update ncm code for upstream changes"
Ritu Sood [Sat, 2 May 2020 00:06:42 +0000 (00:06 +0000)]
Merge "Update ncm code for upstream changes"

4 years agoUpdate ncm code for upstream changes 00/107000/2
Rajamohan Raj [Fri, 1 May 2020 22:45:00 +0000 (22:45 +0000)]
Update ncm code for upstream changes

The signature of two functions of upstream code
in orchestration is to be changed.
The new function signature for changes in appcontext.go:

AddResource(handle interface{}, resname string, value []byte)
UpdateResourceValue(handle interface{}, value []byte)
The above code shall be pushed in the next patch for
orchestration

Issue-ID: MULTICLOUD-1064
Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com>
Change-Id: I58db28e2e0ea27fba9b88839156a43517cdad1c9

4 years agoAdd gRPC framework to orchestrator 47/106147/6
Eric Multanen [Thu, 23 Apr 2020 19:46:35 +0000 (12:46 -0700)]
Add gRPC framework to orchestrator

Adds proto and generated go files for a healtcheck,
contextupdate and installapp rpc services.  Adds framework
for orchestrator as an rpc client to connect
to configured controllers.

Issue-ID: MULTICLOUD-1019
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: Ie66865789fe2146258c91e168cfb8d5933905814

4 years agoAdd API support for network chain intent 14/106714/3
Eric Multanen [Tue, 28 Apr 2020 00:33:25 +0000 (17:33 -0700)]
Add API support for network chain intent

Adds API for managing Network Chain intents for
composite applications.

Issue-ID: MULTICLOUD-1029
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: Ie3d4e8f1e3179397d86829d951e2bb877597b38d