multicloud/k8s.git
4 years agoAdd update interface to run time context library 66/103766/1
Manjunath Ranganathaiah [Mon, 16 Mar 2020 20:27:26 +0000 (20:27 +0000)]
Add update interface to run time context library

Issue-ID: MULTICLOUD-1005
Change-Id: Ie6a8f5d83f56ea12107fdf81fe6819b1637b252a
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
4 years agoModified project api to use new mongodb methods 67/103567/3
Srivahni Chivukula [Wed, 11 Mar 2020 20:59:21 +0000 (13:59 -0700)]
Modified project api to use new mongodb methods

Issue-ID: MULTICLOUD-994
Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Change-Id: I8e7e17a1dab164c4ea7d50743b20f0e08958a957

4 years agoAdd apps under composite app API 76/102176/7
Srivahni Chivukula [Fri, 21 Feb 2020 18:08:04 +0000 (10:08 -0800)]
Add apps under composite app API

Implemented create, get and delete
handlers for the apps under composite
app.

Added unit tests

Added remove function to mockdb

Handled multipart POST request to
upload file along with app data.

Issue-ID: MULTICLOUD-998
Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Change-Id: I25c1faba1212c0cc881c2cd599e8e66a7b93033e

4 years agoAdded tests to Composite App API 31/102131/9
Srivahni Chivukula [Fri, 21 Feb 2020 00:23:58 +0000 (16:23 -0800)]
Added tests to Composite App API

Issue-ID: MULTICLOUD-994
Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Change-Id: I39f3dc28bca3ff7cefda006cb96eb86c2c069efe

4 years agoRun time context interface library 43/102643/9
Manjunath Ranganathaiah [Fri, 28 Feb 2020 23:19:24 +0000 (15:19 -0800)]
Run time context interface library

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

4 years agoAdd Delete and DeleteAll functionality to etcd 42/103542/1
Ritu Sood [Thu, 12 Mar 2020 01:05:13 +0000 (18:05 -0700)]
Add Delete and DeleteAll functionality to etcd

Currently only supports DeleteAll.

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

4 years agoHandle uncommon format of proper tar archive 05/103405/2
Konrad Bańka [Tue, 10 Mar 2020 05:43:44 +0000 (06:43 +0100)]
Handle uncommon format of proper tar archive

Provide proper handling of tar archives containing
"current directory", but stored in format:
```
.
file2.txt
dir1/
dir1/file1.txt
```
instead of typical:
```
./
./file2.txt
./dir1/
./dir1/file1.txt
```

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

4 years agoMerge "Adding QAT device plugin to KuD"
Ritu Sood [Mon, 9 Mar 2020 18:21:20 +0000 (18:21 +0000)]
Merge "Adding QAT device plugin to KuD"

4 years agoRemove not required file 10/103310/1
Ritu Sood [Sat, 7 Mar 2020 05:52:46 +0000 (21:52 -0800)]
Remove not required file

commands file is an example and is not needed

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

4 years agoMerge "Adding Remove function to Mongo"
Bin Yang [Fri, 6 Mar 2020 21:34:13 +0000 (21:34 +0000)]
Merge "Adding Remove function to Mongo"

4 years agoMerge "Change DB Name to accept variable"
Ritu Sood [Fri, 6 Mar 2020 19:38:38 +0000 (19:38 +0000)]
Merge "Change DB Name to accept variable"

4 years agoAdding Remove function to Mongo 76/103176/1
Ritu Sood [Fri, 6 Mar 2020 03:00:02 +0000 (19:00 -0800)]
Adding Remove function to Mongo

Adding remove function to remove
a document only if no child refrences
exist.

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

4 years agoAdd API support to handle App Profiles 01/102901/5
Eric Multanen [Thu, 20 Feb 2020 00:19:18 +0000 (16:19 -0800)]
Add API support to handle App Profiles

Add support for profiles per App under
composite profiles.  See:
https://wiki.onap.org/display/DW/V2+API+Specification#V2APISpecification-Addingprofileperapplication

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

4 years agoComposite Profile API and Handler 01/102101/8
Dileep Ranganathan [Thu, 20 Feb 2020 00:19:18 +0000 (16:19 -0800)]
Composite Profile API and Handler

