aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-05-14Add missing jq package installationSamuli Silvius4-0/+36
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>
2019-05-13vFW test case wrong urls and versionRitu Sood1-6/+6
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>
2019-05-13Merge "Move OVN to the latest version"Victor Morales1-1/+1
2019-05-13Merge "Disable building of K8s plugin in KUD deployment"Bin Yang1-1/+1
2019-05-09Source /etc/environment for testsSamuli Silvius1-0/+2
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>
2019-05-08Disable building of K8s plugin in KUD deploymentAkhila Kishore1-1/+1
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>
2019-05-08Check always returns true for install_pluginKiran Kamineni1-1/+1
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>
2019-05-08Update Readme to reflect the new golang versionKiran Kamineni1-7/+13
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>
2019-05-08Merge "update golang version for kud"Bin Yang1-1/+1
2019-05-07Merge "Fix pip install/upgrade logic"Victor Morales1-2/+2
2019-05-06update golang version for kudKiran Kamineni1-1/+1
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>
2019-05-06Make service port configurable0.1.0Kiran Kamineni4-2/+6
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>
2019-05-06Fix pip install/upgrade logicSamuli Silvius1-2/+2
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>
2019-05-02Create kubeconfig files in kubeconfig dirKiran Kamineni6-21/+150
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>
2019-05-01Merge cloudregionid and connectionnameKiran Kamineni2-15/+8
Merge cloudregionid and connectionname to form cloudregion Issue-ID: MULTICLOUD-292 Change-Id: If775ec5841636de37e1c10bc6d093c16a36c28dc Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-27Merge "Fix multus and ovn tests"Bin Yang2-6/+11
2019-04-26Merge "Use the unstructured type for decode"Bin Yang2-10/+4
2019-04-26Merge "Adding healthcheck for OOM testing"Bin Yang4-0/+100
2019-04-26Merge "Update info.yaml to add new committer"Xiaohua Zhang1-42/+53
2019-04-25Adding healthcheck for OOM testingKiran Kamineni4-0/+100
Add a heathcheck endpoint for OOM testing Issue-ID: ONAPARC-363 Change-Id: Id5f77478d331fedb19ac162389d95852e10c5022 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-25Use the unstructured type for decodeKiran Kamineni2-10/+4
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>
2019-04-25Updated go.sum created from 1.12.4Kiran Kamineni1-71/+7
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>
2019-04-24Update info.yaml to add new committerBin Yang1-42/+53
Change-Id: I10dafd4a780d79a5696a39e5f68c1636cf0898c6 Issue-ID: MULTICLOUD-580 Signed-off-by: Bin Yang <bin.yang@windriver.com>
2019-04-24Merge "Remove deployment plugin"Bin Yang2-381/+0
2019-04-23Remove unused variables dockerfileKiran Kamineni1-6/+0
Remove unused environment variables from dockerfile Issue-ID: MULTICLOUD-575 Change-Id: I078d0e176e939a939cb141dcef1b52828cdb2b3a Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-04-23Remove deployment pluginKiran Kamineni2-381/+0
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>
2019-04-23Move OVN to the latest versionRitu Sood1-1/+1
Chnage commit id for OVN Change-Id: I2b1a6365883ac9f56b4fc7f85d6ea413efe28696 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-578
2019-04-23Fix multus and ovn testsRitu Sood2-6/+11
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
2019-04-23Merge "Add plugin to the folder names"Bin Yang1-3/+3
2019-04-23Merge "Move configuration into config files"Bin Yang11-50/+210
2019-04-23Merge "Updating Multus to v3.3-tp"Bin Yang2-7/+12
2019-04-22Add plugin to the folder namesKiran Kamineni1-3/+3
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>
2019-04-19Move configuration into config filesKiran Kamineni11-50/+210
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>
2019-04-19Merge "Virtlet Image link broken"Bin Yang1-1/+1
2019-04-19Merge "Support non-namespaced objects in generic plugin"Bin Yang1-3/+20
2019-04-18Virtlet Image link brokenRitu Sood1-1/+1
Fixed link Change-Id: Ie03f989d1187bb53cff72b8875d951ff3c24c47c Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-301
2019-04-18Updating Multus to v3.3-tpritusood2-7/+12
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
2019-04-17Support non-namespaced objects in generic pluginKiran Kamineni1-3/+20
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>
2019-04-17Fix docker buildKiran Kamineni1-1/+1
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>
2019-04-16Replace Kind with GroupVersionKindKiran Kamineni13-261/+509
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>
2019-04-16Rename plugin reference interfaceKiran Kamineni1-7/+8
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>
2019-04-15Fix build errorKiran Kamineni1-3/+3
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>
2019-04-12Merge "Add Connectivity Info API"Bin Yang3-0/+256
2019-04-12Merge "Day 2 Configuration API's"Bin Yang16-14/+1966
2019-04-11Add Connectivity Info APIrsood3-0/+256
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>
2019-04-11Merge "Provider network support when OVN is used"Bin Yang2-0/+256
2019-04-11Merge "Add support for so integration"Bin Yang3-0/+395
2019-04-11Add support for so integrationKiran Kamineni3-0/+395
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>
2019-04-11Merge "Add option to start https listener"Bin Yang6-1/+214
2019-04-11Merge "Using the --chown flag to reduce image size"Bin Yang1-2/+3