multicloud/k8s.git
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 agoFix script for cFW with sriov netdevice 97/102397/1
Bin Yang [Wed, 26 Feb 2020 11:38:52 +0000 (19:38 +0800)]
Fix script for cFW with sriov netdevice

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

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

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

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

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

specific to networking backended by host netdevice

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

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

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

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

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

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

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

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

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

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

Formatted Project related .go files

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Add some documentation related to how the mongo backend is
implemented

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

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

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

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

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

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

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

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

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

Remove no longer public jonathonf ppa

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Adding logging package to v2
This is migrated from v1

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 agoUpgrade istio-operator 11/97511/2
Pramod [Wed, 23 Oct 2019 23:14:19 +0000 (16:14 -0700)]
Upgrade istio-operator

Issue-ID: AAF-1023
Signed-off-by: Pramod <pramod.raghavendra.jayathirth@intel.com>
Change-Id: I863a06ee8f504febb822d02c054860065ad888b9

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 agoAdding Istio rbac roles for multicloud-k8s 91/94491/8
Pramod [Thu, 29 Aug 2019 05:47:54 +0000 (22:47 -0700)]
Adding Istio rbac roles for multicloud-k8s

This is used to grant role based access
to user

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

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