Implemented Composite Profile API and handler,
adding create, get and delete handlers for the
composite profile.

Issue-ID: MULTICLOUD-997
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Change-Id: Iab105cf88ef4635038cd36e90f3251bc900b2faf

4 years agoChange DB Name to accept variable 91/102791/2
enyinna1234 [Mon, 2 Mar 2020 17:09:46 +0000 (09:09 -0800)]
Change DB Name to accept variable

This enables the initialization of the mongo database name with
a variable.

Issue-ID: MULTICLOUD-996
Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: Id3f07b47cedde16235ee7078e1e6f4d287106d29

4 years agoMerge "Updating AAI wit resource info : part4"
Ritu Sood [Thu, 5 Mar 2020 00:12:29 +0000 (00:12 +0000)]
Merge "Updating AAI wit resource info : part4"

4 years agoMerge "Updating AAI wit resource info : part3"
Ritu Sood [Thu, 5 Mar 2020 00:12:14 +0000 (00:12 +0000)]
Merge "Updating AAI wit resource info : part3"

4 years agoMerge "Updating AAI wit resource info : part2"
Ritu Sood [Thu, 5 Mar 2020 00:11:48 +0000 (00:11 +0000)]
Merge "Updating AAI wit resource info : part2"

4 years agoMerge "Updating AAI wit resource info : part1"
Ritu Sood [Thu, 5 Mar 2020 00:11:13 +0000 (00:11 +0000)]
Merge "Updating AAI wit resource info : part1"

4 years agoAdd DeploymentIntentGroup APIs 55/102355/6
Rajamohan Raj [Wed, 26 Feb 2020 02:07:34 +0000 (02:07 +0000)]
Add DeploymentIntentGroup APIs

Implemented the routes for creation,
deletion and getting DeploymentIntentGroup.

Added routes for adding, getting and deleting intents.

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

4 years agoUpdating AAI wit resource info : part4 38/102238/2
vamshi.nemalikonda [Mon, 24 Feb 2020 13:29:01 +0000 (13:29 +0000)]
Updating AAI wit resource info : part4

adding utils. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d3909f3378704
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Updating AAI wit resource info : part4

improvements for utils. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d3909f3378704
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
4 years agoUpdating AAI wit resource info : part1 32/102232/2
vamshi.nemalikonda [Mon, 24 Feb 2020 12:58:49 +0000 (12:58 +0000)]
Updating AAI wit resource info : part1

review comments implemented. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f3700107
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Updating AAI wit resource info : part1

improvements for controller. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f3700107
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
4 years agoUpdating AAI wit resource info : part2 34/102234/2
vamshi.nemalikonda [Mon, 24 Feb 2020 13:06:49 +0000 (13:06 +0000)]
Updating AAI wit resource info : part2

adding constants. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f3800808
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Updating AAI wit resource info : part2

review comments fixed for constants. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f3800808
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
4 years agoUpdating AAI wit resource info : part3 35/102235/2
vamshi.nemalikonda [Mon, 24 Feb 2020 13:21:37 +0000 (13:21 +0000)]
Updating AAI wit resource info : part3

adding api module. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f4700107
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
Updating AAI wit resource info : part3

review comments fixes. Issue-ID: MULTICLOUD-457

Change-Id: Icf97d13a6c683b8f09491491ed2d2709f4700107
Signed-off-by: vamshi.nemalikonda <vn00480215@techmahindra.com>
4 years agoImplemented AppIntents and GenPlaceIntents 66/102266/6
Rajamohan Raj [Mon, 24 Feb 2020 21:59:44 +0000 (21:59 +0000)]
Implemented AppIntents and GenPlaceIntents

Implemented the routes for creating,
getting, and deleting generic placement intents
and App intents.

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

4 years agoMerge "Updating Readme to reflect accurate setup instructions"
Ritu Sood [Sat, 29 Feb 2020 01:38:30 +0000 (01:38 +0000)]
Merge "Updating Readme to reflect accurate setup instructions"

4 years agoAdd v2 cluster registration api to k8s orchestrator 41/102441/4
Eric Multanen [Fri, 21 Feb 2020 06:41:34 +0000 (22:41 -0800)]
Add v2 cluster registration api to k8s orchestrator

