multicloud/k8s.git
5 years agoBump virtlet to 1.4.3 and criproxy to 0.14.0 23/74623/1
Victor Morales [Thu, 13 Dec 2018 09:18:03 +0000 (01:18 -0800)]
Bump virtlet to 1.4.3 and criproxy to 0.14.0

Change-Id: I6507c294b8ac4be7ec3561560229282c7f4f0257
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoIntegrate OVN4NFV plugin 51/73751/7
Victor Morales [Tue, 27 Nov 2018 13:13:11 +0000 (05:13 -0800)]
Integrate OVN4NFV plugin

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

5 years agoMerge "Enable downloading binaries and containers"
Victor Morales [Fri, 7 Dec 2018 18:29:04 +0000 (18:29 +0000)]
Merge "Enable downloading binaries and containers"

5 years agoMerge "Bump vagrant version to 2.2.2"
Victor Morales [Fri, 7 Dec 2018 18:28:45 +0000 (18:28 +0000)]
Merge "Bump vagrant version to 2.2.2"

5 years agoEnable downloading binaries and containers 97/74397/1
Victor Morales [Thu, 6 Dec 2018 14:17:34 +0000 (06:17 -0800)]
Enable downloading binaries and containers

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

5 years agoBump kubernetes version to 1.12.3 74/74274/2
Victor Morales [Wed, 5 Dec 2018 08:30:04 +0000 (00:30 -0800)]
Bump kubernetes version to 1.12.3

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

5 years agoBump kubespray version to 2.8.0 84/74284/1
Victor Morales [Wed, 5 Dec 2018 09:28:06 +0000 (01:28 -0800)]
Bump kubespray version to 2.8.0

Change-Id: Ie7287f0bd0940fae67af2b1374c7be2fef37844e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoBump vagrant version to 2.2.2 73/74273/1
Victor Morales [Wed, 5 Dec 2018 08:27:20 +0000 (00:27 -0800)]
Bump vagrant version to 2.2.2

Change-Id: Ia94ce1ea3efa19952f8b9ef69fba0684b9c6b2bb
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoUse temporal workaround 28/71428/2
Victor Morales [Mon, 29 Oct 2018 14:46:18 +0000 (07:46 -0700)]
Use temporal workaround

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

5 years agoRefactor integration tests 50/73750/1
Victor Morales [Tue, 27 Nov 2018 12:31:15 +0000 (04:31 -0800)]
Refactor integration tests

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

5 years agoMerge "Bump vagrant version to 2.2.1"
Victor Morales [Mon, 26 Nov 2018 16:15:23 +0000 (16:15 +0000)]
Merge "Bump vagrant version to 2.2.1"

5 years agoBump vagrant version to 2.2.1 71/73271/2
Victor Morales [Wed, 21 Nov 2018 09:48:06 +0000 (01:48 -0800)]
Bump vagrant version to 2.2.1

Change-Id: Ifddbb8b137acc40f7d0c719ff1b861e1ea5a6320
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-387

5 years agoCentralizes version of components 18/73318/1
Victor Morales [Wed, 21 Nov 2018 16:23:08 +0000 (08:23 -0800)]
Centralizes version of components

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

5 years agoMerge "Add upload backend implementation"
Victor Morales [Wed, 21 Nov 2018 23:18:39 +0000 (23:18 +0000)]
Merge "Add upload backend implementation"

5 years agoAdd upload backend implementation 05/73205/2
Kiran Kamineni [Tue, 20 Nov 2018 22:32:50 +0000 (14:32 -0800)]
Add upload backend implementation

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>
5 years agoMerge "Document All-in-One Bare-Metal provisioning"
Bin Hu [Wed, 21 Nov 2018 16:01:03 +0000 (16:01 +0000)]
Merge "Document All-in-One Bare-Metal provisioning"

5 years agoDocument All-in-One Bare-Metal provisioning 49/72949/4
Victor Morales [Fri, 16 Nov 2018 16:29:07 +0000 (08:29 -0800)]
Document All-in-One Bare-Metal provisioning

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

5 years agoRevert kube_proxy_mode mode to iptables 99/73199/1
Victor Morales [Tue, 20 Nov 2018 15:38:59 +0000 (07:38 -0800)]
Revert kube_proxy_mode mode to iptables

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

5 years agoReconcile names in code and Jira items 49/72849/5
Kiran Kamineni [Fri, 16 Nov 2018 01:09:54 +0000 (17:09 -0800)]
Reconcile names in code and Jira items

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>
5 years agoChange deployment approach 91/71091/2
Victor Morales [Tue, 23 Oct 2018 10:47:50 +0000 (03:47 -0700)]
Change deployment approach

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

