icn.git
4 years agoFix bash format and Makefile bug 56/1856/1 ci-test
chengli3 [Mon, 28 Oct 2019 06:06:41 +0000 (14:06 +0800)]
Fix bash format and Makefile bug

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I775ddb60185209c11f0539e5aa268bd35a73b450

4 years agoAllow running multiple jobs 46/1846/1
chengli3 [Fri, 25 Oct 2019 09:28:47 +0000 (17:28 +0800)]
Allow running multiple jobs

The Vm created by vagrant has the same name. So we add a random suffix
to alllow running multiple jobs.

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I8adfba55192f7a965c4a4a18277a6c747fd7514c

4 years agoInstall private jenkins for CD jobs 40/1840/6
chengli3 [Thu, 24 Oct 2019 10:44:36 +0000 (18:44 +0800)]
Install private jenkins for CD jobs

This patch is to create ansible playbook for jenkins installation.
The private jenkins is for CD jobs. So it needs vagrant/libvirt to
create VMs.

Also this patch covers the jjb scripts.

Signed-off-by: chengli3 <cheng1.li@intel.com>
Change-Id: I5a2f050a269842aa9cb6258c0039ae2573553087

4 years agochanges to Makefile 25/1825/1
Kuralamudhan Ramakrishnan [Wed, 23 Oct 2019 01:37:09 +0000 (18:37 -0700)]
changes to Makefile

Change-Id: I6e04a383335adeb3e3b377c7119756925c614e77

4 years agoAdd bashate verification and fix shell errors 95/1795/2
chengli3 [Thu, 17 Oct 2019 04:53:09 +0000 (12:53 +0800)]
Add bashate verification and fix shell errors

This patch is to add bashate verification. The verification ignores line
too line error. To ensure the test pass, I also fix the shell errors
reported by bashate:
1. delete line ending spaces
2. avoid 'do' in a single line
3. ensure indent is multiple of 4
4. fix function declare
...

Change-Id: Id7112f898a9c56048801455696d32266d9deb19f
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoAdding TLS authentication 15/1715/1
enyinna1234 [Fri, 13 Sep 2019 00:13:40 +0000 (17:13 -0700)]
Adding TLS authentication

This creates auth.go and adds tls authentication to main.go.
Also, containerization is introduced using Dockerfile.
It also fixes patch 1431 revert issues

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: I7f6d8d210618e4630e9240c3596ced2f672df67e

4 years agoAdd the script for Jenkins setup 14/1714/1
chengli3 [Mon, 9 Sep 2019 02:17:14 +0000 (10:17 +0800)]
Add the script for Jenkins setup

This patch is to add the script/ansible_playbook for Jenkins setup:
1. Setup jenkins server by leverage jenkins role from galaxy
2. Add akraino gerrit server to gerrit list
3. Add pipeline job for ICN CI check

Change-Id: I2baf2a35ba246faab8a7be599af7bd5b2123dd79

4 years agoAdd the initial Jenkinsfile for test purpose 13/1713/1
chengli3 [Fri, 20 Sep 2019 03:11:28 +0000 (11:11 +0800)]
Add the initial Jenkinsfile for test purpose

Change-Id: Iff077dd1cdc1142d9354cf86e65015e18071bba6

4 years agoImplement MinIO as cloud storage for RESTAPI agent 12/1712/1
Chen, Tingjie [Tue, 27 Aug 2019 07:38:45 +0000 (07:38 +0000)]
Implement MinIO as cloud storage for RESTAPI agent

Current support with patchHandler, since MinIO support multipart upload
and resumable download, it is no need to add special implementation
with tus protocol for resumable upload on cloud storage.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I0e928d3401168ea946b5d6790312842e0a54784d

4 years agoRevert "Patch 1431" 11/1711/1
Enyinna Ochulor [Mon, 16 Sep 2019 18:45:29 +0000 (18:45 +0000)]
Revert "Patch 1431"