Adds orchestrator API support for creating
cluster-providers, registering clusters and their
kubeconfig, adding labels to cluster and key value
paisr to clusters.
See: https://wiki.onap.org/display/DW/V2+API+Specification#V2APISpecification-ClusterRegistrationAPI

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

4 years agoRemove String function 05/102605/1
Ritu Sood [Fri, 28 Feb 2020 22:34:28 +0000 (14:34 -0800)]
Remove String function

Removing String from interface as this is
not required anymore

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

4 years agoMerge "Update MongoDb to add new methods"
Bin Yang [Fri, 28 Feb 2020 00:22:19 +0000 (00:22 +0000)]
Merge "Update MongoDb to add new methods"

4 years agoUpdate MongoDb to add new methods 76/102276/5
Ritu Sood [Tue, 25 Feb 2020 08:02:05 +0000 (00:02 -0800)]
Update MongoDb to add new methods

This patch adds new functions Insert, Find and
Delete. These functions embeds fields in documents
rather than storing as seprate documents.

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

4 years agoAdding QAT device plugin to KuD 79/97079/14
akhilakishore [Tue, 15 Oct 2019 03:57:25 +0000 (11:57 +0800)]
Adding QAT device plugin to KuD

Basic working skeleton. Adding install script
adding vars and updated the playbook. Working on Kernel
mode updates and driver installation. Removing SRIOV vars
Adding script to change the SSL value for 2 kinds of config files.
Updating daemonset image. Adding prereq packages for qat.
Minor edits for bashate.Adding testcase and conditions to
Ansible tasks for clean, uninstall and install the driver.
Updating the plays to use templating.
Adding qat-kernel mode test case.

Signed-off-by: akhilakishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-860
Change-Id: I5ad99e7211c859dc3cb054df644edd3fa77b2596

4 years agoUpdating Readme to reflect accurate setup instructions 34/100834/4
Akhila Kishore [Mon, 27 Jan 2020 20:15:03 +0000 (12:15 -0800)]
Updating Readme to reflect accurate setup instructions

Adding sudo to setup for VM based deployment.
Additionally adding the link to Vagrant
documentation for CLI.

Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-908
Change-Id: I1af5b1c4e201ad4363a8fae1004189e55c514261

4 years agoFix script for cFW with sriov netdevice 97/102397/1
Bin Yang [Wed, 26 Feb 2020 11:38:52 +0000 (19:38 +0800)]
Fix script for cFW with sriov netdevice

Change-Id: I3a32bdb17f613092494c80bb9262f6b40f2201fc
Issue-ID: MULTICLOUD-999
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoMerge "Add Controller Register API to Orchestrator"
Ritu Sood [Mon, 24 Feb 2020 23:39:28 +0000 (23:39 +0000)]
Merge "Add Controller Register API to Orchestrator"

4 years agoAdd nodeaffinity for cFW pods 93/102193/1
Bin Yang [Mon, 24 Feb 2020 04:42:24 +0000 (12:42 +0800)]
Add nodeaffinity for cFW pods

Change-Id: I31077bbaff99f7ffc2c13abd5899afd05cf560f9
Issue-ID: MULTICLOUD-999
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoAdd cnf for firewall with network of sriov 85/102185/3
Bin Yang [Sun, 23 Feb 2020 12:18:41 +0000 (20:18 +0800)]
Add cnf for firewall with network of sriov

sriov driver can be either netdevice or vfio
start scripts support netdevice only yet

Change-Id: Ifa1e9acc558387d38245bd99669225fbf5fb8d05
Issue-ID: MULTICLOUD-999
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoAdd helm chart for cFW CNF 77/102177/3
Bin Yang [Sat, 22 Feb 2020 05:20:45 +0000 (13:20 +0800)]
Add helm chart for cFW CNF

specific to networking backended by host netdevice

Change-Id: I26201b9d3e1c2434ba126fc497afffbaf58057a8
Issue-ID: MULTICLOUD-999
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoAdd Controller Register API to Orchestrator 66/101766/10
Marcus G K Williams [Fri, 14 Feb 2020 21:29:37 +0000 (13:29 -0800)]
Add Controller Register API to Orchestrator

