summaryrefslogtreecommitdiffstats
path: root/kud
AgeCommit message (Collapse)AuthorFilesLines
2019-05-28Fix IP address for sink podRitu Sood2-5/+6
IP address was incorrect for sink Change-Id: I28962cedeecd25b136eecf39786b4daed6ae9c26 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-653
2019-05-27Merge "Update vFW Helm chart"Bin Yang7-24/+43
2019-05-24Update vFW Helm chartRitu Sood7-24/+43
Fixed sink containers to use the right containers and also fixed IP addresses. Some cleanup Change-Id: Id7ed7fe48c9e37f5d3c52c02c0585af7511c5efe Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-653
2019-05-23Install jq as an dependency for yqSamuli Silvius5-33/+43
Before using yq binary we need to install also its dependency jq. This commit is fixing jq installation in case it was required as dependency for yq. Also refactored a bit dependency installations of tests. Issue-ID: MULTICLOUD-617 Change-Id: I0ea1143befa1cff809c231422b5cfb14fba1de4e Signed-off-by: Samuli Silvius <s.silvius@partner.samsung.com>
2019-05-23Merge "Adding helm charts for vFirewall."Bin Yang19-0/+487
2019-05-22vFW usecase updateRitu Sood4-24/+40
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>
2019-05-22Adding helm charts for vFirewall.Akhila Kishore19-0/+487
The charts are complete with templating and basic constructs. They need to be modified in terms of chart dependency and also address network configuration. Addressed comments, changed network config values and included subcharts. Removed redundent vars. Removed shell vars and updated sink. Updated vars. Removed escape chars from password which and removed comment in pod annotations. Removed comments from network files. Changed the deployment file lables for all 3 charts. Extricated some of the values addressed by comments. Set global vars. Updated sink-service labels. Change-Id: Id6fc2e066c8a6c5b33b65caae3a49637521c3133 Issue-ID: MULTICLOUD-628 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-05-22Merge "Fixing ansible version"Bin Yang2-3/+6
2019-05-21Fixing ansible versionMichal Ptacek2-3/+6
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>
2019-05-20Merge "Preventing installer.sh execution to hang"Victor Morales1-1/+0
2019-05-16Preventing installer.sh execution to hangMichal Ptacek1-1/+0
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>
2019-05-15vFW usecase install unzip packageRitu Sood3-3/+3
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
2019-05-15Merge "Add missing jq package installation"Victor Morales4-0/+36
2019-05-14vFW packages and scripts version mismatchRitu Sood3-3/+6
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>
2019-05-14Merge "Make aio.sh rerunnable"Victor Morales1-0/+2
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-14Make aio.sh rerunnableSamuli Silvius1-0/+2
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>
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-08Merge "update golang version for kud"Bin Yang1-1/+1
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-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-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 "Updating Multus to v3.3-tp"Bin Yang2-7/+12
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-10Provider network support when OVN is usedRitu Sood2-0/+256
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
2019-04-04Fix integration test plugin.shKiran Kamineni1-21/+22
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>
2019-04-02Minor update KRD to KUDAkhila Kishore1-1/+1
Change-Id: Id553c1300e6559443d87c58abf46bab81bf71535 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com> Issue-ID: MULTICLOUD-301
2019-03-26Update definition and profile to latest specKiran Kamineni1-28/+37
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>
2019-03-26Merge "Fix namespace creation"Bin Yang1-1/+1
2019-03-26Merge "Enable random_hostname vagrant-libvirt value"Bin Yang1-3/+6
2019-03-25Fix namespace creationRitu Sood1-1/+1
Namespace is being created by k8splugin if it doesn't exist. This is done before other resources are created in kubernetes. This patch removes check that failed if namespace didn't exist Change-Id: I8c5b2409ad1cf77d5f529f601870fcf87e8e8760 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: MULTICLOUD-462
2019-03-24Updating the path inside README.Akhila Kishore1-1/+1
Correcting the path to diagram.png on the Readme in KUD folder. Change-Id: I6be0c4137f810277d81593bfb0f62b1b2332540b Issue-ID: MULTICLOUD-301 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>
2019-03-22Enable random_hostname vagrant-libvirt valueVictor Morales1-3/+6
This configuration value allows to generate Libvirt instances with randomly domain names generated. As result, it's possible to use this project in the same server but in different folders at the same time. As part of the change, it was necessary to centraliza some Libvirt common configurations. Change-Id: Ie6adf3f40de7a8cced875b0c899738f9f6449181 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-03-22Restructuring the repo.Akhila Kishore131-0/+7443
The idea is to restructure the existing repo create a deployment independent of Vagrant or other hosting providers. Renamed KRD to KUbernetes Deploy(Kud) including the ansible scripts Added new path to functional tests. Moved samples pdfs to sites. Minor changes to Readme. Updated aio.sh, moved sample config Corrected other nits. Updated and verified test cases. Addressed comments and changes associated with it. Updated Readme and minor change in Vagrantfile. Validated test cases again. Moved aio.sh into vagrant folder. Added new README for each hosting provider and project on the whole. Updated the installer script with relative path. Updated the name to deployment_infra, moved the cFW sripcts to tests. Updated the gitignore file. Issue-ID: MULTICLOUD-301 Change-Id: Ie48c26b12ab58b604493fba58a9c5b9f8ba10942 Signed-off-by: Akhila Kishore <akhila.kishore@intel.com>