multicloud/k8s.git
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 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 agoProvide gcc on installer host when not present 67/97667/1
Konrad Bańka [Tue, 29 Oct 2019 07:46:40 +0000 (08:46 +0100)]
Provide gcc on installer host when not present

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

4 years agoImplementing suggested changes 26/95326/6
sanjaymekhale [Fri, 25 Oct 2019 06:45:06 +0000 (06:45 +0000)]
Implementing suggested changes

Renamed package from logs to logutils

Issue-ID: MULTICLOUD-577
Change-Id: I05e2acbfbb5dd79bd26df73e0ad64c2068b9f6e5
Signed-off-by: sanjaymekhale <sm00557598@techmahindra.com>
4 years agoMerge "Update image path to dockerhub"
Ritu Sood [Thu, 24 Oct 2019 22:23:50 +0000 (22:23 +0000)]
Merge "Update image path to dockerhub"

4 years agoMerge "Adding onap4ks installation script in kud containerized installer"
Ritu Sood [Thu, 24 Oct 2019 22:22:57 +0000 (22:22 +0000)]
Merge "Adding onap4ks installation script in kud containerized installer"

4 years agoMerge "Disabling node local DNS"
Kiran Kamineni [Thu, 24 Oct 2019 21:57:10 +0000 (21:57 +0000)]
Merge "Disabling node local DNS"

4 years agoMerge "Update KUD to switch to Ubuntu 18.04"
Kiran Kamineni [Thu, 24 Oct 2019 21:56:55 +0000 (21:56 +0000)]
Merge "Update KUD to switch to Ubuntu 18.04"

4 years agoupdate helm chart for onap4k8s installation script 05/97505/1
Kuralamudhan Ramakrishnan [Wed, 23 Oct 2019 21:40:45 +0000 (14:40 -0700)]
update helm chart for onap4k8s installation script

Issue-ID: MULTICLOUD-867
Co-authored-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Co-authored-by: Ritu Sood <ritu.sood@intel.com>
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
Change-Id: I72f3b56fd709da21854280abeaadb0c6d03b72fb

4 years agoAdding onap4ks installation script in kud containerized installer 20/97320/6
Kuralamudhan Ramakrishnan [Fri, 18 Oct 2019 16:08:50 +0000 (09:08 -0700)]
Adding onap4ks installation script in kud containerized installer

Issue-ID: MULTICLOUD-867
Co-authored-by: Pramod Raghavendra Jayathirth <pramod.raghavendra.jayathirth@intel.com>
Co-authored-by: Ritu Sood <ritu.sood@intel.com>
Change-Id: I37b8112bdd5809f1ae0eaa58ddb0d834d395e8d8
Signed-off-by: Kuralamudhan Ramakrishnan <kuralamudhan.ramakrishnan@intel.com>
4 years agoAdding SRIOV Network Device Plugin to KuD 60/96160/16
Akhila Kishore [Mon, 23 Sep 2019 21:57:43 +0000 (14:57 -0700)]
Adding SRIOV Network Device Plugin to KuD

Integrating SRIOV as an add-on to KuD. A device
should have X700 series NIC for this Add-on to work.
Getting the device driver, build and installing it is
a part of this patch. Followed by running the SRIOV CNI
Daemonset, and NetworkAttachmentDefinition.
Reworked the way SRIOV check happens.
Previously ran on installer.sh.
Now the script is injected into kube-nodes and playbook will run
only if the hardware check is true by creating a conf file.
Removed unwanted comments and nit changes.

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

4 years agoUpdate KUD to switch to Ubuntu 18.04 84/94484/4
Ritu Sood [Fri, 30 Aug 2019 17:30:56 +0000 (10:30 -0700)]
Update KUD to switch to Ubuntu 18.04

Removed not needed packages for 18.04 for
OVN, updated the vagrant image to 18.04
and added some needed apt packages

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

4 years agoDisabling node local DNS 92/97292/1
Ritu Sood [Sat, 19 Oct 2019 16:43:04 +0000 (09:43 -0700)]
Disabling node local DNS

Seeing intermittent issues with DNS failing
on KUD. Disabling node local DNS for now as
a possible workaround. This can be enabled
once other issues a isolated.

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

4 years agoUpdate image path to dockerhub 87/97287/1
Kiran Kamineni [Thu, 17 Oct 2019 20:16:52 +0000 (13:16 -0700)]
Update image path to dockerhub

Updated image path to use the image
from dockerhub instead of nexus3