Add API allows Controllers to register
themselves as gRPC servers consumed by
the orchestrator.

Issue-ID: MULTICLOUD-995
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: I75946a4af711bf2e9d65f354923db494da667e70

4 years agoMerge "KuD cleanup script."
Ritu Sood [Thu, 20 Feb 2020 23:11:51 +0000 (23:11 +0000)]
Merge "KuD cleanup script."

4 years agoKuD cleanup script. 68/100868/6
Akhila Kishore [Tue, 28 Jan 2020 18:25:44 +0000 (10:25 -0800)]
KuD cleanup script.

This script offers means to cleanup, Docker and
Ansible and their configurations.
Updated the script to use docker go templating as
opposed to regex for docker operations. Further
modified the script to include if/else for
docker operations for better code readability.

Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-981
Change-Id: Ia6484ebb039daf0b1cb8e698fa7bfa758eeaa568

4 years agoMerge "Add Composite Application API"
Ritu Sood [Thu, 20 Feb 2020 21:38:58 +0000 (21:38 +0000)]
Merge "Add Composite Application API"

4 years agoAdd Composite Application API 67/101767/5
Srivahni Chivukula [Fri, 14 Feb 2020 13:11:08 +0000 (05:11 -0800)]
Add Composite Application API

Implemented Composite application API and added create,
get and delete handlers for the composite applications.

Formatted Project related .go files

Issue-ID: MULTICLOUD-994
Signed-off-by: Srivahni Chivukula <srivahni.chivukula@intel.com>
Change-Id: I7cef1a2c75f8cb39f397dcbb3f5d7bb2a57b4a72

4 years agoProvide OverrideParameters capability for infra_workload API 55/100055/6
Konrad Bańka [Tue, 7 Jan 2020 14:34:20 +0000 (15:34 +0100)]
Provide OverrideParameters capability for infra_workload API

Provide parameters provided in sdnc, oof and user directives
as override parameters for instantiate call.

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

4 years agoMerge "Add docker dev scripts expose mongo port"
Ritu Sood [Wed, 19 Feb 2020 22:20:54 +0000 (22:20 +0000)]
Merge "Add docker dev scripts expose mongo port"

4 years agoMade changes to the Project API. 18/102018/3
Rajamohan Raj [Wed, 19 Feb 2020 19:35:38 +0000 (19:35 +0000)]
Made changes to the Project API.

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

4 years agoAdd docker dev scripts expose mongo port 15/102015/2
Marcus G K Williams [Wed, 19 Feb 2020 18:47:12 +0000 (10:47 -0800)]
Add docker dev scripts expose mongo port

Add docker file and scripts, modify
docker-compose.yml to allow for developement
using docker container. Expose mongo port
for developement purposes.

Issue-ID: MULTICLOUD-871
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: If17fac27247b3cee3ad2718b6d06ea188ea53733

4 years agoMerge changes I56fb4643,Ia1e9802a
Bin Yang [Sat, 15 Feb 2020 03:02:14 +0000 (03:02 +0000)]
Merge changes I56fb4643,Ia1e9802a

* changes:
  Add etcd support in infrastructure layer
  Restructure code and create module library

4 years agoMerge "Add scripts for development for v2"
Bin Yang [Sat, 15 Feb 2020 03:00:18 +0000 (03:00 +0000)]
Merge "Add scripts for development for v2"

4 years agoMerge "Fix OVN issue in KUD"
Bin Yang [Sat, 15 Feb 2020 02:59:16 +0000 (02:59 +0000)]
Merge "Fix OVN issue in KUD"

4 years agoAdd etcd support in infrastructure layer 03/101403/5
Ritu Sood [Sat, 8 Feb 2020 02:36:54 +0000 (18:36 -0800)]
Add etcd support in infrastructure layer

Create a etcd client and provide minimal
functionality needed by the orchestrator
for using etcd

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

4 years agoRestructure code and create module library 03/101003/5
Ritu Sood [Sat, 1 Feb 2020 07:29:51 +0000 (23:29 -0800)]
Restructure code and create module library

Restructures and moves code to make it
aligned with the current design.
https://wiki.onap.org/display/DW/Multi+Cluster+Application+Scheduler
examples/example_module.go shows how to
import and use modules from this package.
Patch#2 Updated example

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

