multicloud/k8s.git
4 years agoAdded intentResolver 41/106041/4
Rajamohan Raj [Wed, 15 Apr 2020 18:45:47 +0000 (18:45 +0000)]
Added intentResolver

IntentResolver shall collect the clusterdetails for each of the app
where it needs to be deployed. This shall be called by
the instantiation code.

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

4 years agoMerge "Add apply API for network intents"
Ritu Sood [Fri, 17 Apr 2020 22:45:23 +0000 (22:45 +0000)]
Merge "Add apply API for network intents"

4 years agoRemove orchestrator dependency from ncm 18/106218/1
Rajamohan Raj [Fri, 17 Apr 2020 20:51:36 +0000 (20:51 +0000)]
Remove orchestrator dependency from ncm

NCM shall be like a library which orchestrator shall
call as and when required. NCM will assume that whenever
orchestrator calls it all the validation of orchestrator components
is done, so NCM shall not validate orchestrator components.
Otherwise, if NCM calls the orchestration, this will result
in cyclic import issue.

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

4 years agoAdd apply API for network intents 33/104433/12
Eric Multanen [Wed, 15 Apr 2020 00:54:45 +0000 (17:54 -0700)]
Add apply API for network intents

Support POST API to 'apply' and 'terminate' network and
providernetwork intents for a given cluster.

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

4 years agoMerge "Mongo api changes"
Ritu Sood [Thu, 16 Apr 2020 22:03:58 +0000 (22:03 +0000)]
Merge "Mongo api changes"

4 years agoUpdate brokerhandler API to conform with /v1/ path pattern 41/106141/1
Konrad Bańka [Thu, 16 Apr 2020 18:16:51 +0000 (20:16 +0200)]
Update brokerhandler API to conform with /v1/ path pattern

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

4 years agoMongo api changes 75/105975/1
Eric Multanen [Wed, 15 Apr 2020 00:48:55 +0000 (17:48 -0700)]
Mongo api changes

Add RemoveTag call to allow removal of attribute from
a mongo document.
Allow find to return and empty list.

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

4 years agoAdded query routes for deploymentIntentGroup 43/105743/2
Rajamohan Raj [Fri, 10 Apr 2020 05:02:58 +0000 (05:02 +0000)]
Added query routes for deploymentIntentGroup

In this patch added a route which
can query allIntents belonging to a DeploymentIntentGroup
and another route for querying all intents under an intent
in a deploymentIntentGroup

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

4 years agoMerge "Adding query APIs for AppIntents"
Ritu Sood [Mon, 13 Apr 2020 20:38:39 +0000 (20:38 +0000)]
Merge "Adding query APIs for AppIntents"

4 years agoChange the base installation directory 31/105831/1
Yao Le [Mon, 13 Apr 2020 17:15:16 +0000 (01:15 +0800)]
Change the base installation directory

The /tmp will refresh after reboot, so change it to &HOME

Issue-ID: MULTICLOUD-1050
Signed-off-by: Yao Le <le.yao@intel.com>
Change-Id: I47a030b0e33f48c653b21d81d52f7cf717b6d34f

4 years agoTest cases for resolving the helm templates 61/105061/5
Rajamohan Raj [Fri, 3 Apr 2020 07:43:11 +0000 (07:43 +0000)]
Test cases for resolving the helm templates

Added test cases for overriding values and
resolving the helm charts.
Also addressed the merge conflicts
and review comments

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

4 years agoMerge "Resolve the helm templates"
Ritu Sood [Mon, 13 Apr 2020 16:45:39 +0000 (16:45 +0000)]
Merge "Resolve the helm templates"

4 years agoResolve the helm templates 18/104718/9
Rajamohan Raj [Tue, 31 Mar 2020 01:30:03 +0000 (01:30 +0000)]
Resolve the helm templates

Resolving the helm templates for each of the apps
in the compositeApp by utilizing the helm libraries
and thus getting the sorted templates with all values
rendered.
This is a subtask of adding instantiation APIs.

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

4 years agoAPIs for network, workload and interface intents 00/104100/12
Eric Multanen [Thu, 19 Mar 2020 23:07:43 +0000 (16:07 -0700)]
APIs for network, workload and interface intents