5 years agoEnable Istio 16/72716/2
Victor Morales [Wed, 14 Nov 2018 17:15:36 +0000 (09:15 -0800)]
Enable Istio

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

5 years agoCreate UTs to cover DB calls 90/71090/2
Victor Morales [Tue, 23 Oct 2018 18:54:58 +0000 (11:54 -0700)]
Create UTs to cover DB calls

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

5 years agoAdd vnf definition APIs 60/71760/9 casablanca 3.0.0-ONAP
Kiran Kamineni [Wed, 31 Oct 2018 23:24:32 +0000 (16:24 -0700)]
Add vnf definition APIs

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>
5 years agoMerge "Bumb andrewrothstein.go role to 2.1.10"
Victor Morales [Thu, 8 Nov 2018 16:24:38 +0000 (16:24 +0000)]
Merge "Bumb andrewrothstein.go role to 2.1.10"

5 years agoMerge "Fix start.sh script"
Bin Hu [Thu, 8 Nov 2018 00:21:33 +0000 (00:21 +0000)]
Merge "Fix start.sh script"

5 years agoBumb andrewrothstein.go role to 2.1.10 39/72139/1
Victor Morales [Wed, 7 Nov 2018 23:36:49 +0000 (15:36 -0800)]
Bumb andrewrothstein.go role to 2.1.10

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

5 years agoMerge "Change proxy-mode from iptables to ipvs"
Victor Morales [Wed, 7 Nov 2018 22:51:52 +0000 (22:51 +0000)]
Merge "Change proxy-mode from iptables to ipvs"

5 years agoFix start.sh script 34/72134/1
Victor Morales [Wed, 7 Nov 2018 14:26:43 +0000 (06:26 -0800)]
Fix start.sh script

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

5 years agoMerge "Add context into for sink service selector"
Victor Morales [Mon, 5 Nov 2018 17:11:50 +0000 (17:11 +0000)]
Merge "Add context into for sink service selector"

5 years agoChange proxy-mode from iptables to ipvs 88/71888/1
Victor Morales [Mon, 5 Nov 2018 10:39:53 +0000 (02:39 -0800)]
Change proxy-mode from iptables to ipvs

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

5 years agoMigrate from dep to go mod 92/71592/1
Kiran Kamineni [Wed, 31 Oct 2018 21:58:09 +0000 (14:58 -0700)]
Migrate from dep to go mod

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>
5 years agoMerge "Change Vagrant default provider"
Victor Morales [Tue, 30 Oct 2018 19:10:53 +0000 (19:10 +0000)]
Merge "Change Vagrant default provider"

5 years agoAdd context into for sink service selector 31/71431/1
Victor Morales [Mon, 29 Oct 2018 18:01:55 +0000 (11:01 -0700)]
Add context into for sink service selector

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

5 years agoChange Vagrant default provider 27/71427/1
Victor Morales [Mon, 29 Oct 2018 14:29:56 +0000 (07:29 -0700)]
Change Vagrant default provider

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

5 years agoBump golang version to 1.11 26/71426/2
Victor Morales [Mon, 29 Oct 2018 14:21:06 +0000 (07:21 -0700)]
Bump golang version to 1.11

Change-Id: I177cd017f75e4155f7e9b9a73869ea7fff24195a
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-387

5 years agoMerge "Fix populate typo"
Victor Morales [Thu, 25 Oct 2018 21:41:56 +0000 (21:41 +0000)]
Merge "Fix populate typo"

5 years agoFix populate typo 97/71197/1
Victor Morales [Wed, 24 Oct 2018 23:38:27 +0000 (16:38 -0700)]
Fix populate typo

Change-Id: I413b5548d8f24f1ff8e50d76d6982276683956ae
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoFix README references 10/71110/1
Victor Morales [Tue, 23 Oct 2018 17:48:03 +0000 (10:48 -0700)]
Fix README references

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

5 years agoFix non-existing all.yml file 12/71012/1
Victor Morales [Mon, 22 Oct 2018 15:40:21 +0000 (08:40 -0700)]
Fix non-existing all.yml file

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

5 years agoMerge "Bump multus version to 3.1"
Victor Morales [Sat, 20 Oct 2018 20:29:49 +0000 (20:29 +0000)]
Merge "Bump multus version to 3.1"

5 years agoBump multus version to 3.1 80/70780/4
Ritu Sood [Thu, 18 Oct 2018 17:10:39 +0000 (10:10 -0700)]
Bump multus version to 3.1

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