Issue-ID: MULTICLOUD-666
Change-Id: Ia6ceba734a4b8ee2aeb84c83f8623ffb8e20847b
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Adding kud containerized features"
Ritu Sood [Thu, 17 Oct 2019 15:46:33 +0000 (15:46 +0000)]
Merge "Adding kud containerized features"

4 years agoChanging the address ranges for KUD cluster 19/97219/1
Ritu Sood [Fri, 18 Oct 2019 15:19:02 +0000 (08:19 -0700)]
Changing the address ranges for KUD cluster

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

4 years agoAdding kud containerized features 03/96203/12
Kuralamudhan Ramakrishnan [Wed, 18 Sep 2019 08:18:25 +0000 (01:18 -0700)]
Adding kud containerized features

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

4 years agoAdd unit tests 85/96985/2
Kiran Kamineni [Fri, 11 Oct 2019 22:54:04 +0000 (15:54 -0700)]
Add unit tests

Add unit tests for the handler as well as backend status
function

Issue-ID: MULTICLOUD-675
Change-Id: I4c73e2c18f243702f3e791fec48d4bc5023cafd5
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdd a status getter api endpoint 51/95951/3
Kiran Kamineni [Wed, 18 Sep 2019 19:09:06 +0000 (12:09 -0700)]
Add a status getter api endpoint

Add a status endpoint to get status of
instances. Status information will be added to
the database asynchronously.

Issue-ID: MULTICLOUD-675
Change-Id: Ia7d79a6f18f01bf24f2690caf74a48c2a082bd73
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoRemove unused code 83/96983/1
Kiran Kamineni [Fri, 11 Oct 2019 21:49:12 +0000 (14:49 -0700)]
Remove unused code

Remove unused code. This is part of the old
legacy code and will anyway have to be re-implemented
whenever the update functionality gets added.

Issue-ID: MULTICLOUD-666
Change-Id: I02a91a2b221da9d82433f8c2ee1dd014a81e4f4d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Enable self-cleanup after testing vcFW deployment"
Ritu Sood [Sat, 28 Sep 2019 00:57:27 +0000 (00:57 +0000)]
Merge "Enable self-cleanup after testing vcFW deployment"

4 years agoMerge "Add helm chart for Istio Policies"
Kiran Kamineni [Tue, 24 Sep 2019 16:39:54 +0000 (16:39 +0000)]
Merge "Add helm chart for Istio Policies"

4 years agoMerge "Helm chart for multicloud-k8s connectivity"
Kiran Kamineni [Tue, 24 Sep 2019 16:39:20 +0000 (16:39 +0000)]
Merge "Helm chart for multicloud-k8s connectivity"

4 years agoAdd helm chart for Istio Policies 18/94318/4
Pramod [Tue, 27 Aug 2019 02:31:18 +0000 (19:31 -0700)]
Add helm chart for Istio Policies

Issue-ID: MULTICLOUD-789
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I16d1c1df0e9d8955040c78f5e67e1dd50e761040

4 years agoHelm chart for multicloud-k8s connectivity 12/94312/9
Pramod [Mon, 26 Aug 2019 20:23:44 +0000 (13:23 -0700)]
Helm chart for multicloud-k8s connectivity

This patch has ISTIO components required to
expose the multicloud-k8s application outside
the servicemesh

Issue-ID: MULTICLOUD-787

Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I4805520666ec653e9845432b85afdc1ce0ef1db9

4 years agoMerge "Add service for k8s vfw packet generator"
Ritu Sood [Tue, 17 Sep 2019 21:57:46 +0000 (21:57 +0000)]
Merge "Add service for k8s vfw packet generator"

4 years agoUpdate to kubernetes 1.14.1 73/95673/1
Kiran Kamineni [Fri, 13 Sep 2019 19:59:47 +0000 (12:59 -0700)]
Update to kubernetes 1.14.1

Updated package to use kubernetes 1.14.1
Also updated the other packages that no longer worked
because of this change.

Issue-ID: MULTICLOUD-666
Change-Id: Ibfdf7215d8d7beceabe1bf895a356017da0b7d9c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Integrating NFD Daemonset with KuD"
Ritu Sood [Thu, 12 Sep 2019 13:55:21 +0000 (13:55 +0000)]
Merge "Integrating NFD Daemonset with KuD"

4 years agoRemove unused ovn-kubernetes 04/95404/1
Ritu Sood [Thu, 12 Sep 2019 13:09:51 +0000 (06:09 -0700)]
Remove unused ovn-kubernetes