This reverts commit 316f4dbb4033cf3278880bd0661fbe8533621a40.

Change-Id: Iea85ba5083b26f2e75ca7aee5eeed3d6bc4e79a4

4 years agoAdd MinIO Server with Kubernetes deployment 10/1710/1
Chen, Tingjie [Mon, 16 Sep 2019 14:03:07 +0000 (14:03 +0000)]
Add MinIO Server with Kubernetes deployment

Since Local controller support one node only, deploy standalone mode.
Using local persistent volume instead of hostpath.

Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
Change-Id: I91eaa7c14fdd112a8232e655b571ddeddfe5ccec

4 years agoImplementing image update inside patchHandler 31/1431/2 abandoned dev/icn-v0.1.0
enyinna1234 [Mon, 19 Aug 2019 23:47:30 +0000 (16:47 -0700)]
Implementing image update inside patchHandler

This updates the README, deletes file from file system
after DELETE, and does some refactoring.

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: Ic9bacb798ba7cdc567229d6e3191688b9f301ca5

4 years agoMerge "Add script for usb bootable support" into dev/icn-v0.1.0
Cheng Li [Mon, 19 Aug 2019 04:16:15 +0000 (04:16 +0000)]
Merge "Add script for usb bootable support" into dev/icn-v0.1.0

4 years agoAdd script for usb bootable support 19/1319/6
chengli3 [Fri, 2 Aug 2019 09:52:56 +0000 (17:52 +0800)]
Add script for usb bootable support

Co-Authored-By: songongjun <gongjun.song@intel.com>
Change-Id: Ic7cb87a2910a4fb47aa825b6e6705ea779c14778
Signed-off-by: chengli3 <cheng1.li@intel.com>
4 years agoMerge "Add SRIOV and QAT device plugin deploy components" into dev/icn-v0.1.0
Huifeng Le [Mon, 19 Aug 2019 03:19:42 +0000 (03:19 +0000)]
Merge "Add SRIOV and QAT device plugin deploy components" into dev/icn-v0.1.0

4 years agoadding bug fixes in kud and metal3 script 27/1427/2
Kuralamudhan Ramakrishnan [Sat, 17 Aug 2019 08:12:20 +0000 (01:12 -0700)]
adding bug fixes in kud and metal3 script

Change-Id: I2ac99d944ad542282267b29ed5b7482767a74616

4 years agoMerge "Adding Initial ICN API Service" into dev/icn-v0.1.0
Kuralamudhan Ramakrishnan [Sat, 17 Aug 2019 01:51:54 +0000 (01:51 +0000)]
Merge "Adding Initial ICN API Service" into dev/icn-v0.1.0

4 years agoMerge "Fixed Bug in controller" into dev/icn-v0.1.0
Kuralamudhan Ramakrishnan [Sat, 17 Aug 2019 01:48:27 +0000 (01:48 +0000)]
Merge "Fixed Bug in controller" into dev/icn-v0.1.0

4 years agoFixed Bug in controller 24/1424/2
Itohan [Sat, 17 Aug 2019 00:53:58 +0000 (17:53 -0700)]
Fixed Bug in controller

Modified controller to properly
create hosts.ini file for KUD

Issue-ID: ICN-8
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I86541e475aecf9641d20a862c385df0012637b06

4 years agoadding bpa features and required build components 25/1425/2
Kuralamudhan Ramakrishnan [Sat, 17 Aug 2019 01:26:32 +0000 (18:26 -0700)]
adding bpa features and required build components

Change-Id: Ie88a6339c0652b41d3fe03ac340b4965ef1d465c

4 years agoMerge "BPA Provisioning CRD and Controller" into dev/icn-v0.1.0
Kuralamudhan Ramakrishnan [Fri, 16 Aug 2019 21:06:58 +0000 (21:06 +0000)]
Merge "BPA Provisioning CRD and Controller" into dev/icn-v0.1.0