5 years agoMerge "Improve build process"
Bin Yang [Fri, 19 Oct 2018 07:41:04 +0000 (07:41 +0000)]
Merge "Improve build process"

5 years agoMerge "Bump vagrant version to 2.2.0"
Victor Morales [Fri, 19 Oct 2018 04:08:57 +0000 (04:08 +0000)]
Merge "Bump vagrant version to 2.2.0"

5 years agoMerge "Add License headers"
Victor Morales [Fri, 19 Oct 2018 04:08:48 +0000 (04:08 +0000)]
Merge "Add License headers"

5 years agoMerge "Add edgex yaml to helm based template"
Victor Morales [Fri, 19 Oct 2018 04:08:35 +0000 (04:08 +0000)]
Merge "Add edgex yaml to helm based template"

5 years agoAdd edgex yaml to helm based template 93/70393/4
Kiran Kamineni [Thu, 11 Oct 2018 10:13:15 +0000 (03:13 -0700)]
Add edgex yaml to helm based template

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>
5 years agoImprove build process 85/70785/1
Victor Morales [Thu, 18 Oct 2018 20:39:45 +0000 (13:39 -0700)]
Improve build process

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

5 years agoAdd License headers 51/70751/1
Victor Morales [Thu, 18 Oct 2018 09:50:32 +0000 (02:50 -0700)]
Add License headers

Change-Id: I1502c812f29ca8a6d1f819b9459c00597be09305
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoRemove source /etc/environemnt instruction 42/70742/1
Victor Morales [Thu, 18 Oct 2018 08:24:25 +0000 (01:24 -0700)]
Remove source /etc/environemnt instruction

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

5 years agoBump vagrant version to 2.2.0 68/70668/1
Victor Morales [Wed, 17 Oct 2018 08:18:06 +0000 (01:18 -0700)]
Bump vagrant version to 2.2.0

Change-Id: I18e2c79a7f4dbbd6f02fef20c782660c579784ff
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoHybrid Functional test for vFirewall 16/70516/3
Victor Morales [Mon, 15 Oct 2018 17:25:02 +0000 (10:25 -0700)]
Hybrid Functional test for vFirewall

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

5 years agoMerge "Improve setup.sh script"
Victor Morales [Tue, 16 Oct 2018 15:21:48 +0000 (15:21 +0000)]
Merge "Improve setup.sh script"

5 years agoMerge "Add more Ubuntu Cloud images"
Victor Morales [Tue, 16 Oct 2018 15:21:43 +0000 (15:21 +0000)]
Merge "Add more Ubuntu Cloud images"

5 years agoImprove setup.sh script 15/70515/1
Victor Morales [Mon, 15 Oct 2018 17:10:54 +0000 (10:10 -0700)]
Improve setup.sh script

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

5 years agoAdd more Ubuntu Cloud images 14/70514/1
Victor Morales [Mon, 15 Oct 2018 17:04:23 +0000 (10:04 -0700)]
Add more Ubuntu Cloud images

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

5 years agoEnable vhost_net module in nodes. 13/70513/1
Victor Morales [Mon, 15 Oct 2018 16:56:39 +0000 (09:56 -0700)]
Enable vhost_net module in nodes.

This change enables the vhost_net driver which emulates the
virtio-net network card in the host kernel.

Change-Id: Ibdcb6f0c1d196a2d64622ecc81acc89e56ffef62
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoMerge "Using VirtletCloudInitUserData section"
Victor Morales [Mon, 8 Oct 2018 15:32:01 +0000 (15:32 +0000)]
Merge "Using VirtletCloudInitUserData section"

5 years agoMerge "Set 30080 port for Kubernetes Dashboard"
Victor Morales [Fri, 5 Oct 2018 23:11:52 +0000 (23:11 +0000)]
Merge "Set 30080 port for Kubernetes Dashboard"

5 years agoMerge "Bump virtlet version to 1.4.1"
Victor Morales [Fri, 5 Oct 2018 22:46:15 +0000 (22:46 +0000)]
Merge "Bump virtlet version to 1.4.1"

5 years agoMerge "Fix installation order"
Victor Morales [Fri, 5 Oct 2018 22:46:09 +0000 (22:46 +0000)]
Merge "Fix installation order"

5 years agoMerge "Remove default kubespray config values"
Victor Morales [Fri, 5 Oct 2018 22:45:41 +0000 (22:45 +0000)]
Merge "Remove default kubespray config values"

5 years agoMerge "Bump kubespray version to 2.7.0"
Victor Morales [Fri, 5 Oct 2018 22:45:28 +0000 (22:45 +0000)]
Merge "Bump kubespray version to 2.7.0"