Removing unsused ovn-kubernetes
playbook and test from KUD.
Currently there is no plan to use
and also this is untested.

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

4 years agoEnable self-cleanup after testing vcFW deployment 48/91548/5
Konrad Bańka [Tue, 10 Sep 2019 13:19:04 +0000 (15:19 +0200)]
Enable self-cleanup after testing vcFW deployment

integration_vcFW.sh has been updated to clean k8s
from testsuite leftovers after it finishes when passed
optional '--cleanup' flag. Without it, script will
preserve created vcFW environment for debug purposes.

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

4 years agoIntegrating NFD Daemonset with KuD 16/94716/10
Akhila Kishore [Fri, 30 Aug 2019 23:39:00 +0000 (16:39 -0700)]
Integrating NFD Daemonset with KuD

Current NFD code in KuD is unused and obsolete.
Integrating NFD as DaemonSet and updating test case for NFD.
Added comments. Addressed comments and changed the
matchExpression to kernel features. Changed operator from "In" to Gt,
and values 4 to 3 better fit broader spectrum of O.S's.
Adding exit conditon in case there's an error status.

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

4 years agoMerge "Update package path to use github" 0.5.0
Ritu Sood [Mon, 9 Sep 2019 22:54:27 +0000 (22:54 +0000)]
Merge "Update package path to use github"

4 years agoUpdate image version of k8splugin 79/95079/1
Kiran Kamineni [Thu, 5 Sep 2019 18:37:20 +0000 (11:37 -0700)]
Update image version of k8splugin

Update image version of k8splugin to 0.5.0-SNAPSHOT
This will be then be used to create the release image

Issue-ID: MULTICLOUD-666
Change-Id: I8d756a0385762f3ae6944f97e555a02ccadfdd2f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoRemove GOPATH 78/95078/1
Kiran Kamineni [Thu, 5 Sep 2019 18:36:31 +0000 (11:36 -0700)]
Remove GOPATH

Remove GOPATH in docker build script

Issue-ID: MULTICLOUD-666
Change-Id: Ia9845d6bd8d7c12477a8bcf2373c7a3c8edf24b2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoUpdate package path to use github 73/95073/1
Kiran Kamineni [Thu, 5 Sep 2019 18:17:28 +0000 (11:17 -0700)]
Update package path to use github

Update the package path to use the standard github.com
path instead of making it a local path.
This allows import from other go projects.

Issue-ID: MULTICLOUD-666
Change-Id: I90ee8eba021a84e31a3dc3ab48b9edf3731e91a4
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Remove ovn4nfvk8s network plugin"
Ritu Sood [Thu, 5 Sep 2019 17:18:00 +0000 (17:18 +0000)]
Merge "Remove ovn4nfvk8s network plugin"

4 years agoMerge "Add a namegenerator package"
Ritu Sood [Thu, 5 Sep 2019 17:15:58 +0000 (17:15 +0000)]
Merge "Add a namegenerator package"

4 years agoRemove ovn4nfvk8s network plugin 45/94945/9
Konrad Bańka [Wed, 4 Sep 2019 15:22:42 +0000 (17:22 +0200)]
Remove ovn4nfvk8s network plugin

As ovn4nfv networks are now handled on k8s side by created CRD, this
plugin is no longer necessary. Removed all references to ovn

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

4 years agoAdd service for k8s vfw packet generator 69/94969/2
Eric Multanen [Thu, 5 Sep 2019 03:23:03 +0000 (20:23 -0700)]
Add service for k8s vfw packet generator

Defines a service for the vfw packet generator of
the K8S demo.  This allows netconf mount to be made
by appc.

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

4 years agoFix test failure in threaded tests 79/94979/2
Kiran Kamineni [Wed, 4 Sep 2019 21:30:03 +0000 (14:30 -0700)]
Fix test failure in threaded tests

Fix bug in tests where they can fail in highly
threaded environments where a file can be accessed by two test
processes.
Fixed it by duplicating the test case.

Issue-ID: MULTICLOUD-689
Change-Id: I93b9862fac52eb307e52c355e3cb0d4332768b4f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoRemove dependency on git.apache.org 75/94975/1
Kiran Kamineni [Wed, 4 Sep 2019 20:28:11 +0000 (13:28 -0700)]
Remove dependency on git.apache.org

Remove dependency on git.apache.org

Issue-ID: MULTICLOUD-666
Change-Id: I39f43f841747ab1f67cc57c587c1a31bb089869a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Use Multus Daemonset for installing Multus in KuD"
Ritu Sood [Wed, 4 Sep 2019 17:30:25 +0000 (17:30 +0000)]
Merge "Use Multus Daemonset for installing Multus in KuD"

