multicloud/k8s.git
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

4 years agoMerge "Change the base installation directory"
Huang Haibin [Thu, 30 Apr 2020 00:36:46 +0000 (00:36 +0000)]
Merge "Change the base installation directory"

4 years agoMerge "Install criproxy binary in /usr/local/bin instead of /tmp. Issue-ID: MULTICLOU...
Ritu Sood [Mon, 27 Apr 2020 19:45:25 +0000 (19:45 +0000)]
Merge "Install criproxy binary in /usr/local/bin instead of /tmp. Issue-ID: MULTICLOUD-1051"

4 years agoFix missing key error while getting resource inst 20/106620/1
Manjunath Ranganathaiah [Fri, 24 Apr 2020 20:10:22 +0000 (20:10 +0000)]
Fix missing key error while getting resource inst

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

4 years agoMerge "Added intentResolver"
Ritu Sood [Thu, 23 Apr 2020 21:48:53 +0000 (21:48 +0000)]
Merge "Added intentResolver"

4 years agoMerge "Controller API support"
Ritu Sood [Thu, 23 Apr 2020 21:40:06 +0000 (21:40 +0000)]
Merge "Controller API support"

4 years agoMerge "Add code to apply workload network annotations"
Ritu Sood [Thu, 23 Apr 2020 21:30:12 +0000 (21:30 +0000)]
Merge "Add code to apply workload network annotations"

4 years agoMerge "Upgrate the out-of-date link in virtlet test"
Ritu Sood [Thu, 23 Apr 2020 21:05:16 +0000 (21:05 +0000)]
Merge "Upgrate the out-of-date link in virtlet test"

4 years agoController API support 46/106146/5
Eric Multanen [Thu, 16 Apr 2020 17:44:06 +0000 (10:44 -0700)]
Controller API support

Add controller API support as baseline for adding
gRPC framework.

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

4 years agoAdd code to apply workload network annotations 48/105448/9
Eric Multanen [Wed, 15 Apr 2020 03:51:50 +0000 (20:51 -0700)]
Add code to apply workload network annotations

Apply workload network intents to indicated
resources in the AppContext.
This will add/update network annotations for
pods or resources that have pod templates.

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

4 years agoMerge "Script to test DCM API"
Ritu Sood [Wed, 22 Apr 2020 17:35:16 +0000 (17:35 +0000)]
Merge "Script to test DCM API"

4 years agoMerge "Orchestrator support for network intent updates"
Ritu Sood [Wed, 22 Apr 2020 17:06:05 +0000 (17:06 +0000)]
Merge "Orchestrator support for network intent  updates"

4 years agoScript to test DCM API 98/106398/2
Itohan [Wed, 22 Apr 2020 01:03:13 +0000 (18:03 -0700)]
Script to test DCM API

Issue-ID: MULTICLOUD-996
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I18b75693beeaa5d5fe64e91087ddaa911a553a5f

4 years agoMerge "Implement Apply API for DCM"
Ritu Sood [Tue, 21 Apr 2020 21:39:21 +0000 (21:39 +0000)]
Merge "Implement Apply API for DCM"

4 years agoOrchestrator support for network intent updates 82/105982/5
Eric Multanen [Wed, 15 Apr 2020 03:47:35 +0000 (20:47 -0700)]
Orchestrator support for network intent  updates

Adds support code in orchestrator for handling
updates to app context resources when ncm
handles network intents.
Add a get cluster names call to the app context

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

4 years agoUpgrate the out-of-date link in virtlet test 11/106311/1
Yao Le [Tue, 21 Apr 2020 11:17:44 +0000 (19:17 +0800)]
Upgrate the out-of-date link in virtlet test

The fedora 29 image link is out of date. It is not reachable now.
So upgrade the link to fedora 31.

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

4 years agoImplement Apply API for DCM 73/105973/8
Itohan [Wed, 15 Apr 2020 00:06:13 +0000 (17:06 -0700)]
Implement Apply API for DCM

This implents the Apply API. When the apply API
is called, this reads from mongodb and creates
resources in ETCD

Issue-ID: MULTICLOUD-996
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I5b9c8b44673e66296d1339b5b3f4afc5f4cae9cc

4 years agoMerge "Update Vagrant VM image to Ubuntu-18.04"
Huang Haibin [Mon, 20 Apr 2020 05:35:46 +0000 (05:35 +0000)]
Merge "Update Vagrant VM image to Ubuntu-18.04"

4 years agoInstall criproxy binary in /usr/local/bin instead of /tmp. 35/106235/1
Eric Tang [Sun, 19 Apr 2020 01:48:24 +0000 (09:48 +0800)]
Install criproxy binary in /usr/local/bin instead of /tmp.
Issue-ID: MULTICLOUD-1051

Signed-off-by: Eric Tang <qcorba@gmail.com>
Change-Id: I96443ee539de0e2a18011148f86f97e70634cae3
Signed-off-by: Eric Tang <qcorba@gmail.com>
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