5 years agoUsing VirtletCloudInitUserData section 45/69945/1
Victor Morales [Fri, 5 Oct 2018 15:35:07 +0000 (08:35 -0700)]
Using VirtletCloudInitUserData section

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

5 years agoBump virtlet version to 1.4.1 71/69871/1
Victor Morales [Thu, 4 Oct 2018 16:57:16 +0000 (09:57 -0700)]
Bump virtlet version to 1.4.1

Change-Id: I9e20333f506674533ed6711d265a95d4defaa4e0
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoFix installation order 70/69870/1
Victor Morales [Thu, 4 Oct 2018 16:41:12 +0000 (09:41 -0700)]
Fix installation order

The current order of the installation instructions in the setup.sh
script causes issues in some systems, mainly because they are lacking
of certain basic packages. This change includes the python packages
and fix the order of execution.

Change-Id: I73de55fc9d49a75953e3fbdde8290757adcadd7a
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoImprove Nested-Virtualization enablement 78/69778/2
Victor Morales [Wed, 3 Oct 2018 18:02:51 +0000 (11:02 -0700)]
Improve Nested-Virtualization enablement

The I61d13ebbdbc0abc208042dde56d4d6b498570955 enables Intel
Nested-Virtualization on Kubernetes Nodes without considering
the current status and/or architecture. This change consider
those values during the enablement process.

Change-Id: I3544e73a61ce98c159b4496f0fba35f9795ba89a
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoSet 30080 port for Kubernetes Dashboard 49/69849/1
Victor Morales [Thu, 4 Oct 2018 08:53:45 +0000 (01:53 -0700)]
Set 30080 port for Kubernetes Dashboard

This change allows to use a specific port for the Kubernetes
Dashboard which avoids to discover it later.

Change-Id: Ia2ae07678ec9b96d4644c6d2dc926527359b101f
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoRemove default kubespray config values 48/69848/1
Victor Morales [Thu, 4 Oct 2018 08:28:02 +0000 (01:28 -0700)]
Remove default kubespray config values

The amount of configuration values included in the KRD is huge and
needs to be reduced as minimum possible for showing the features that
need to be setup in Kubespray. This change removes the default
configuration values and enables NGINX Ingress controller.

Change-Id: I8f3f62bf0bbf24f4874657acff575a2819deaede
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoBump kubespray version to 2.7.0 79/69779/2
Victor Morales [Wed, 3 Oct 2018 18:12:05 +0000 (11:12 -0700)]
Bump kubespray version to 2.7.0

Change-Id: I9d8cd095797804fe96d36b0a08354247096351df
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoMerge "Enable Nested Virtualization in Nodes"
Victor Morales [Wed, 3 Oct 2018 15:07:16 +0000 (15:07 +0000)]
Merge "Enable Nested Virtualization in Nodes"

5 years agoMerge "Fix build.sh deployment script"
Bin Hu [Tue, 2 Oct 2018 02:05:34 +0000 (02:05 +0000)]
Merge "Fix build.sh deployment script"

5 years agoEnable Nested Virtualization in Nodes 41/69641/1
Victor Morales [Mon, 1 Oct 2018 15:49:07 +0000 (08:49 -0700)]
Enable Nested Virtualization in Nodes

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

5 years agoFix build.sh deployment script 99/69599/1
Victor Morales [Mon, 1 Oct 2018 09:25:27 +0000 (02:25 -0700)]
Fix build.sh deployment script

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

5 years agoMerge "Improve Services UTs"
Victor Morales [Sat, 29 Sep 2018 16:43:58 +0000 (16:43 +0000)]
Merge "Improve Services UTs"

5 years agoMerge "Improve Namespaces UTs"
Victor Morales [Sat, 29 Sep 2018 16:43:50 +0000 (16:43 +0000)]
Merge "Improve Namespaces UTs"

5 years agoMerge "Improve Deployments UTs"
Victor Morales [Sat, 29 Sep 2018 16:43:44 +0000 (16:43 +0000)]
Merge "Improve Deployments UTs"

5 years agoMerge "Add UTs for plugins module"
Victor Morales [Sat, 29 Sep 2018 16:43:37 +0000 (16:43 +0000)]
Merge "Add UTs for plugins module"

5 years agoImprove Services UTs 95/69195/1
Victor Morales [Wed, 26 Sep 2018 15:21:13 +0000 (08:21 -0700)]
Improve Services UTs

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

5 years agoImprove Deployments UTs 07/69007/2
Victor Morales [Tue, 25 Sep 2018 16:43:42 +0000 (09:43 -0700)]
Improve Deployments UTs

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