4 years agoFix OVN issue in KUD 96/101496/1
Ritu Sood [Tue, 11 Feb 2020 02:47:15 +0000 (18:47 -0800)]
Fix OVN issue in KUD

OVN related test cases are failing.
This patch updates the installation
of OVN.

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

4 years agoMigrate multicloud-k8s docs 17/101317/2
Jessica Wagantall [Thu, 6 Feb 2020 23:03:52 +0000 (15:03 -0800)]
Migrate multicloud-k8s docs

Merging this will create
https://onap-multicloud-k8s.readthedocs.io
This build will run in parallel
to the current docs generation method
until we are ready to cut over.

Issue-ID: CIMAN-364
Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Change-Id: Idb446480f25a4f71469b4c932d864beb873cc55a

4 years agoAdd scripts for development for v2 57/101357/3
Ritu Sood [Fri, 7 Feb 2020 07:52:18 +0000 (23:52 -0800)]
Add scripts for development for v2

Adding scripts to pull docker
images for mongo and etcd and
run orchestrator

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

4 years agoMerge "Update nfn-operator to add provider networks"
Bin Yang [Fri, 31 Jan 2020 01:08:33 +0000 (01:08 +0000)]
Merge "Update nfn-operator to add provider networks"

4 years agoMerge "Update profilehandler comments"
Ritu Sood [Thu, 23 Jan 2020 18:12:20 +0000 (18:12 +0000)]
Merge "Update profilehandler comments"

4 years agoReverting vagrant images back to 16.04 VM deployment 62/100562/1
Akhila Kishore [Tue, 21 Jan 2020 19:37:44 +0000 (11:37 -0800)]
Reverting vagrant images back to 16.04 VM deployment

Currently we face issue with VM based deployment causing
vagrant up to fail and quit abruptly.

Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-974
Change-Id: I9a9e28357f1f56d17643d8f2a31f4cdca70fb456

4 years agoMerge "Add readme.md for database shim layer"
Ritu Sood [Fri, 17 Jan 2020 14:44:23 +0000 (14:44 +0000)]
Merge "Add readme.md for database shim layer"

4 years agoMerge "Add execution script for vIPSec in k8s"
Huang Haibin [Thu, 16 Jan 2020 23:59:29 +0000 (23:59 +0000)]
Merge "Add execution script for vIPSec in k8s"

4 years agoMerge "Instantiate infra_workload based on vf-module-*-ids"
Ritu Sood [Fri, 10 Jan 2020 19:45:22 +0000 (19:45 +0000)]
Merge "Instantiate infra_workload based on vf-module-*-ids"

4 years agoAdd execution script for vIPSec in k8s 03/99903/10
Ruoyu Ying [Tue, 24 Dec 2019 17:33:06 +0000 (01:33 +0800)]
Add execution script for vIPSec in k8s

Add execution scripts for each component in vIPSec to make it work for k8s.
These scripts are going to be used along with the helm chart named 'vipsec'
inside the demo folder.
It aims to construct the vIPSec use case to set up a secure tunnel between
peers and improve its performance along with hardware acceleration
technologies such as SRIOV and QAT.

Issue-ID: MULTICLOUD-969
Change-Id: I261272439b264db4d70cf8d5d2958a891c351b61
Signed-off-by: Ruoyu Ying <ruoyu.ying@intel.com>
4 years agoChange missing profile HTTP response code to 404 06/99606/2
Konrad Bańka [Tue, 7 Jan 2020 15:01:07 +0000 (16:01 +0100)]
Change missing profile HTTP response code to 404

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

4 years agoInstantiate infra_workload based on vf-module-*-ids 69/99669/5
Konrad Bańka [Tue, 7 Jan 2020 14:33:04 +0000 (15:33 +0100)]
Instantiate infra_workload based on vf-module-*-ids

Deprecate k8s-rb-definition-* parameters from sdnc_directives
in favor of vf-module-*-id that are used by newer artifact broker.

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

4 years agoMerge "Add support for override values"
Ritu Sood [Fri, 3 Jan 2020 15:06:27 +0000 (15:06 +0000)]
Merge "Add support for override values"

