summaryrefslogtreecommitdiffstats
path: root/vagrant/tests
AgeCommit message (Collapse)AuthorFilesLines
2019-03-22Restructuring the repo.Akhila Kishore103-5439/+0
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>
2019-03-21Merge "Bring in all the other helper code"Victor Morales1-3/+3
2019-03-20Merge "Add cFW scripts folder"Bin Yang10-0/+337
2019-03-19Bring in all the other helper codeKiran Kamineni1-3/+3
Bring in all the helper functions added for end to end integration. This allows the api level upload of helm charts, profiles and also instantiation of said helm charts. P3: Plugin index is based on lowercase kind name whereas the map contains the correct case for kind. Convert to lower case before loading the plugin. Changes after rebasing on the new folder structure. Rebasing over the new folder structure P8: Add unit tests for Resolve function Fix the integration tests for createvnf I had to add a huge blob of base64 encoded data based on the profile and sample helm chart to test the flow. P12: Update the integration test with the rb_profile_id parameter Issue-ID: MULTICLOUD-291 Change-Id: If04c41cb185074989ab6c96557958140c43e456d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-03-08Merge "Add test helm chart for testing"Victor Morales16-9/+576
2019-03-08Add test helm chart for testingKiran Kamineni16-9/+576
Add a test helm chart for testing the end to end flow. This chart brings up a service and a deployment. The deployment brings up two containers, vault and consul. Vault and Consul are brought up in dev mode. The helm chart also has a subchart, common, which contains templates that are used within the main chart. Added an override deployment.yaml which creates only one container instead of two Fixed plugin.sh and tar file creation steps Issue-ID: MULTICLOUD-291 Change-Id: I7eb10c9f43f8a4e09938139b5e2edee5d59feb3b Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2019-02-28Add cFW scripts folderVictor Morales10-0/+337
The Dockerfiles that are used for building the Docker images during the testing the Hybrid Firewall ONAP use case are hosted in an external repo. This change includes the latest working version for those scripts. Change-Id: I92c10c3161820ac09a94ff997c6bc39617278965 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-06Remove external script referencesVictor Morales1-5/+5
The integration_* test scripts have some references to external repositories that are out of the ONAP project scope. This change removes those references to keep everything defined in this repo. Change-Id: I0e829c6215efaf3cde9f5198f235b15350ac8235 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-02-06Add vFW scripts folderVictor Morales6-0/+343
The bash scripts that are used for testing the Firewall ONAP use case are hosted in an external repo. This change includes the latest working version for those scripts. Change-Id: Ic2d371a3e715d867cb4e61e0ad13da812edeea45 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2019-01-03Bump kubernetes client to 1.12.3Kiran Kamineni3-7/+7
Bumping up the kubernetes client library used to kubernetes 1.12.3 We will move it to v10.0.0 once our k8s deployment moves to 1.13.0 Bumping kubectl version to 1.12.2 as andrewrothstein/ansible-kubectl does not have 1.12.3 in its main.yml Issue-ID: MULTICLOUD-301 Change-Id: Ifb2eaecb794bfdec19d631fdc9ece051d5ebfc60 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-12-14Migrating from consul to mongodb for backendKiran Kamineni1-1/+1
Migrating to mongodb from consul. The main reason being the value size limitation of 512kb in consul. See https://jira.onap.org/browse/MULTICLOUD-426 for details. This requires a little bit of hierarchy management and data management. We are no longer converting structs to json encoded strings. The underlying db supports structs without any modifications. Also, since Mongo has the concept of collections, each submodule can use its own collection for storage as needed. Definition uses a collection called rbdef right now. P10: Enabling unit tests for mongo.go. This requires the usage of aliased functions. P11: Expanded unit tests for all functions in mongo.go P12: Refactored parameter validation. Removed TestHealthCheck as we are not mocking any of the db commands right now Checking return value of read with an expected value P13: Adding back consul support. Fixing functional test Full consul implementation check and modifications is being tracked by MULTICLOUD-427 P15: Fix ReadAll unit test and corresponding code ReadAll now returns error when no objects are found Issue-ID: MULTICLOUD-426 Change-Id: I42d239b324025fc4ef4e561790aceeff794001ef Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-12-07Integrate OVN4NFV pluginVictor Morales4-40/+248
This change includes the files to install, configure and test the OVN4NFV plugin. Change-Id: I0c431e475bd391e13680c734cff555e4dfc055ae Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-304
2018-11-27Refactor integration testsVictor Morales4-84/+113
The integration tests were sharing names and IP ranges in the creation of CSAR files. Those values can be centralized to have better control over them. Change-Id: I85642dbb57af1cf8908880614dffb36855ca3899 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-15Change deployment approachVictor Morales1-1/+1
This change pretends to isolate the deployment script and make it consumable externally. Change-Id: I7b9859fcc55e03e706aa54d4bc632ed15b4313be Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-408
2018-11-14Enable IstioVictor Morales2-0/+41
This commit includes the playbook that installs and configure Istio Service Mesh services. It also defines a draft script for testing its sample. Change-Id: I7f0049aae4ae0033356c370a0e86d583e7bf744f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-406
2018-10-29Add context into for sink service selectorVictor Morales1-0/+3
In order to narrow down the number of the endpoints to one. This change provides a context in the selector section. Change-Id: If1ebe744fc43ad9ec6ebbc513f397e55dae13dd9 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-24Fix populate typoVictor Morales6-15/+15
Change-Id: I413b5548d8f24f1ff8e50d76d6982276683956ae Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-20Merge "Bump multus version to 3.1"Victor Morales1-30/+31
2018-10-20Bump multus version to 3.1Ritu Sood1-30/+31
Change-Id: Id98a0ef126a4121cc8e33c95672f1dd552b1560f Signed-off-by: Ritu Sood <ritu.sood@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-271
2018-10-19Merge "Add License headers"Victor Morales1-180/+9
2018-10-18Add edgex yaml to helm based templateKiran Kamineni57-0/+1339
Add existing deployment and service yaml files into a helm chart that can reused. Currently splitting out consul and mongo as subcharts while keeping the rest under the main edgex chart. P2: Convert to different label selectors P3: Keep the old configuration yaml in a seperate kubernetes folder P4: Removed common chart with the templates. We are using only a small subset which we can expand locally via Helm Variables Issue-ID: MULTICLOUD-376 Change-Id: I8e0682c7d1d2433b9754209b2f3eedb790df5464 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-18Add License headersVictor Morales1-180/+9
Change-Id: I1502c812f29ca8a6d1f819b9459c00597be09305 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-16Hybrid Functional test for vFirewallVictor Morales4-17/+334
This change provides the bash instructions for running an hybrid scenario (Virtual Machine and Containers) of the ONAP vFirewall use case. Change-Id: I2bb7843118c31895d0b5fe1987cced2be29672cb Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-05Using VirtletCloudInitUserData sectionVictor Morales3-39/+113
The VirtletCloudInitUserData section defines instructions used by cloud-init service to post-provisioning VMs. But this section cannot be used with VirtletCloudInitUserDataScript in the Deployment file definition. This changer replaces these virtlet sections. Change-Id: I03f5fee223d43b21ceadd50bc356cec4e96cab23 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-19Add EdgeX Foundry example VNFsShashank Kumar Shankar26-0/+848
This patch adds EdgeX Foundry sample VNFs for integration testing. Change-Id: I570850832854b76df3ba9613252b0b46302210f3 Signed-off-by: Shashank Kumar Shankar <shashank.kumar.shankar@intel.com> Issue-ID: MULTICLOUD-301 Signed-off-by: Victor Morales <victor.morales@intel.com>
2018-09-17Refactor plugin.sh functional testVictor Morales2-66/+74
There are some instructions located in plugin.sh script which can be exported to a common place like _common.sh library. This change moves those instructions. Change-Id: I44aeaf75ea70aa2148b17bbcb82314ea339d7a00 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-17Merge "Complete Plugin Functional tests"Victor Morales1-16/+20
2018-09-13Refactor Functional testsVictor Morales6-680/+739
The current implementation of Functional tests didn't allow to reuse some functionality. This change exposes common functions and methods to populated CSAR folders. Change-Id: I8f4daf9a0a12633f952677b3e15de42bea5226e6 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-13Complete Plugin Functional testsVictor Morales1-16/+20
The script that consumes the Plugin Endpoints to ensuring its funtionality was completed. This change helps to covers all the endpoints exposed by the API. Change-Id: I56d1412debd3942d42484389a1c3ff04aa3da563 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-11Complete Plugin Functional TestsVictor Morales1-20/+64
It was fixed the issue to connect the plugin with the consul DB. This was a main roadblock to complete the functional Tests for the plugin. Change-Id: I3032e82a8f6baf4739c7433a5ffa97dac23daac8 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-10Add no_proxy config value to docker-compose.ymlVictor Morales1-1/+1
The no_proxy configuration value was missing in the docker-compose.yml this was causing a different behaviour when the functional tests were running and consuming the services on the container. Change-Id: Ie88e88d50e0ec9c4aa0d03367f2a9d25edccb753 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-06Improve compilation processVictor Morales1-2/+2
The current architecture offers the possibility to add more plugins and extend the its functionality. This flexibility has to be supported during the compilation process. This change modify the Makefile to find plugins and compile them. It also adds a start.sh script which allows to run MultiCloud services without the need of packaging their binaries in a container. Change-Id: I9271c51daa4fd9156717e37f1818886c72e36c27 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-08-30Add KRD source codeVictor Morales11-0/+1388
This changes includes the source code created for the Kubernetes Reference Deployment(KRD) which helps to provide an automated mechanism to install and configure Kubernetes services required for the MultiCloud/K8s plugin. Change-Id: Ica49566fcd531e25846ed3e5062de2f92ec56f6c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301