Includes network controller intent and underlying
network workload intent and workload interface
intent APIs.

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

4 years agoMerge "Add validation routines"
Ritu Sood [Fri, 10 Apr 2020 20:33:16 +0000 (20:33 +0000)]
Merge "Add validation routines"

4 years agoAdd Distributed Cloud Manager 36/101936/19
enyinna1234 [Fri, 14 Feb 2020 16:41:49 +0000 (08:41 -0800)]
Add Distributed Cloud Manager

This handles RESTful API CRUD operations for logical clouds, CLuster,
User Permissions, Quota, and Key Value pairs.
See: https://wiki.onap.org/x/tAiVB

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

4 years agoAdding query APIs for AppIntents 97/105697/1
Rajamohan Raj [Thu, 9 Apr 2020 16:54:55 +0000 (16:54 +0000)]
Adding query APIs for AppIntents

In this patch the following tasks where performed:
1. Added APIs for query Intents for each App
in the compositeApp. For example, you can see all
intents of collectd or prometheus seperately if
both formed a compositeApp Collection.

2. Added 'provider-name' parameter to denote the cluster
objects used in all intents. Earlier we had only
clusterName and clusterlabel to denote a cluster.
Modified the tests also for this.

3. Fixed bugs in the plugin_collection_v2.sh.

4. Fixed some minor logging and formatting bugs.

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

4 years agoAdd validation routines 61/105561/1
Eric Multanen [Wed, 8 Apr 2020 19:01:24 +0000 (12:01 -0700)]
Add validation routines

Splitting out new orchestration validation routines
from other patch for ncm which uses them - so these
changes can go in first.  Should fix build issues.

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

4 years agoMerge "Automation adds index.rst"
Jessica Wagantall [Wed, 8 Apr 2020 05:40:01 +0000 (05:40 +0000)]
Merge "Automation adds index.rst"

4 years agoAutomation adds index.rst 87/105387/2
LF Jenkins CI [Tue, 7 Apr 2020 17:41:53 +0000 (17:41 +0000)]
Automation adds index.rst

Issue-ID: CIMAN-376

Change-Id: Ib17bd822915eea1e1033f7422ee44438924364bf
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoAdding function to Query cluster based on label 94/102794/3
Ritu Sood [Tue, 3 Mar 2020 08:44:52 +0000 (00:44 -0800)]
Adding function to Query cluster based on label

Add Query endpoint and implements returning list
of clusters with label.

Issue-ID: MULTICLOUD-922
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I879b5e9002a0cbc9191abb99f1e164ee2b1c6581

4 years agoUpdate Vagrant VM image to Ubuntu-18.04 96/105196/1
Yao Le [Tue, 7 Apr 2020 15:34:16 +0000 (23:34 +0800)]
Update Vagrant VM image to Ubuntu-18.04

Fix bug ICN-260 KUD Multi Vagrant 18.04 issue
Fix bug ICN-303 Compute01 no spcae left in KUD Multi Vagrant
Fix bug ICN-285 Nameserver issues behind a proxy

Issue-ID: MULTICLOUD-1004
Signed-off-by: Yao Le <le.yao@intel.com>
Change-Id: I9e5c6c0e618ebd63babe650f06ca21ff10669cc4

4 years agoMerge "Revert "Update Vagrant VM Version""
Huang Haibin [Tue, 7 Apr 2020 06:49:00 +0000 (06:49 +0000)]
Merge "Revert "Update Vagrant VM Version""

4 years agoRevert "Update Vagrant VM Version" 06/105206/1
Le Yao [Tue, 7 Apr 2020 06:14:21 +0000 (06:14 +0000)]
Revert "Update Vagrant VM Version"

This reverts commit f802b87c1d3caecc74789d435358d4f8ff2555a3.

Reason for revert: Will rebuild with Nameserver issue solved