4 years agoMerge "inital Makefile struct with bm metal3" into dev/icn-v0.1.0
Kuralamudhan Ramakrishnan [Fri, 16 Aug 2019 20:47:56 +0000 (20:47 +0000)]
Merge "inital Makefile struct with bm metal3" into dev/icn-v0.1.0

4 years agoinital Makefile struct with bm metal3 22/1422/1
Kuralamudhan Ramakrishnan [Fri, 16 Aug 2019 19:27:35 +0000 (12:27 -0700)]
inital Makefile struct with bm metal3

Change-Id: Icceed6c014c867926cd413cbfa0a086736ead6b7

4 years agoAdding Initial ICN API Service 64/1364/3
enyinna1234 [Tue, 30 Jul 2019 16:50:34 +0000 (09:50 -0700)]
Adding Initial ICN API Service

This adds create for adding images to the db, read for listing
images, delete for removing images from the database, and update
for changing image description.

Signed-off-by: Enyinna Ochulor <enyinna.ochulor@intel.com>
Change-Id: I8f524c2b5cfef6bc7749b2dc272574c937f24a03

4 years agoBPA Provisioning CRD and Controller 63/1363/6
Itohan [Fri, 9 Aug 2019 20:36:58 +0000 (13:36 -0700)]
BPA Provisioning CRD and Controller

Provisioning CRD and Controller for BPA

Issue-ID: ICN-8
Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com>
Change-Id: I4111701ce40fc359064af36627c8d001ee9b476b

4 years agoMerge "Add Rook operator and Ceph cluster bring up script" into dev/icn-v0.1.0
Cheng Li [Fri, 16 Aug 2019 10:28:11 +0000 (10:28 +0000)]
Merge "Add Rook operator and Ceph cluster bring up script" into dev/icn-v0.1.0

4 years agoAdd Rook operator and Ceph cluster bring up script 82/1282/8
Chen, Tingjie [Tue, 30 Jul 2019 08:43:08 +0000 (08:43 +0000)]
Add Rook operator and Ceph cluster bring up script

Change-Id: I7f296701ac1126852fee6b0c57b79c2e53455da2
Signed-off-by: Chen, Tingjie <tingjie.chen@intel.com>
4 years agoadding inital packages for bootstrap cluster 74/1274/7
Kuralamudhan Ramakrishnan [Fri, 26 Jul 2019 19:44:04 +0000 (12:44 -0700)]
adding inital packages for bootstrap cluster

Change-Id: Ie8020c6669f709a90608bedf5146e1216bc01070

4 years agoAdd SRIOV and QAT device plugin deploy components 59/1359/1
hle2 [Sat, 3 Aug 2019 01:32:04 +0000 (09:32 +0800)]
Add SRIOV and QAT device plugin deploy components

Add deploy components include (1) SRIOV/QAT libraries (2) device plugin
yaml for SRIOV/QAT device plugin.

Change-Id: I1ae395d4d51d187d8fc5cb8f7a4d5b5e50ea8433

4 years agoinital commit for repo stucture 36/1236/1
Kuralamudhan Ramakrishnan [Mon, 22 Jul 2019 08:53:32 +0000 (01:53 -0700)]
inital commit for repo stucture

Change-Id: Id65945b214a66dbd71a4d80a514632d519437fe7

4 years agoAdded .gitreview file 30/1230/1
Houa Yang [Fri, 19 Jul 2019 20:33:35 +0000 (15:33 -0500)]
Added .gitreview file

This file is needed for git review which is required by for all developers and am forcing this through..

Signed-off-by: Houa Yang <hyang@contractor.linuxfoundation.org>
Change-Id: I1ef9c588028f136cecea5a1d6606573902b01ac9

4 years agoInitial empty repository
Houa Yang [Wed, 15 May 2019 00:46:28 +0000 (00:46 +0000)]
Initial empty repository