4 years agoMerge "Remove double thread restriction on build"
Ritu Sood [Tue, 3 Sep 2019 17:19:32 +0000 (17:19 +0000)]
Merge "Remove double thread restriction on build"

4 years agoMerge "Remove gopath from builds"
Ritu Sood [Tue, 3 Sep 2019 17:17:15 +0000 (17:17 +0000)]
Merge "Remove gopath from builds"

4 years agoMerge "Adding informers for CRD"
Ritu Sood [Tue, 3 Sep 2019 17:17:01 +0000 (17:17 +0000)]
Merge "Adding informers for CRD"

4 years agoMerge "Adding listers for CRD"
Ritu Sood [Tue, 3 Sep 2019 17:16:56 +0000 (17:16 +0000)]
Merge "Adding listers for CRD"

4 years agoUse Multus Daemonset for installing Multus in KuD 09/94309/7
Akhila Kishore [Mon, 26 Aug 2019 22:33:09 +0000 (15:33 -0700)]
Use Multus Daemonset for installing Multus in KuD

Currently KuD uses Ansible scripts for installing Multus.
Multus has a daemonset that should be used for installing the multus
as part of an add-on.
This is also helpful for KuD offline deployment in the future.
Removed the comment. Updated the images path and removed
error supression addressed by comments.

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

4 years agoRemove gopath from builds 15/94715/1
Kiran Kamineni [Fri, 30 Aug 2019 22:09:43 +0000 (15:09 -0700)]
Remove gopath from builds

Remove gopath from builds as go mod
does not require them.

Issue-ID: MULTICLOUD-666
Change-Id: I3fa4057fb4d40c7f509a52fb82beceddc8f3e090
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoRemove double thread restriction on build 12/94712/1
Kiran Kamineni [Fri, 30 Aug 2019 21:01:59 +0000 (14:01 -0700)]
Remove double thread restriction on build

The double thread restriction on the build was introduced
to alleviate runtime memory exceptions.
Now that we have a larger VM for builds, this is not required.

Issue-ID: MULTICLOUD-666
Change-Id: I7568c094a3b4ef0b33dde456d4abfacd0606ffc8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Adding Helm charts of Multicloud-K8s"
Kiran Kamineni [Thu, 29 Aug 2019 20:40:35 +0000 (20:40 +0000)]
Merge "Adding Helm charts of Multicloud-K8s"

4 years agoMerge "Add helm chart for Keycloak server"
Kiran Kamineni [Thu, 29 Aug 2019 20:13:33 +0000 (20:13 +0000)]
Merge "Add helm chart for Keycloak server"

4 years agoAdd helm chart for Keycloak server 93/94393/2
Pramod [Wed, 28 Aug 2019 02:12:02 +0000 (19:12 -0700)]
Add helm chart for Keycloak server

Keycloak is an Authentication and Authorization
oauth2.0 server

Issue-ID: MULTICLOUD-714
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I6c9084aacbcc6ad193db789dfb7b0ed491d0b201

4 years agoAdding informers for CRD 26/93726/4
Kiran Kamineni [Fri, 16 Aug 2019 20:18:36 +0000 (13:18 -0700)]
Adding informers for CRD

Adding generated informers for CRD
These informers will be needed when we want to
watch these CRDs from the ONAP cluster
Generated using generate-groups.sh
from the kubernetes/code-generator repo

Issue-ID: MULTICLOUD-675
Change-Id: Ib7547666efa389534f0501f8dbab14c284dd76a6
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdding listers for CRD 25/93725/4
Kiran Kamineni [Fri, 16 Aug 2019 20:17:28 +0000 (13:17 -0700)]
Adding listers for CRD

Adding generated listers for CRD
Generated using generate-groups.sh
from the kubernetes/code-generator repo

Issue-ID: MULTICLOUD-675
Change-Id: I6c68a9e98d96ed77b9e5fb78cb2458f9c0f4d55d
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoAdding typed client for CRD 24/93724/4
Kiran Kamineni [Fri, 16 Aug 2019 20:15:35 +0000 (13:15 -0700)]
Adding typed client for CRD

Adding a typed client for CRD
Generated using the generate-groups.sh script from
the kubernetes/code-generator repo