Issue-ID: MULTICLOUD-1004
Change-Id: Ieafee94e4fe909c30ef8a4167d242f40e114d767
Signed-off-by: Yao Le <le.yao@intel.com>
4 years agoMerge "Update image version of k8splugin"
Bin Yang [Fri, 3 Apr 2020 01:23:04 +0000 (01:23 +0000)]
Merge "Update image version of k8splugin"

4 years agoUpdate image version of k8splugin 94/104894/1
Ritu Sood [Wed, 1 Apr 2020 23:56:21 +0000 (16:56 -0700)]
Update image version of k8splugin

Update image version of k8splugin to 0.6.0-SNAPSHOT

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

4 years agoAdd init and reinit interfaces to context libs 08/104708/7
Manjunath Ranganathaiah [Mon, 30 Mar 2020 18:37:18 +0000 (18:37 +0000)]
Add init and reinit interfaces to context libs

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

4 years agoApp context library interface for etcd 71/104071/7
Manjunath Ranganathaiah [Fri, 20 Mar 2020 15:39:06 +0000 (15:39 +0000)]
App context library interface for etcd

Issue-ID: MULTICLOUD-1005
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
Change-Id: Id4d3357fe851f6653112d24ac5d48b6dbaa6e888
Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com>
4 years agoUpdate Vagrant VM Version 61/102561/4
Yao Le [Fri, 28 Feb 2020 16:51:35 +0000 (00:51 +0800)]
Update Vagrant VM Version

Fix bug ICN-260 KUD Multi Vagrant 18.04 issue
Fix bug ICN-303 Compute01 no spcae left in KUD Multi Vagrant

Issue-ID: MULTICLOUD-1004
Signed-off-by: Yao Le <le.yao@intel.com>
Change-Id: Ic74d4ec2c9ae4bbe42c71f13380f779f842e496d

4 years agoMerge "Update Vagrant VM Version"
Huang Haibin [Tue, 24 Mar 2020 02:30:56 +0000 (02:30 +0000)]
Merge "Update Vagrant VM Version"

4 years agoSync up Key json attribute names 89/104089/3
Eric Multanen [Fri, 20 Mar 2020 19:34:18 +0000 (12:34 -0700)]
Sync up Key json attribute names

Sync up names used for the Key structures and
tagMeta attribute names.  This should ensure that
the mongo db routines will query properly.

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

4 years agoAdd Network and Provider Network Intent API support 97/103697/10
Eric Multanen [Sat, 14 Mar 2020 00:39:40 +0000 (17:39 -0700)]
Add Network and Provider Network Intent API support

Add API for CRUD operations to manage network
and provider-network intent resources.

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

4 years agoCreate network service with cluster API 45/103645/6
Eric Multanen [Thu, 12 Mar 2020 22:59:24 +0000 (15:59 -0700)]
Create network service with cluster API

Creates a new network customization and configuration
service.  Seed it by moving the cluster-provider and
cluster API from the orchestrator service to this new
service.  More APIs to follow.
Just put a Dockerfile in the ncm/scripts directory for now.

See: https://wiki.onap.org/pages/viewpage.action?pageId=79201398

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

4 years agoMerge "Add update interface to run time context library"
Ritu Sood [Fri, 20 Mar 2020 17:53:04 +0000 (17:53 +0000)]
Merge "Add update interface to run time context library"

4 years agoAdd more validation methods 14/103914/2
Eric Multanen [Thu, 19 Mar 2020 00:33:27 +0000 (17:33 -0700)]
Add more validation methods

Add more validation methods and move to package
orchestration/infra/validation

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

4 years agoAdded the new plugin_collection_v2 script. 19/103819/3
Rajamohan Raj [Tue, 17 Mar 2020 20:57:50 +0000 (20:57 +0000)]
Added the new plugin_collection_v2 script.

The script calls the major creation APIs in v2 starting from project api, composite app, composite profile, generic placement intent & deployment intent. This should be used every time we need to test the  Instantiation code.
Also added the helm charts for composite app consisting of collectd and
prometheus.

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

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 agoAdded getAllApps functionality in App api 59/103659/2
Srivahni Chivukula [Thu, 12 Mar 2020 22:50:42 +0000 (15:50 -0700)]
Added getAllApps functionality in App api

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

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