4 years agoMerge "Adding logging package to v2"
Ritu Sood [Fri, 3 Jan 2020 15:06:17 +0000 (15:06 +0000)]
Merge "Adding logging package to v2"

4 years agoAdd readme.md for database shim layer 56/99956/1
Kiran Kamineni [Tue, 31 Dec 2019 23:40:53 +0000 (15:40 -0800)]
Add readme.md for database shim layer

Add some documentation related to how the mongo backend is
implemented

Issue-ID: MULTICLOUD-666
Change-Id: I9dae429b1da004fbaa7ea694e6e58fa2d337a042
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdd support for a default profile 38/99838/4
Kiran Kamineni [Fri, 20 Dec 2019 00:48:54 +0000 (16:48 -0800)]
Add support for a default profile

Added support for a default profile
A profile with the name "default" gets created
automatically when a rb definition is uploaded.

Issue-ID: MULTICLOUD-885
Change-Id: I2baab179ff119f3e6335643ff619f071f11b017a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoUpdate nfn-operator to add provider networks 65/96365/4
Ritu Sood [Sun, 29 Sep 2019 19:27:39 +0000 (12:27 -0700)]
Update nfn-operator to add provider networks

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

4 years agoUpdate write to store data 70/99870/1
Kiran Kamineni [Fri, 20 Dec 2019 21:48:40 +0000 (13:48 -0800)]
Update write to store data

This is to support multiple calls that might hit
the database such as creation of profile within another
definition create.

Issue-ID: MULTICLOUD-666
Change-Id: I2cb8e705eaa5f825936156d7c626f16f373e28c0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdd support for override values 86/99686/2
Kiran Kamineni [Tue, 17 Dec 2019 00:04:55 +0000 (16:04 -0800)]
Add support for override values

Add support for override values which are equivalent to
HELM --set options.
A typical JSON with this option would look like this:
{
  "rb-name": "edgex",
  "rb-version": "v1",
  "profile-name": "profile1",
  "override-values": {
    "edgex-core-consul.enabled": "false",
    "edgex-core-data.enabled": "false"
  },
  "cloud-region": "k8sregionone"
}

Issue-ID: MULTICLOUD-863
Change-Id: I050b4c1a2922bfe1206964a0135863448638e4ef
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoFix verify build remove obs ppa 37/99837/5
Marcus G K Williams [Thu, 19 Dec 2019 22:28:23 +0000 (14:28 -0800)]
Fix verify build remove obs ppa

Remove no longer public jonathonf ppa

Issue-ID: CIMAN-359
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: I12a24a28914654127e3bd27e7814b42ecd897ca1

4 years agoFix ensureNamespace behavior failing on missing ns 31/98831/4
Konrad Bańka [Tue, 26 Nov 2019 06:01:30 +0000 (07:01 +0100)]
Fix ensureNamespace behavior failing on missing ns

The behavior is now amended to ignore namespace not found
errors.

Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Issue-ID: MULTICLOUD-955
Change-Id: Ifc180eca9e8195c38f0b0f268dd142a329405d3d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoUse http when not using tls 68/99368/1
Kiran Kamineni [Mon, 9 Dec 2019 23:20:46 +0000 (15:20 -0800)]
Use http when not using tls

Issue-ID: MULTICLOUD-666
Change-Id: I8838fb2d312c841fd421d0a887bcfe181f6281e9
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Set proper defaults for etcd configuration"
Ritu Sood [Fri, 6 Dec 2019 23:37:57 +0000 (23:37 +0000)]
Merge "Set proper defaults for etcd configuration"

4 years agoUpdate Ubuntu 18 image for vagrant 81/99281/1
Ritu Sood [Sat, 7 Dec 2019 06:03:19 +0000 (22:03 -0800)]
Update Ubuntu 18 image for vagrant

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

4 years agoSet proper defaults for etcd configuration 82/99282/1
Kiran Kamineni [Fri, 6 Dec 2019 22:46:09 +0000 (14:46 -0800)]
Set proper defaults for etcd configuration