Issue-ID: MULTICLOUD-675
Change-Id: I6c712980595dfed7a8b9c51f50edfc6788372dfd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Adding monitor operator to monitor edge resources"
Ritu Sood [Wed, 28 Aug 2019 20:35:09 +0000 (20:35 +0000)]
Merge "Adding monitor operator to monitor edge resources"

4 years agoAdding monitor operator to monitor edge resources 28/92628/7
Kiran Kamineni [Wed, 31 Jul 2019 22:32:28 +0000 (15:32 -0700)]
Adding monitor operator to monitor edge resources

Add an operator to monitor resources at the edge location.
The operator listens to pods and services right now and stores
their information in a CustomResource

Issue-ID: MULTICLOUD-675
Change-Id: I801478a77fcd019010ea1b4388d6077f63b89d05
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Remove unsused variables from kud-vars"
Kiran Kamineni [Wed, 28 Aug 2019 19:40:59 +0000 (19:40 +0000)]
Merge "Remove unsused variables from kud-vars"

4 years agoRemove unsused variables from kud-vars 68/94468/1
Ritu Sood [Fri, 30 Aug 2019 12:54:22 +0000 (05:54 -0700)]
Remove unsused variables from kud-vars

ovn4nfv url and other information not
required now after the patch
https://gerrit.onap.org/r/#/c/multicloud/k8s/+/93602/

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

4 years agoFix path to images 88/94388/1
Ritu Sood [Thu, 29 Aug 2019 20:28:37 +0000 (13:28 -0700)]
Fix path to images

Relative playbook path breaks
in aio configuration.

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

4 years agoAdd support for Network Operator 02/93602/3
Ritu Sood [Wed, 14 Aug 2019 19:41:37 +0000 (19:41 +0000)]
Add support for Network Operator

ovn4nfvk8s plugin now uses operator sdk
and controller runtime. It now includes
support for Network operator. This patch
includes changes needed in KUD for that.

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

4 years agoAdding Helm charts of Multicloud-K8s 89/93589/9
Pramod [Wed, 14 Aug 2019 23:24:01 +0000 (16:24 -0700)]
Adding Helm charts of Multicloud-K8s

To have seperate copy for ONAP4K8s

Issue-ID: MULTICLOUD-771
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: Ie6bbb17370253f0a115502694b8579b46366d241

4 years agoAdd a namegenerator package 10/94310/1
Kiran Kamineni [Fri, 23 Aug 2019 19:33:06 +0000 (12:33 -0700)]
Add a namegenerator package

Adds a namegenerator package which generates
readable names for instances.
This will go with a small change in the API
where we expect instance names and will generate
the names if they are not provided.

Issue-ID: MULTICLOUD-716
Change-Id: I69d8b7fb62667b8b60f3e02eb26dc937961d26d2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Version update."
Ritu Sood [Thu, 22 Aug 2019 12:20:56 +0000 (12:20 +0000)]
Merge "Version update."

4 years agoMerge "Adding Helm charts of MetalLB"
Kiran Kamineni [Tue, 20 Aug 2019 22:56:28 +0000 (22:56 +0000)]
Merge "Adding Helm charts of MetalLB"

4 years agoVersion update. 00/93900/1
Akhila Kishore [Mon, 19 Aug 2019 22:54:12 +0000 (15:54 -0700)]
Version update.

Updating Kubespray version from 2.8.2 to 2.10.4 for KuD offline
support and integration with new add-ons in future.

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

4 years agoMerge "Revert "Version update.""
Ritu Sood [Mon, 19 Aug 2019 22:53:39 +0000 (22:53 +0000)]
Merge "Revert "Version update.""

4 years agoRevert "Version update." 99/93899/1
Kiran Kamineni [Mon, 19 Aug 2019 22:48:50 +0000 (22:48 +0000)]
Revert "Version update."

This reverts commit 5f760c3fb7d0e74833b1a2137e6ff3dadc71b2f5.

Issue-ID: MULTICLOUD-772
Change-Id: I6feffd87545195992fb28e98dcee4038d9b08474
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Version update."
Kiran Kamineni [Mon, 19 Aug 2019 22:45:54 +0000 (22:45 +0000)]
Merge "Version update."

4 years agoMerge "Add query parameters support to instance API"
Ritu Sood [Mon, 19 Aug 2019 22:27:28 +0000 (22:27 +0000)]
Merge "Add query parameters support to instance API"

4 years agoVersion update. 93/93893/1
Akhila Kishore [Mon, 19 Aug 2019 21:55:38 +0000 (14:55 -0700)]
Version update.

Updating Kubespray version from 2.8.2 to 2.10.4 for KuD offline
support and integration with new add-ons in future.

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

