summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-12-07Enable downloading binaries and containersVictor Morales11-83/+126
The *download_run_once* kubespray config option allows to download container images only once then push to cluster nodes and the *download_localhost* option makes the installer node a delegate for pushing images while running the deployment with ansible. These two options pretends to reduce the amount of traffic during the deployment time of the Kubernetes cluster. Change-Id: I8239cebbf5c322ed52ae0a0bc8774e5e33aada3c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-425
2018-12-05Bump kubernetes version to 1.12.3Victor Morales1-1/+1
This version address the CVE-2018-1002105 security issue. https://discuss.kubernetes.io/t/kubernetes-security-announcement-v1-10-11-v1-11-5-v1-12-3-released-to-address-cve-2018-1002105/3700 Change-Id: I2d13c2f5a42db9492652e4e54b946099c9b83dca Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-12-05Bump kubespray version to 2.8.0Victor Morales2-1/+2
Change-Id: Ie7287f0bd0940fae67af2b1374c7be2fef37844e Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-27Use temporal workaroundVictor Morales1-6/+6
Multus CNI require a change to allow Virtlet to use multiple nics. This change has been submitted and it's waiting for approvals, this is a workaround in the meantime. Change-Id: Ia3c9769bcb33d08e5545e133e09b95f6742d099b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
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-26Merge "Bump vagrant version to 2.2.1"Victor Morales1-1/+1
2018-11-21Bump vagrant version to 2.2.1Victor Morales1-1/+1
Change-Id: Ifddbb8b137acc40f7d0c719ff1b861e1ea5a6320 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-387
2018-11-21Centralizes version of componentsVictor Morales8-12/+30
The galaxy roles used by KRD requires to centralize their version used in the playbook/krd-vars.yml file, this file facilitates the version control and helps as single point of truth. Change-Id: If4544f529ff00689dc6cd6bca7e8adc0c876aa18 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-21Merge "Add upload backend implementation"Victor Morales7-5/+396
2018-11-21Add upload backend implementationKiran Kamineni7-5/+396
Upload is a seperate API where it takes a binary stream and stores it. The api supports tar.gz file format only. P2: Check if ID is valid before trying upload Add test with an invalid ID Issue-ID: MULTICLOUD-393 Change-Id: Id636a95823a046e1795d3be72d0214e953a8c5fc Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-11-21Merge "Document All-in-One Bare-Metal provisioning"Bin Hu7-6/+224
2018-11-20Document All-in-One Bare-Metal provisioningVictor Morales7-6/+224
This document describe the proces to do an All-in-One deployment in a Bare-Metal deployment, listing the Hardware and Software minimal requirements, it also uses the aio.sh bash script for reducing the number of manual steps. Vagrantfile and installer.sh has been modified to disable functional tests by default and includes the passwordless sudo verification. Change-Id: Iec7b0bb37d2a46342e6b7e60bed37dbdf2019a10 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-408
2018-11-20Revert kube_proxy_mode mode to iptablesVictor Morales1-1/+1
Ipvs proxy mode affects the functionality of Virtlet. Therefore it's necessary to revert this change to its default option which is iptables. Change-Id: Id31bbd0dbbf6eaa4b29c71930c3f9e8a9d057285 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-19Reconcile names in code and Jira itemsKiran Kamineni6-278/+279
k8splugin manages deployment of resource bundles and these are not restricted to vnfs. This names' change is to reflect that functionality. P2: using rb instead of resource bundle Issue-ID: MULTICLOUD-410 Change-Id: I09e0b92a8fc13562e1c6bb17dc8bc13de97264d7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-11-15Change deployment approachVictor Morales5-74/+49
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 Morales7-2/+100
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-11-13Create UTs to cover DB callsVictor Morales11-456/+980
This change pretends to increase the code coverage creating Unit Tests for the interactions with the Databases. Change-Id: I3b78ebe8ddb131e3c06bcee0065ad5eabeed5677 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-08Add vnf definition APIs3.0.0-ONAPcasablancaKiran Kamineni13-5/+1008
Adding APIs for POST, GET, LIST (implemented via GET) and DELETE commands on /v1/vnfd base for creating, getting, listing and deleting VNF Definitions. P2: Added unit tests for vnfdhandler.go P3: Add unit tests for serialize and deserialize P4: Integrating review comments P5: Added customizable mocking for vnfdhandler_test P6: Added customizablt mocking for vnfd_test Note that this will soon need to be updated once the db changes go through in patch 71090 Issue-ID: MULTICLOUD-393 Change-Id: Id509bed370ab3bdc572c6ead22324c1ee3dbf82d Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com> Signed-off-by: Victor Morales <victor.morales@intel.com>
2018-11-08Merge "Bumb andrewrothstein.go role to 2.1.10"Victor Morales1-1/+1
2018-11-08Merge "Fix start.sh script"Bin Hu1-1/+2
2018-11-07Bumb andrewrothstein.go role to 2.1.10Victor Morales1-1/+1
This version installs golang 1.11.2 by default on the server nodes Change-Id: I0526f5c792d907ca9b25df0bdbbe38be43628aba Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-07Merge "Change proxy-mode from iptables to ipvs"Victor Morales1-0/+6
2018-11-07Fix start.sh scriptVictor Morales1-1/+2
The start bash script is used during development phase to quickly test some changes in source code. This script requires to get the IP address of the Consul database and export the image name. This change fixes those instructions Change-Id: I73c4c4be0a9476304bedcd4c62a723ff1ecc7f7c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-11-05Merge "Add context into for sink service selector"Victor Morales1-0/+3
2018-11-05Change proxy-mode from iptables to ipvsVictor Morales1-0/+6
Kubespray uses iptables by default for implementing a form of virtual IP. Ipvs has better performance when syncing proxy rules than iptables. This change sets that configuration option. Change-Id: Idd054a786284c54ceee1770d7774975b0ed43430 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-31Migrate from dep to go modKiran Kamineni6-517/+103
Migrate from dep to go mod which is native package management functionality in golang 1.11 Issue-ID: MULTICLOUD-392 Change-Id: I9a94cb38bd230738d7d0e586e6956b7a46472dd7 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2018-10-30Merge "Change Vagrant default provider"Victor Morales1-1/+1
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-29Change Vagrant default providerVictor Morales1-1/+1
Vagrant uses VirtualBox as default provider, but given that it's not fully supported in this project its better to change that behaviour. This change makes Libvirt as default Vagrant provider. Change-Id: Ib80636f8c595280d425901a8914548d199606fdc Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-29Bump golang version to 1.11Victor Morales1-1/+1
Change-Id: I177cd017f75e4155f7e9b9a73869ea7fff24195a Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-387
2018-10-25Merge "Fix populate typo"Victor Morales6-15/+15
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-23Fix README referencesVictor Morales2-2/+6
The README file contains references to images in the docs folder. These references haven't properly updated. Change-Id: I4b16f5b1249512811239e9f8013081c1e30de02b Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-22Fix non-existing all.yml fileVictor Morales1-1/+1
The all.yml file contains global configuration used by kubespray. During the initial execution this file doesn't exist and its execution can raise an error. This change fix that scenario. Change-Id: I1f0c0134ccbc439b6a6c3e26c993cf498bb8dbf8 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-20Merge "Bump multus version to 3.1"Victor Morales3-45/+49
2018-10-20Bump multus version to 3.1Ritu Sood3-45/+49
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 "Improve build process"Bin Yang4-19/+55
2018-10-19Merge "Bump vagrant version to 2.2.0"Victor Morales1-1/+1
2018-10-19Merge "Add License headers"Victor Morales6-182/+46
2018-10-19Merge "Add edgex yaml to helm based template"Victor Morales57-0/+1339
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-18Improve build processVictor Morales4-19/+55
The build process is used by Jenkins Daily Jobs to generate images as well as the provisioning vagrant process. This change pretends to satisfy both processes. Change-Id: I53d77b0e64f2482e612e59d5a3881fae53c63cbd Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-18Add License headersVictor Morales6-182/+46
Change-Id: I1502c812f29ca8a6d1f819b9459c00597be09305 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-18Remove source /etc/environemnt instructionVictor Morales2-4/+1
Apparently this instruction is overriding the GOROOT value during the execution in the Jenkins Jobs. Change-Id: I97768db029ae21939bfde4753f87387ea976985c Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-17Bump vagrant version to 2.2.0Victor Morales1-1/+1
Change-Id: I18e2c79a7f4dbbd6f02fef20c782660c579784ff 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-16Merge "Improve setup.sh script"Victor Morales1-1/+23
2018-10-16Merge "Add more Ubuntu Cloud images"Victor Morales1-0/+4
2018-10-15Improve setup.sh scriptVictor Morales1-1/+23
The setup.sh script contains instructions to configure and install dependencies for this project. This change includes instructions to enable nested-virtualization. Change-Id: I35b66d08f0e3813d18e661f73edc04fd2cf585fe Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
2018-10-15Add more Ubuntu Cloud imagesVictor Morales1-0/+4
The initial implementation only defined Ubuntu Xenial Cloud image This change adds more official images for future testing. Change-Id: I6dd8d5cfa9ecc598a52100e2db8e74fdd364a79f Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301