5 years agoCreate code coverage report 89/68989/2
Victor Morales [Tue, 25 Sep 2018 22:46:19 +0000 (15:46 -0700)]
Create code coverage report

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

5 years agoImprove Namespaces UTs 09/69009/1
Victor Morales [Tue, 25 Sep 2018 17:33:15 +0000 (10:33 -0700)]
Improve Namespaces UTs

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

5 years agoAdd UTs for plugins module 01/69001/1
Victor Morales [Tue, 25 Sep 2018 15:39:05 +0000 (08:39 -0700)]
Add UTs for plugins module

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

5 years agoFix ensure Namespace function 29/68929/1
Victor Morales [Tue, 25 Sep 2018 10:32:37 +0000 (03:32 -0700)]
Fix ensure Namespace function

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

5 years agoMerge "Add UTs to plugins"
Victor Morales [Fri, 21 Sep 2018 14:58:25 +0000 (14:58 +0000)]
Merge "Add UTs to plugins"

5 years agoAdd EdgeX Foundry example VNFs 01/67501/2
Shashank Kumar Shankar [Tue, 18 Sep 2018 22:24:26 +0000 (15:24 -0700)]
Add EdgeX Foundry example VNFs

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>
5 years agoAdd UTs to plugins 31/67531/1
Victor Morales [Wed, 19 Sep 2018 00:19:00 +0000 (17:19 -0700)]
Add UTs to plugins

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

5 years agoMerge "Refactor plugin.sh functional test"
Bin Hu [Tue, 18 Sep 2018 05:46:41 +0000 (05:46 +0000)]
Merge "Refactor plugin.sh functional test"

5 years agoMerge "Remove NFD from list of AddOns"
Bin Hu [Tue, 18 Sep 2018 05:45:15 +0000 (05:45 +0000)]
Merge "Remove NFD from list of AddOns"

5 years agoRefactor plugin.sh functional test 73/67073/1
Victor Morales [Mon, 17 Sep 2018 11:42:59 +0000 (04:42 -0700)]
Refactor plugin.sh functional test

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

5 years agoMerge "Separate tests"
Victor Morales [Mon, 17 Sep 2018 15:29:27 +0000 (15:29 +0000)]
Merge "Separate tests"

5 years agoMerge "Bump kubernetes version to v1.11.3"
Victor Morales [Mon, 17 Sep 2018 15:29:08 +0000 (15:29 +0000)]
Merge "Bump kubernetes version to v1.11.3"

5 years agoMerge "Bump virtlet version to 1.3.0"
Victor Morales [Mon, 17 Sep 2018 15:29:02 +0000 (15:29 +0000)]
Merge "Bump virtlet version to 1.3.0"

5 years agoMerge "Complete Plugin Functional tests"
Victor Morales [Mon, 17 Sep 2018 15:28:53 +0000 (15:28 +0000)]
Merge "Complete Plugin Functional tests"

5 years agoMerge "Refactor Functional tests"
Victor Morales [Mon, 17 Sep 2018 15:28:07 +0000 (15:28 +0000)]
Merge "Refactor Functional tests"

5 years agoRemove NFD from list of AddOns 53/67053/1
Victor Morales [Mon, 17 Sep 2018 08:27:58 +0000 (01:27 -0700)]
Remove NFD from list of AddOns

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

5 years agoBump vagrant version to 2.1.5 51/67051/1
Victor Morales [Mon, 17 Sep 2018 08:26:02 +0000 (01:26 -0700)]
Bump vagrant version to 2.1.5

Change-Id: Ib6375ea6e512afd5f1aac1267c753e50a1724a04
Signed-off-by: Victor Morales <victor.morales@intel.com>
Issue-ID: MULTICLOUD-301

5 years agoMerge "Downgrade multus version"
Bin Hu [Sat, 15 Sep 2018 04:08:17 +0000 (04:08 +0000)]
Merge "Downgrade multus version"

5 years agoMerge "Change metadata.yaml structure"
Bin Hu [Sat, 15 Sep 2018 04:03:48 +0000 (04:03 +0000)]
Merge "Change metadata.yaml structure"

5 years agoMerge "Change working dir in Vagrantfile"
Bin Hu [Sat, 15 Sep 2018 04:02:41 +0000 (04:02 +0000)]
Merge "Change working dir in Vagrantfile"

5 years agoSeparate tests 65/66765/1
Victor Morales [Fri, 14 Sep 2018 21:33:28 +0000 (14:33 -0700)]
Separate tests

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