4 years agoMerge "Fix bug in tagging podTemplates"
Ritu Sood [Mon, 19 Aug 2019 17:39:27 +0000 (17:39 +0000)]
Merge "Fix bug in tagging podTemplates"

4 years agoAdding Helm charts of MetalLB 42/93542/2
Pramod [Wed, 14 Aug 2019 18:25:56 +0000 (11:25 -0700)]
Adding Helm charts of MetalLB

MetalLB is the loadbalancer for Kubernetes

Issue-ID: MULTICLOUD-747
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: Ic07877234f9b0f80cb636f7b4e3c265b8be8a945

4 years agoHelm charts for Istio deployment 38/92738/4
Pramod [Mon, 5 Aug 2019 22:56:10 +0000 (15:56 -0700)]
Helm charts for Istio deployment

This Chart will deploy istio in SDS configuration
and enables istio sidecar injection in required
namespace

Issue-ID: MULTICLOUD-711
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I9a4dd781c14c2dc2bb1ee8ca648e3c8911ac1fe1

4 years agoAdd query parameters support to instance API 82/93482/1
Kiran Kamineni [Wed, 7 Aug 2019 22:45:54 +0000 (15:45 -0700)]
Add query parameters support to instance API

Add support for query parameters to find instances
with rb-name, rb-version, profile-name as query parameters
eg: curl IP:PORT/v1/instance?rb-name=test&rb-version=v1

Issue-ID: MULTICLOUD-662
Change-Id: If68c87885c8b8dd097cbb3860e8c7320310a6ef7
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoFix bug in tagging podTemplates 48/93448/1
Kiran Kamineni [Thu, 8 Aug 2019 22:22:43 +0000 (15:22 -0700)]
Fix bug in tagging podTemplates

Fix a bug in tagging podTemplates
Using the runtime converter to convert
unstructured map data to podTemplateSpec now.

Issue-ID: MULTICLOUD-675
Change-Id: I661d3c63ae39b3533bb9c0a9934fc507284c7074
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Fix istio test scenario endpoint API validation"
Kiran Kamineni [Thu, 8 Aug 2019 13:19:43 +0000 (13:19 +0000)]
Merge "Fix istio test scenario endpoint API validation"

4 years agoMerge "Add top level make"
Ritu Sood [Wed, 7 Aug 2019 21:41:45 +0000 (21:41 +0000)]
Merge "Add top level make"

4 years agoAdd custom label to track created resources 35/91635/7
Kiran Kamineni [Wed, 17 Jul 2019 23:55:00 +0000 (16:55 -0700)]
Add custom label to track created resources

Create a custom label on created resources
Also, create it on pods where pods are being
created.
This will help us later for filtering and querying
pods and resources.

Issue-ID: MULTICLOUD-675
Change-Id: I4b4fce7b67f9f27559d99dcca94a9191b96cb7c6
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
4 years agoMerge "Helm chart to deploy Istio-operator"
Kiran Kamineni [Wed, 7 Aug 2019 15:57:19 +0000 (15:57 +0000)]
Merge "Helm chart to deploy Istio-operator"

4 years agoMerge "Update committers info"
Xiaohua Zhang [Wed, 7 Aug 2019 08:00:38 +0000 (08:00 +0000)]
Merge "Update committers info"

4 years agoUpdate committers info 56/92756/5
Bin Yang [Tue, 6 Aug 2019 07:27:15 +0000 (07:27 +0000)]
Update committers info

Change-Id: I9f1e94d3b038cffca8b5980eb5f9f209a85021cb
Issue-ID: MULTICLOUD-751
Signed-off-by: Bin Yang <bin.yang@windriver.com>
4 years agoMerge changes Ia35fac70,I7ffaa3d4,I53e7e4d6
Bin Yang [Tue, 6 Aug 2019 06:20:07 +0000 (06:20 +0000)]
Merge changes Ia35fac70,I7ffaa3d4,I53e7e4d6

* changes:
  Update plugin.sh with new helper functions
  Provide connection info for plugin testcase
  Correct k8splugin endpoint configuration in KUD test

4 years agoHelm chart to deploy Istio-operator 37/92737/1
Pramod [Mon, 5 Aug 2019 22:35:41 +0000 (15:35 -0700)]
Helm chart to deploy Istio-operator

Istio-operator is required to manage the
lifecycle and deployments of Istio

Issue-ID: MULTICLOUD-710

Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: Ifd2d05e790148096b5c0b454208e233aa5a299f9