Issue-ID: MULTICLOUD-666
Change-Id: I662555822b0bcf7264b64bbee9ff3760913be873
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Remove WAND repository"
Ritu Sood [Thu, 5 Dec 2019 18:17:28 +0000 (18:17 +0000)]
Merge "Remove WAND repository"

4 years agoMerge "Adding Istio rbac roles for multicloud-k8s"
Kiran Kamineni [Tue, 3 Dec 2019 20:14:22 +0000 (20:14 +0000)]
Merge "Adding Istio rbac roles for multicloud-k8s"

4 years agoMerge "Upgrade istio-operator"
Kiran Kamineni [Tue, 3 Dec 2019 20:14:16 +0000 (20:14 +0000)]
Merge "Upgrade istio-operator"

4 years agoRemove WAND repository 29/98929/2
Konrad Bańka [Thu, 28 Nov 2019 10:33:21 +0000 (11:33 +0100)]
Remove WAND repository

Official ubuntu repositories already contain all ovn/ovs packages. WAND
repository may introduce unnecessary complications, as it pins package
dependencies to exact version making conflicts with ubuntu ones.

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

4 years agoSwitch instantiation parameters source from user to sdnc parameters 49/98849/1
Konrad Bańka [Tue, 26 Nov 2019 10:21:39 +0000 (11:21 +0100)]
Switch instantiation parameters source from user to sdnc parameters

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

4 years agoAdding logging package to v2 27/98827/1
Kiran Kamineni [Mon, 25 Nov 2019 23:48:58 +0000 (15:48 -0800)]
Adding logging package to v2

Adding logging package to v2
This is migrated from v1

Issue-ID: MULTICLOUD-870
Change-Id: I9b74d77827475a1e1c588af7cb542f5be0cad7dc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdding SDWAN testing for KUD containerized installer script 79/98779/4
r.kuralamudhan [Fri, 22 Nov 2019 21:20:52 +0000 (13:20 -0800)]
Adding SDWAN testing for KUD containerized installer script
Please refer ICN SDWAN Module Design for architecture
link:https://wiki.akraino.org/display/AK/SDWAN+Module+Design

Issue-ID: MULTICLOUD-956
Co-authored-by: Huifeng Le <huifeng.le@intel.com>
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I4bc35bc62f6bab52a5d290829f7406424d72d5ae

4 years agoMerge "Add v2 with project API"
Ritu Sood [Thu, 21 Nov 2019 22:28:07 +0000 (22:28 +0000)]
Merge "Add v2 with project API"

4 years agoadding both i40evf iavf to support back compatibility 96/98696/1
r.kuralamudhan [Thu, 21 Nov 2019 05:49:36 +0000 (05:49 +0000)]
adding both i40evf iavf to support back compatibility

Issue-ID: MULTICLOUD-944
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I22b92adaad8d4f778b97821df68c1d42e2012e9c

4 years agoEnabling testing for the containerized installer 43/98643/4
r.kuralamudhan [Wed, 20 Nov 2019 07:05:47 +0000 (23:05 -0800)]
Enabling testing for the containerized installer

Issue-ID: MULTICLOUD-942
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I4c5da84002135d856c5c3dcccf103aa52bb8a0f9

4 years agoAdd v2 with project API 38/98638/3
Kiran Kamineni [Tue, 19 Nov 2019 19:51:46 +0000 (11:51 -0800)]
Add v2 with project API

Definiton, Profile and other APIs will
migrate to this area with support for Projects and v2.
This patch adds the Project API only along with
support for the Mongo database.
Migration of other APIs will happen in future patches

Issue-ID: MULTICLOUD-871
Change-Id: I2eb2d0db2384fd58d1ec874e24fa9125a1f5b288
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Updating sriov playbook to meet requirements of updated device"
Ritu Sood [Fri, 15 Nov 2019 00:51:09 +0000 (00:51 +0000)]
Merge "Updating sriov playbook to meet requirements of updated device"

4 years agoUpdating sriov playbook to meet requirements of updated device 72/98272/3
Akhila Kishore [Tue, 12 Nov 2019 06:57:39 +0000 (22:57 -0800)]
Updating sriov playbook to meet requirements of updated device

