summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-10-04Bump virtlet version to 1.4.1Victor Morales1-1/+1
Change-Id: I9e20333f506674533ed6711d265a95d4defaa4e0 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-03Merge "Enable Nested Virtualization in Nodes"Victor Morales1-0/+4
2018-10-02Merge "Fix build.sh deployment script"Bin Hu2-2/+4
2018-10-01Enable Nested Virtualization in NodesVictor Morales1-0/+4
Compute nodes require to enable Nested-Virtualization to smooth the provisioning of Virtual Machines using Virtlet Kubernetes Add. This change includes the instructions to enable it in the Nodes. Change-Id: I61d13ebbdbc0abc208042dde56d4d6b498570955 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-01Fix build.sh deployment scriptVictor Morales2-2/+4
The build.sh file didn't include the GOPATH variable which in some cases was causing some building failures. This change includes a source instruction at beginining of the file. Change-Id: I718411fd90ede74decbaac7efc5c065aa5a853fc Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-29Merge "Improve Services UTs"Victor Morales1-33/+104
2018-09-29Merge "Improve Namespaces UTs"Victor Morales2-31/+67
2018-09-29Merge "Improve Deployments UTs"Victor Morales1-34/+105
2018-09-29Merge "Add UTs for plugins module"Victor Morales2-5/+104
2018-09-26Improve Services UTsVictor Morales1-33/+104
The current implementation of Unit Tests for Services wasn't validating sucessful cases properly. This change fix that gap and increase the coverage number. Change-Id: Ib5daa607f38e490ced471a129a5fa71b2d4eb133 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-26Improve Deployments UTsVictor Morales1-34/+105
The current implementation of Unit Tests for Deployments wasn't validating sucessful cases properly. This change fix that gap and increase the coverage number. Change-Id: I9b891d700c152c9b57d6b5858867a7439ac83f3f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-25Create code coverage reportVictor Morales2-1/+7
The cover action target allows the creation of code coverage report during the Jenkins Job execution, giving an idea of the impact of the change submitted. Change-Id: Ia2b8d57a0f9235ace021baaa6f74370b6656e58f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-25Improve Namespaces UTsVictor Morales2-31/+67
The current implementation of Unit Tests for Namespaces wasn't validating sucessful cases properly. This change fix that gap and increase the coverage number. Change-Id: Iddc0aca3b52ea8ffebca7dccfc94d4d99e052b06 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-25Add UTs for plugins moduleVictor Morales2-5/+104
The KRD plugins module wasn't cover by Unit Tests that ensure their functionality. This change create Unit Tests that guarantees basic use cases. Change-Id: Idac9179bfb7b805ebadc60d9d1a41e73a6f13be7 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-25Fix ensure Namespace functionVictor Morales1-4/+7
The I1e1eb40f1a18ba33c74069a117462c8df17767ac change standarizes the Interface for the plugins, this changes affects callers and it's necessary to update those references. This change fix that issue for Namespace Kubernetes resources. Change-Id: I04c957fdd526401523b72e332b6e24385a7ceefe Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-21Merge "Add UTs to plugins"Victor Morales13-166/+777
2018-09-19Add EdgeX Foundry example VNFsShashank Kumar Shankar27-1/+851
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-18Add UTs to pluginsVictor Morales13-166/+777
Deployment, service and namespace are plugins which offers CRUD operations to manage their resources. They haven't implemented Unit Tests which makes fragile to change/refactor the source code. This change adds their corresponding Unit Tests and defines a standard interface. Change-Id: I1e1eb40f1a18ba33c74069a117462c8df17767ac Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-18Merge "Refactor plugin.sh functional test"Bin Hu2-66/+74
2018-09-18Merge "Remove NFD from list of AddOns"Bin Hu1-15/+1
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 "Separate tests"Victor Morales5-9/+31
2018-09-17Merge "Bump kubernetes version to v1.11.3"Victor Morales1-1/+1
2018-09-17Merge "Bump virtlet version to 1.3.0"Victor Morales1-1/+1
2018-09-17Merge "Complete Plugin Functional tests"Victor Morales1-16/+20
2018-09-17Merge "Refactor Functional tests"Victor Morales7-683/+743
2018-09-17Remove NFD from list of AddOnsVictor Morales1-15/+1
The Node Feature Discovery AddOn has been included as part of the capabilities supported by the KRD but it has been detected some issues when its services are trying to start. Given that this feature is not necessary for this phase it can be excluded from the default list. The _install_crictl function is not consumed by any other method, this also includes its removal. Change-Id: I771a8865894038b91324a9cb3797c2197666f480 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-17Bump vagrant version to 2.1.5Victor Morales1-3/+3
Change-Id: Ib6375ea6e512afd5f1aac1267c753e50a1724a04 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-15Merge "Downgrade multus version"Bin Hu1-1/+1
2018-09-15Merge "Change metadata.yaml structure"Bin Hu2-90/+76
2018-09-15Merge "Change working dir in Vagrantfile"Bin Hu1-1/+1
2018-09-14Separate testsVictor Morales5-9/+31
The current tests can be separated in two categories: unit test and integration tests. The criteria depends on the scope or dependencies required for the test. This change provides a mechanism to test only one category. Change-Id: Ib7bac49cb0b2d14544fb9704345436a7ba71aead Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-14Downgrade multus versionVictor Morales1-1/+1
The latest version was causing that containers hanging for ever. This change modifies the version used for Multus to a stable release. Change-Id: Ida58d7ca0d2d4bbde28081743c4ae44e94ecb229 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-14Bump kubernetes version to v1.11.3Victor Morales1-1/+1
Change-Id: I23289a04ad63da13c51b242f1374c526f4b9e80b Issue-ID: MULTICLOUD-301 Signed-off-by: Victor Morales <victor.morales@intel.com>
2018-09-14Bump virtlet version to 1.3.0Victor Morales1-1/+1
Change-Id: I96c9519a282a5806002ac2c61a49eda5ff8b8e90 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-13Refactor Functional testsVictor Morales7-683/+743
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-13Change working dir in VagrantfileVictor Morales1-1/+1
Given that the source code is shared to a different location is necessary to reflect this change in the Vagrantfile Change-Id: Iad47b49c5720d0d1a76fa9fa60c4d1ba60d0ab51 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-13Fix paths in tox.ini fileVictor Morales1-1/+4
The execution of tox tool was including some paths that are not part of the project, therefore they need to be excluded. This change modifies the tox.ini file to exclude them. Change-Id: I7dd6cfa006805e812c93fdcb5ebbc37311408ab5 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-13Change metadata.yaml structureVictor Morales2-90/+76
The metadata.yaml was using a list of resources instead of a set. As result, it's possible to add resources that are duplicated. In order to avoid this the ResourceTypePathMap field was changed. Change-Id: Ic454a9c42fa367b58580641b62b3d1c7ac33b1ca Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-11Complete Plugin Functional TestsVictor Morales3-27/+97
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 Morales6-16/+95
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 Morales4-15/+47
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-09-06Merge "Move mock plugin compilation"Bin Hu1-12/+9
2018-09-05Use local changes to build imagesVictor Morales3-7/+4
The current implementation is using an external copy of the source code to buil the docker image. This approach makes hard to debug and try new changes during development phase. This change allows to sync local source code folder between host and guest machines. Change-Id: Ia723499f0e113e5adebb46a0cea6662f703695e5 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-05Merge "Bump multus and virtlet versions"Victor Morales1-2/+2
2018-09-05Merge "Add alternative sources.list file"Victor Morales3-0/+7
2018-09-05Merge "Add PLUGINS_DIR var"Bin Hu1-0/+1
2018-09-05Move mock plugin compilationVictor Morales1-12/+9
The instruction that compiles the Mock plugin is only required during the testing, therefore this instruction can be moved in different place in the Makefile Change-Id: Ib800b2b39992a1020e466aa3f22cada5ac84bcf6 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-09-05Bump multus and virtlet versionsVictor Morales1-2/+2
Change-Id: Iaa7506eef1ccabcf400bc07c5b8f4c1b45c57781 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301