Kiran Kamineni [Thu, 23 May 2019 06:48:26 +0000 (23:48 -0700)]
Minor change to instance response
Minor change to instance response. Now it includes
the full request parameters in the response.
Issue-ID: MULTICLOUD-649
Change-Id: Ia4a7e479f842dd580bcfb13aa91dc0b0a456cf25
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Ritu Sood [Fri, 17 May 2019 23:07:45 +0000 (16:07 -0700)]
vFW usecase update
Update vFw Uses case to use 1.5.0
artifacts. 1.3.1 artifacts were
removed from nexus this week.
Changed sink container to remove IP
addresses that are built in the image and
can't be changed or parametrized. Added
a configmap for sink container
Change-Id: Ib1aae1816de866889e93d61a77832680764acef6
Issue-ID: MULTICLOUD-623
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Bin Yang [Wed, 22 May 2019 01:45:47 +0000 (01:45 +0000)]
Merge "Print error message for etcd connection failure"
Bin Yang [Wed, 22 May 2019 01:43:23 +0000 (01:43 +0000)]
Merge "Fixing ansible version"
Michal Ptacek [Fri, 17 May 2019 14:38:19 +0000 (14:38 +0000)]
Fixing ansible version
It would be safer to fix ansible version to prevent issues
coming with newer ansible releases which might not be
compatible with current playbooks within this repo.
E.g. 2.8.0 is not compatible.
Change-Id: Ia1b54c7644bcaf6c453ff6586682ca35ced9acec
Issue-ID: MULTICLOUD-634
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Kiran Kamineni [Mon, 20 May 2019 22:25:50 +0000 (15:25 -0700)]
Print error message for etcd connection failure
Error message during client creation needs to be
printed.
Issue-ID: MULTICLOUD-637
Change-Id: Ic3929ae774235133673032e35a2388d2e0b98d36
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Mon, 20 May 2019 21:18:29 +0000 (21:18 +0000)]
Merge "Support user_directives that are attributes lists"
Victor Morales [Mon, 20 May 2019 21:03:39 +0000 (21:03 +0000)]
Merge "Preventing installer.sh execution to hang"
Bin Yang [Mon, 20 May 2019 03:31:20 +0000 (03:31 +0000)]
Merge "vFW usecase install unzip package"
Kiran Kamineni [Fri, 17 May 2019 03:58:34 +0000 (20:58 -0700)]
Support user_directives that are attributes lists
Support the attributes in user_directives
attributes are lists of the following form:
"attributes": [
{
"attribute_value": "foo",
"attribute_name": "bar"
},
{
"attribute_value": "value2",
"attribute_name": "name2"
}
]
Issue-ID: ONAPARC-349
Change-Id: I576bc251d1566dc26696f12f826a09bacb7417a0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Michal Ptacek [Thu, 16 May 2019 11:07:35 +0000 (11:07 +0000)]
Preventing installer.sh execution to hang
This newgrp command used is not suitable for shell scripting,
it looks like misuse as it created new shell under right group
but prevents further script execution as it has to be exited
first.
Change-Id: I974da3a4b8d1e0827c846150079d453789d89554
Issue-ID: MULTICLOUD-632
Signed-off-by: Michal Ptacek <m.ptacek@partner.samsung.com>
Bin Yang [Thu, 16 May 2019 03:13:16 +0000 (03:13 +0000)]
Merge "Move config to app and connect to instance"
Bin Yang [Thu, 16 May 2019 01:24:11 +0000 (01:24 +0000)]
Merge "Add find method in instance"
Bin Yang [Thu, 16 May 2019 01:23:59 +0000 (01:23 +0000)]
Merge "Variable used before intialization"
Bin Yang [Thu, 16 May 2019 01:23:52 +0000 (01:23 +0000)]
Merge "Change format of the network file"
Kiran Kamineni [Wed, 15 May 2019 23:47:39 +0000 (16:47 -0700)]
Move config to app and connect to instance
Move config instantiation to app and connect it
to the instance to allow updates and so on.
Issue-ID: MULTICLOUD-464
Change-Id: Ic994ef78a6e0d2db5e695e33b7b8a302c74c10da
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 15 May 2019 22:22:31 +0000 (15:22 -0700)]
Add find method in instance
Add a find method to get instances
based on rbname, version and profile.
If only rbname is provided, all instances based on
that resource bundle are returned.
If only rbname and version are provided, all instances
based on that combination are returned.
When all three parameters are provided, a single instance
that matches them is returned.
Issue-ID: MULTICLOUD-613
Change-Id: If63e844c77829211b807ce6cd7c11dad247751fc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Ritu Sood [Wed, 15 May 2019 20:23:16 +0000 (13:23 -0700)]
vFW usecase install unzip package
Unzip package required for vFw
scripts to be unzipped before using
Change-Id: I5472678e207742370987da045df078cf2f6b5ee3
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-623
Kiran Kamineni [Wed, 15 May 2019 19:32:23 +0000 (12:32 -0700)]
Remove extra v1 from broker path
Remove extra v1 from path as it is added
in the MSB api anyway.
Issue-ID: MULTICLOUD-630
Change-Id: Ib7adbf2315e0a3b1fe8170096d877df8f1b64683
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Victor Morales [Wed, 15 May 2019 14:31:45 +0000 (14:31 +0000)]
Merge "Add missing jq package installation"
Ritu Sood [Tue, 14 May 2019 21:30:06 +0000 (14:30 -0700)]
vFW packages and scripts version mismatch
vFW pakages are being picked from
nexus staging version 1.3.1 but
the scripts are from master.
Change to get all packages from nexus
Change-Id: I51829b8ceaf96b4634d58a34c48f8e953ec0a684
Issue-ID: MULTICLOUD-623
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Ritu Sood [Tue, 14 May 2019 16:48:39 +0000 (16:48 +0000)]
Variable used before intialization
Initialize variable before using
Change-Id: Id908b27d6e17692de4ad3a60e84cd00b496133b9
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-304
Ritu Sood [Tue, 14 May 2019 16:36:48 +0000 (16:36 +0000)]
Change format of the network file
Format of network file is different
between KUD and Plugin. Change the
format to match the format in KUD
Change-Id: I360741b23e91e60d790a50a7eeb213576b0508b3
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-304
Victor Morales [Tue, 14 May 2019 15:06:23 +0000 (15:06 +0000)]
Merge "Make aio.sh rerunnable"
Samuli Silvius [Thu, 9 May 2019 08:43:36 +0000 (11:43 +0300)]
Add missing jq package installation
KUD installer.sh is missing jq package installation.
Jq is used in tests/plugin.sh, tests/plugin_edgex.sh and tests/nfd.sh
functional tests.
Issue-ID: MULTICLOUD-617
Change-Id: Ib53bf3e47e42f98b0d38a2507f4664bbaaaceea0
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Signed-off-by: Victor Morales <victor.morales@intel.com>
Samuli Silvius [Thu, 9 May 2019 11:53:43 +0000 (14:53 +0300)]
Make aio.sh rerunnable
aio.sh script can be run only ones.
Cloning of k8s on top of existing dir does not work
and ssh key generation on top of existing key does not work.
Issue-ID: MULTICLOUD-620
Change-Id: Ic60dfd6b96ab78f6edcdc3655c18f90c4427c856
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Ritu Sood [Mon, 13 May 2019 23:31:51 +0000 (16:31 -0700)]
vFW test case wrong urls and version
In vFw test case some urls are incorrect
and the vFW scripts release version
doesn't exist anymore
Change-Id: I296a6ac0a3779f3d63f5dfa4e411d4663fd98651
Issue-ID: MULTICLOUD-623
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Victor Morales [Mon, 13 May 2019 16:58:15 +0000 (16:58 +0000)]
Merge "Move OVN to the latest version"
Bin Yang [Mon, 13 May 2019 13:30:48 +0000 (13:30 +0000)]
Merge "Disable building of K8s plugin in KUD deployment"
Samuli Silvius [Thu, 9 May 2019 10:27:02 +0000 (13:27 +0300)]
Source /etc/environment for tests
After KUD deployment (at least aio.sh),
if running related tests immediately in the same shell session,
system wide environment variables (/etc/environment) are not effective.
This commit sources /etc/environment in commonly used _functions.sh.
Issue-ID: MULTICLOUD-619
Change-Id: I75cccdd8bdc8a67b92239704160331c58ad69d08
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Akhila Kishore [Thu, 9 May 2019 02:55:47 +0000 (19:55 -0700)]
Disable building of K8s plugin in KUD deployment
K8S plugin is part of ONAP and should not be instantiated by KUD.
It only needs to be instantiated by OOM of ONAP.
Changing the default value.
Change-Id: I4e8f180981794b380bf05662243972ad03c23c90
Issue-ID: Issue-ID: MULTICLOUD-502
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Kiran Kamineni [Wed, 8 May 2019 22:44:08 +0000 (15:44 -0700)]
Check always returns true for install_plugin
The [[ test for KUD_PLUGIN_ENABLED always returns true.
Removed [[ to use the boolean operation instead.
Issue-ID: MULTICLOUD-616
Change-Id: I6bbd0c462ab7bb66447dec8dd16d786062a9c586
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 8 May 2019 18:15:46 +0000 (11:15 -0700)]
Update Readme to reflect the new golang version
golang version used is 1.12.4. This patch updates
the README.md to reflect that.
Issue-ID: MULTICLOUD-615
Change-Id: I2ab4e0f12bf0a3ac1c807f39c5a9a05ee71c720f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Wed, 8 May 2019 18:09:41 +0000 (18:09 +0000)]
Merge "update golang version for kud"
Victor Morales [Tue, 7 May 2019 21:49:47 +0000 (21:49 +0000)]
Merge "Fix pip install/upgrade logic"
Kiran Kamineni [Mon, 6 May 2019 20:09:35 +0000 (13:09 -0700)]
update golang version for kud
Use the 1.12.4 version of golang for kud instead of
the older 1.11 version.
Issue-ID: MULTICLOUD-610
Change-Id: I5dab57da539fef78b3097aa73e6628980d534dde
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Mon, 6 May 2019 18:22:46 +0000 (11:22 -0700)]
Make service port configurable
Service port should be configurable.
This patch removes the hardcoded value.
The default value is 9015
Issue-ID: MULTICLOUD-609
Change-Id: Iae05f42bd06ecd061ec68a3a7c4a4a87f33b22fa
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Samuli Silvius [Mon, 6 May 2019 12:27:42 +0000 (15:27 +0300)]
Fix pip install/upgrade logic
installer.sh has reverse logic for install/upgrade pip
after checking if pip is installed.
Issue-ID: MULTICLOUD-607
Change-Id: Ifc512e80d8da7a37acc771f40e9edd7596388fcb
Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
Kiran Kamineni [Wed, 1 May 2019 19:31:14 +0000 (12:31 -0700)]
Create kubeconfig files in kubeconfig dir
The connectivity api should allow the creation
of kubeconfig files in the kubeconfig dir.
Issue-ID: MULTICLOUD-292
Change-Id: I5ecc92622648c6c90b71ffad433a132e191cf4b3
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 1 May 2019 23:03:47 +0000 (16:03 -0700)]
Merge cloudregionid and connectionname
Merge cloudregionid and connectionname to form cloudregion
Issue-ID: MULTICLOUD-292
Change-Id: If775ec5841636de37e1c10bc6d093c16a36c28dc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Sat, 27 Apr 2019 15:39:21 +0000 (15:39 +0000)]
Merge "Fix multus and ovn tests"
Bin Yang [Fri, 26 Apr 2019 02:00:11 +0000 (02:00 +0000)]
Merge "Use the unstructured type for decode"
Bin Yang [Fri, 26 Apr 2019 02:00:05 +0000 (02:00 +0000)]
Merge "Adding healthcheck for OOM testing"
Xiaohua Zhang [Fri, 26 Apr 2019 01:58:46 +0000 (01:58 +0000)]
Merge "Update info.yaml to add new committer"
Kiran Kamineni [Thu, 25 Apr 2019 00:23:22 +0000 (17:23 -0700)]
Adding healthcheck for OOM testing
Add a heathcheck endpoint for OOM testing
Issue-ID: ONAPARC-363
Change-Id: Id5f77478d331fedb19ac162389d95852e10c5022
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 24 Apr 2019 18:39:17 +0000 (11:39 -0700)]
Use the unstructured type for decode
Use the unstructured type in the into field.
This allows us to remove the convert part of the
code and also allows decoding for CRDs.
Issue-ID: MULTICLOUD-585
Change-Id: I27ecdba7127ce63137dfbcd1c0a6938343b4e759
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Thu, 25 Apr 2019 19:35:07 +0000 (12:35 -0700)]
Updated go.sum created from 1.12.4
Updated go.sum generated from build based on 1.12.4
Issue-ID: MULTICLOUD-587
Change-Id: I92474c20cc58f2b3e7d0085ed57548c19aa896d8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Mon, 22 Apr 2019 10:18:16 +0000 (10:18 +0000)]
Update info.yaml to add new committer
Change-Id: I10dafd4a780d79a5696a39e5f68c1636cf0898c6
Issue-ID: MULTICLOUD-580
Signed-off-by: Bin Yang <bin.yang@windriver.com>
Bin Yang [Wed, 24 Apr 2019 01:41:08 +0000 (01:41 +0000)]
Merge "Remove deployment plugin"
Kiran Kamineni [Tue, 23 Apr 2019 22:06:18 +0000 (15:06 -0700)]
Remove unused variables dockerfile
Remove unused environment variables from
dockerfile
Issue-ID: MULTICLOUD-575
Change-Id: I078d0e176e939a939cb141dcef1b52828cdb2b3a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Tue, 23 Apr 2019 21:49:05 +0000 (14:49 -0700)]
Remove deployment plugin
The deployment plugin does not support managing
resources based on the old v1beta1 resource path.
This is supported by the generic plugin.
We will re-enable this plugin if there is a need for
special actions for deployments.
Issue-ID: MULTICLOUD-583
Change-Id: I20515fe1a4aadaf575f0cc798000d03d1bca0663
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Ritu Sood [Tue, 23 Apr 2019 18:13:53 +0000 (11:13 -0700)]
Move OVN to the latest version
Chnage commit id for OVN
Change-Id: I2b1a6365883ac9f56b4fc7f85d6ea413efe28696
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-578
Ritu Sood [Tue, 23 Apr 2019 18:05:30 +0000 (11:05 -0700)]
Fix multus and ovn tests
The tests were reporting success even when the
interfaces were not created correctly
Change-Id: I41a368e567bfe6d02e98bda495e88d6dee3c51ca
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-578
Bin Yang [Tue, 23 Apr 2019 02:03:08 +0000 (02:03 +0000)]
Merge "Add plugin to the folder names"
Bin Yang [Tue, 23 Apr 2019 02:02:41 +0000 (02:02 +0000)]
Merge "Move configuration into config files"
Bin Yang [Tue, 23 Apr 2019 02:02:25 +0000 (02:02 +0000)]
Merge "Updating Multus to v3.3-tp"
Kiran Kamineni [Tue, 23 Apr 2019 00:17:34 +0000 (17:17 -0700)]
Add plugin to the folder names
Make the folder name as k8splugin in keeping
with the repository name and other references.
Issue-ID: MULTICLOUD-581
Change-Id: Ida36877d0aa4ce156c11bdce9b91cb06f6aee8f9
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Thu, 18 Apr 2019 23:38:20 +0000 (16:38 -0700)]
Move configuration into config files
Move k8splugin configuration into config files
instead of using environment variables.
Issue-ID: MULTICLOUD-579
Change-Id: I7b76d5a14d24f002a8db484097a31fb5e908b6f8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Fri, 19 Apr 2019 09:06:58 +0000 (09:06 +0000)]
Merge "Virtlet Image link broken"
Bin Yang [Fri, 19 Apr 2019 09:06:34 +0000 (09:06 +0000)]
Merge "Support non-namespaced objects in generic plugin"
Ritu Sood [Thu, 18 Apr 2019 00:17:25 +0000 (17:17 -0700)]
Virtlet Image link broken
Fixed link
Change-Id: Ie03f989d1187bb53cff72b8875d951ff3c24c47c
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-301
ritusood [Thu, 18 Apr 2019 14:21:57 +0000 (14:21 +0000)]
Updating Multus to v3.3-tp
Multus team created a tech preview for
Virtlet issue. Moving KUD to that release.
Change-Id: Ib8ed563306594ed87d69140505f45dbd666353dc
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-578
Kiran Kamineni [Wed, 17 Apr 2019 21:51:56 +0000 (14:51 -0700)]
Support non-namespaced objects in generic plugin
Generic plugin is not generic enough right now.
It was assuming that objects are namespaced.
This patch supports both types based on the
Scope field in the mapping.
Issue-ID: MULTICLOUD-557
Change-Id: I3ac512243d183b26cbf0aea2962dcd2a6492c887
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 17 Apr 2019 19:37:50 +0000 (12:37 -0700)]
Fix docker build
Docker build is broken. This patch fixes it.
Issue-ID: MULTICLOUD-575
Change-Id: I0edc900dfc66baa409c92eb656bd5d7886d6aa40
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 17 Apr 2019 01:09:13 +0000 (18:09 -0700)]
Replace Kind with GroupVersionKind
Kind is not unique to track resources in Kubernetes
GroupVersionKind is unique. We are just using that to
track our data. It is abstracted behind a couple of new
types for templates and resources.
This change makes a lot of the old kind based operations
redundant and simplified.
Issue-ID: MULTICLOUD-573
Change-Id: I8f4ded2ba6a0821a8fbd679dc99ce3a44d805524
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Tue, 16 Apr 2019 19:07:51 +0000 (12:07 -0700)]
Rename plugin reference interface
Rename the plugin interface to something
more relevant. KubernetesResource will be
used to describe resources for creation.
Issue-ID: MULTICLOUD-557
Change-Id: I2fff5363b897b968e95b26257d8f26509fb567fd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Mon, 15 Apr 2019 23:27:55 +0000 (16:27 -0700)]
Fix build error
Build is broken because of some changes that were
merged without being rebased on dependent patches.
Issue-ID: MULTICLOUD-350
Change-Id: If8bd455103dea3191fedb39ea525efaafb145953
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Fri, 12 Apr 2019 03:26:10 +0000 (03:26 +0000)]
Merge "Add Connectivity Info API"
Bin Yang [Fri, 12 Apr 2019 03:26:01 +0000 (03:26 +0000)]
Merge "Day 2 Configuration API's"
rsood [Thu, 11 Apr 2019 13:09:00 +0000 (13:09 +0000)]
Add Connectivity Info API
API to add connectivity information for
Cloud Regions to K8s Plugin
https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API%27s
Change-Id: I0a9166df9b076a7fdacf0b2f9e51a9cdebe4b621
Signed-off-by: rsood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-292
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Thu, 11 Apr 2019 12:00:58 +0000 (12:00 +0000)]
Merge "Provider network support when OVN is used"
Bin Yang [Thu, 11 Apr 2019 12:00:25 +0000 (12:00 +0000)]
Merge "Add support for so integration"
Kiran Kamineni [Thu, 11 Apr 2019 04:54:41 +0000 (21:54 -0700)]
Add support for so integration
Add support for the multicloud-api
that is called by SO for instantiation.
Issue-ID: MULTICLOUD-350
Change-Id: Icf9137dae9796ac256c3319b49af6c30b275a4a9
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Thu, 11 Apr 2019 05:48:32 +0000 (05:48 +0000)]
Merge "Add option to start https listener"
Bin Yang [Thu, 11 Apr 2019 05:47:51 +0000 (05:47 +0000)]
Merge "Using the --chown flag to reduce image size"
Kiran Kamineni [Thu, 11 Apr 2019 04:53:45 +0000 (21:53 -0700)]
Add option to start https listener
Added support for tls connection for k8splugin.
It will load the certificates from its current folder.
Any installer needs to just put these files in the same
folder as the executable and it will pick them up and start
in https mode.
Issue-ID: MULTICLOUD-570
Change-Id: I505135daa3933b76023c941e7bee54be65fa791f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
rsood [Wed, 10 Apr 2019 05:00:04 +0000 (05:00 +0000)]
Day 2 Configuration API's
This patch adds Configuration API's
https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API%27s
Change-Id: I52ebfc5aa980ec8af4a31569d569216e9a2a760c
Issue-ID: MULTICLOUD-464
Signed-off-by: rsood <ritu.sood@intel.com>
Kiran Kamineni [Wed, 10 Apr 2019 23:56:34 +0000 (16:56 -0700)]
Using the --chown flag to reduce image size
Patch to reduce the size of the docker image
for multicloud/k8s image
Reduces size by about 300mb
Issue-ID: MULTICLOUD-350
Change-Id: I240c57267180c020b659795ea965f5c0877252fc
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Ritu Sood [Wed, 10 Apr 2019 21:28:08 +0000 (14:28 -0700)]
Provider network support when OVN is used
Example script is provided to create
OVN provider networks. Test case is
provided to place workloads on the OVN
provider network using ovn4nfv-k8s-plugin
Change-Id: I94a9fe4fe0b107e42bbf890093e70233a5f610f5
Signed-off-by: Ritu Sood <ritu.sood@intel.com>
Issue-ID: MULTICLOUD-454
Kiran Kamineni [Mon, 8 Apr 2019 23:36:34 +0000 (16:36 -0700)]
Add support for generic plugin
Add support for generic kinds
We are currently using a known map to find the
group version resource for a kind.
Issue-ID: MULTICLOUD-350
Change-Id: I5a64f73760b73cf92b9a3fab8c22ad54e0a5f84f
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Tue, 9 Apr 2019 21:11:06 +0000 (14:11 -0700)]
Export kubernetesClient
Export kubernetesClient. There are situations where
this will need to be accessed in the plugins and we need
the definition to be exported for that.
Issue-ID: MULTICLOUD-350
Change-Id: I9eee03ea77e390effd33ed96cbbc25dc4cd09cdd
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Wed, 10 Apr 2019 01:00:17 +0000 (01:00 +0000)]
Merge "Fix integration test plugin.sh"
Kiran Kamineni [Thu, 4 Apr 2019 22:38:30 +0000 (15:38 -0700)]
Use consistent naming for Name and Version
Definition Name and Definition Version are now
using the consistent naming similar to the Profile
and instance structure.
Name becomes RBName
Version becomes RBVersion
Issue-ID: MULTICLOUD-350
Change-Id: Ifc329d4979a06cb017c6f9d916c227c696b664e0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Thu, 4 Apr 2019 18:01:21 +0000 (11:01 -0700)]
Fix integration test plugin.sh
Update the integration test plugin.sh
with the latest api changes to instance
management.
Issue-ID: MULTICLOUD-350
Change-Id: Ie451b7378a774f3e382c5a46a9df2bbaf0f273a8
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Thu, 4 Apr 2019 16:54:59 +0000 (09:54 -0700)]
Use common code for executeRequest
Use the common executeRequest function instead
of multiple copies of the same lines for test requests
Issue-ID: MULTICLOUD-557
Change-Id: Icde498b55592333af265fc348f3a286a59b9b61c
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Thu, 4 Apr 2019 09:25:41 +0000 (09:25 +0000)]
Merge "Add url path tests to definition handler"
Bin Yang [Thu, 4 Apr 2019 09:25:30 +0000 (09:25 +0000)]
Merge "Add url path tests to profile handler"
Kiran Kamineni [Wed, 3 Apr 2019 23:07:26 +0000 (16:07 -0700)]
Add url path tests to profile handler
Improve the profile tests by testing the
url path parameters as well.
Issue-ID: MULTICLOUD-547
Change-Id: Ib31a42cc6c3622d17ddc37eb0506ca991d2334c0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 3 Apr 2019 22:48:17 +0000 (15:48 -0700)]
Add url path tests to definition handler
Url path parameters are not tested in the current
unit tests. This is fixed with the use of the same
router that is used by the main program.
Issue-ID: MULTICLOUD-547
Change-Id: Ie162150fb1ecf22766011339e68e03f1067779a0
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Thu, 28 Mar 2019 19:53:13 +0000 (12:53 -0700)]
Refactor instance code
Issue-ID: MULTICLOUD-350
Change-Id: I2574d94e4ebada1e138913b2a03549dd90906d7b
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Akhila Kishore [Fri, 29 Mar 2019 06:18:30 +0000 (23:18 -0700)]
Minor update KRD to KUD
Change-Id: Id553c1300e6559443d87c58abf46bab81bf71535
Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
Issue-ID: MULTICLOUD-301
Victor Morales [Tue, 2 Apr 2019 17:20:12 +0000 (17:20 +0000)]
Merge "Make profile key explicit"
Kiran Kamineni [Mon, 1 Apr 2019 19:47:57 +0000 (12:47 -0700)]
Remove build tags
Remove build tags as this is causing issues where
mock plugins need to be loaded into files that do
unit testing as well.
Full integration testing is being done in the CSIT.
Issue-ID: MULTICLOUD-559
Change-Id: Icd147dac80d16a6fb8f33048c76d4083158cecd2
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Fri, 29 Mar 2019 23:07:47 +0000 (16:07 -0700)]
Make profile key explicit
Using profilename instead of name in the db key
protects it from getting overwritten by anything
else that might use name as a key.
Using explicit key names makes sure that we don't
have to add bson structure tags in the code.
Issue-ID: MULTICLOUD-558
Change-Id: I9bd6f757496af22d8662b0d114f0ef7d33a5784a
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Fri, 29 Mar 2019 16:33:43 +0000 (09:33 -0700)]
Fix merge issue
The TestUpdate method was updated properly with the
merge on to master. This fixes that issue.
Issue-ID: MULTICLOUD-553
Change-Id: I97c95b628fade37304590de59bb4bb6faaeb4450
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Bin Yang [Fri, 29 Mar 2019 05:17:22 +0000 (05:17 +0000)]
Merge "Fix document typo in readme.md"
Bin Yang [Fri, 29 Mar 2019 05:17:07 +0000 (05:17 +0000)]
Merge "Add update method to db interface"
Kiran Kamineni [Fri, 29 Mar 2019 04:08:00 +0000 (21:08 -0700)]
Fix document typo in readme.md
Fix some small typos in the readme.md file
Issue-ID: MULTICLOUD-350
Change-Id: I7ad44170ce773779e5c19711618ac8c349b618a9
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Wed, 27 Mar 2019 18:54:55 +0000 (11:54 -0700)]
Add update method to db interface
Add update interface to the db.
This will allow us to support PUT http methods
in the future.
Issue-ID: MULTICLOUD-553
Change-Id: I7263d42e893734eadbdaf78022005d6004601772
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
Kiran Kamineni [Fri, 15 Mar 2019 22:18:12 +0000 (15:18 -0700)]
Update definition and profile to latest spec
Bringing all the definition and profile code upto the latest spec.
Integrated the end to end instance code changes that were made.
P9: Added updated plugin.sh with updated uri paths based on spec
Issue-ID: MULTICLOUD-291
Change-Id: Id6e3c6bc2cd02cfb7005e203ccf03e0793b97e95
Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>