Previous sriov playbook supported X710 SRIOV NIC. Updating
the scripts to support new device XL710.
Other changes include syntactical corrections
to "WHEN" condition in ansible.
Co-authored-by: hle2 <huifeng.le@intel.com>
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-929
Change-Id: I697a49a64472ad2d755753e58f8fd4e7857b0456

4 years agoMerge "Update logutils to support multiple fields"
Ritu Sood [Tue, 12 Nov 2019 17:48:45 +0000 (17:48 +0000)]
Merge "Update logutils to support multiple fields"

4 years agoOptimizing the onap4k8s for all deployment model 64/98264/1
Kuralamudhan Ramakrishnan [Mon, 11 Nov 2019 21:55:31 +0000 (13:55 -0800)]
Optimizing the onap4k8s for all deployment model

Issue-ID: MULTICLOUD-927
Co-authored-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I97019f3ab06c948b77e189f526c4e217e7706fb6

4 years agoUpdate logutils to support multiple fields 15/98215/1
Kiran Kamineni [Fri, 8 Nov 2019 21:01:22 +0000 (13:01 -0800)]
Update logutils to support multiple fields

Added support for multiple fields and updated
instancehandler and app/client.go to use the new functions

Issue-ID: MULTICLOUD-577
Change-Id: I7cc04f67e72448aa121d10cfd80d66d544981933
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Optimizing the plugin option in containerized installer"
Ritu Sood [Thu, 7 Nov 2019 17:21:06 +0000 (17:21 +0000)]
Merge "Optimizing the plugin option in containerized installer"

4 years agoOptimizing the plugin option in containerized installer 85/98085/3
r.kuralamudhan [Thu, 7 Nov 2019 06:57:58 +0000 (22:57 -0800)]
Optimizing the plugin option in containerized installer

Issue-ID: MULTICLOUD-919
Signed-off-by: r.kuralamudhan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I6850c2673b1d5e8e7ccc9d036a0a68fa896aa3ab

4 years agoAdd race condition detection 68/97868/3
Kiran Kamineni [Fri, 1 Nov 2019 20:04:32 +0000 (13:04 -0700)]
Add race condition detection

Add the -race flag to detect any race conditions
in the k8splugin code
It is enabled only for tests right now because of performance
impact on builds.

Issue-ID: MULTICLOUD-870
Change-Id: I53a90df39d2d8b51cbdb6c320f2247721ed98a07
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoCheck for err when namespace plugin returns 69/97869/1
Kiran Kamineni [Fri, 1 Nov 2019 20:15:47 +0000 (13:15 -0700)]
Check for err when namespace plugin returns

Check for err when a namespace GET is called.
This will catch any errors related to the cluster GET
operations before the subsequent call is made.

Issue-ID: MULTICLOUD-666
Change-Id: I47de130f7ae9e6fea627f3a881ea84b2880db886
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Testcases shouldn't run prematurely from installer script"
Ritu Sood [Wed, 30 Oct 2019 20:59:33 +0000 (20:59 +0000)]
Merge "Testcases shouldn't run prematurely from installer script"

4 years agoTestcases shouldn't run prematurely from installer script 19/97719/4
Akhila Kishore [Tue, 29 Oct 2019 22:53:45 +0000 (15:53 -0700)]
Testcases shouldn't run prematurely from installer script

Testing_enabled: true in the installer script, causes
the test cases to run immediately after the playbook even before
the pods are completely up. Causing some of the test cases to fail.
Making sure, the test cases run only after all of playbooks
have finished running. Correcting the identation

Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-904
Change-Id: Ieec33f46301d7c8d9cb36ac5f32caefca2981804

4 years agoBug fixes to containerized installer script 57/97757/1
Kuralamudhan Ramakrishnan [Wed, 30 Oct 2019 16:38:23 +0000 (09:38 -0700)]
Bug fixes to containerized installer script

Issue-ID: MULTICLOUD-905
Co-authored-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: Ie9710146d4764f6b1f8ce11af9b28988131d75c8

4 years agoUpdate profilehandler comments 46/96046/2
Marcus G K Williams [Thu, 19 Sep 2019 21:43:56 +0000 (14:43 -0700)]
Update profilehandler comments

Issue-ID: MULTICLOUD-828
Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
Change-Id: Ib7678c6829916cb7e29611d151f7d67c2a274faf