iec.git
3 months agoFix: Clean up all doc errors 61/5161/1
Eric Ball [Tue, 6 Aug 2024 17:38:38 +0000 (10:38 -0700)]
Fix: Clean up all doc errors

Issue-ID: RELENG-4799
Change-Id: I126862e6ac422c7b8108f061efff324cbf93ec6c
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
3 months agoFix: All pre-commit lint fixes 60/5160/1
Eric Ball [Tue, 6 Aug 2024 16:38:40 +0000 (09:38 -0700)]
Fix: All pre-commit lint fixes

Issue-ID: LF-Jira RELENG-4799
Change-Id: Ic40aa366cac010a8b4f457d746c8ca6ab34c8777
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
3 months agoChore: Move linting from coala to pre-commit 59/5159/1
Eric Ball [Tue, 6 Aug 2024 16:37:42 +0000 (09:37 -0700)]
Chore: Move linting from coala to pre-commit

Issue-ID: LF-Jira RELENG-4799
Change-Id: I561f1c3165e36cbb9f49b2312ab00cfc6ac9f7f6
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
2 years agoAdd a http performance test script based on wrk 33/5033/1
trevor tao [Wed, 9 Nov 2022 07:08:10 +0000 (15:08 +0800)]
Add a http performance test script based on wrk

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I1eb70a0f5211239dc3fa8cfe8d7136fe76360d21

2 years agoUpgrade Calico to v3.24.3 32/5032/1
trevor tao [Mon, 31 Oct 2022 13:55:55 +0000 (21:55 +0800)]
Upgrade Calico to v3.24.3

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ia3369e9136033542eee5fafc06fb636520682fcb

2 years agoCheck the Manifest information after create 48/4948/1
trevor tao [Tue, 19 Jul 2022 08:55:30 +0000 (16:55 +0800)]
Check the Manifest information after create

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I12fe91b301882ccd9c8e462c446524916b0f4877

2 years agoEnable/restore eBPF DP scripts for Calico CNI 46/4946/1
trevor tao [Wed, 13 Jul 2022 10:51:33 +0000 (18:51 +0800)]
Enable/restore eBPF DP scripts for Calico CNI

1. enable_bpf.sh
Enable eBPF dataplane, which will disable kube-proxy
at the same time;

2. restore_bpf.sh
Disable eBPF dataplane, which will enable kube-proxy
at the same time.

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I0055b3f8e40eea8e23170091281ce338e511ee10

2 years agoRevise a print error for test_service script 45/4945/1
trevor tao [Wed, 13 Jul 2022 09:24:50 +0000 (17:24 +0800)]
Revise a print error for test_service script

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I3ef49b3fa856caf7e5c1e78f8bd101adc3d4c8b0

2 years agoAdd time_connect to service latency test script 44/4944/1
trevor tao [Wed, 13 Jul 2022 09:22:01 +0000 (17:22 +0800)]
Add time_connect to service latency test script

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I8c2c53c41a4fd1cebf7bb223c783c280f90cd708

2 years agoRevise service test script a little 43/4943/1
trevor tao [Wed, 13 Jul 2022 09:10:33 +0000 (17:10 +0800)]
Revise service test script a little

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ib51aeca537e55a9b0c4e42a75c589aeb4ae877c4

2 years agoAdd more args to service latency test script 42/4942/1
trevor tao [Wed, 13 Jul 2022 09:07:15 +0000 (17:07 +0800)]
Add more args to service latency test script

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I28980f31a51431eb06e8f468d9e8906fc07a467b

2 years agoAdd a service access latency measurement tool 41/4941/1
trevor tao [Tue, 12 Jul 2022 14:32:59 +0000 (22:32 +0800)]
Add a service access latency measurement tool

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I98be0549ebf8a8e1ca49fefb22f48dc681d2014e

2 years agoRevise to install the latest Calico CNI 40/4940/1
trevor tao [Mon, 11 Jul 2022 14:18:17 +0000 (22:18 +0800)]
Revise to install the latest Calico CNI

Now the Calico CNI install will use:
1. The default route to 8.8.8.8 as the running interface for
Felix Bird
2. VXLAN as the backend instead of IPIP

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ia6cbbf0c4a3fa71eb586ca74e409426baf047b50

2 years agoUpgrade Calico CNI to v3.23 39/4939/1
trevor tao [Mon, 11 Jul 2022 14:16:18 +0000 (22:16 +0800)]
Upgrade Calico CNI to v3.23

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I96d66bc72bbf49661d913a8aa009e6a0ef4a327e
Signed-off-by: trevor tao <trevor.tao@arm.com>
2 years agoEnhance/fix k8s install for Ubuntu 38/4938/1
trevor tao [Mon, 11 Jul 2022 13:26:11 +0000 (21:26 +0800)]
Enhance/fix k8s install for Ubuntu

1. Rename the apt package from python-pip to python3-pip
2. Remove the old K8s components before apt install:
kubeadm, kubelet, kubectl, kubernetes-cni

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I309f12f410cb705d71208adb09db4cfc6a406be2

2 years agoAdd a multi-arch fat-manifest creating tool 37/4937/1
trevor tao [Fri, 1 Jul 2022 15:16:20 +0000 (23:16 +0800)]
Add a multi-arch fat-manifest creating tool

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Iacf104a15780935035093da26cee54d8d69070bb

2 years agoUpgrade Multus/SRIOV/SRIOV DP to Latest Revision 35/4935/1
trevor tao [Fri, 1 Jul 2022 15:08:24 +0000 (23:08 +0800)]
Upgrade Multus/SRIOV/SRIOV DP to Latest Revision

Upgrade Multus CNI, SRIOV CNI and SRIOV device plugin to
latest release, with Calico CNI as the default CNI besides
SRIOV CNI:
1. Install/uninstall scripts
2. Related yamls
3. Related use case yamls(pods using those resources)

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I62bbd74fc28860a7b85f247a8e857445e85a463b

2 years agoROBOX:Upload robox scripts for IEC release 6 11/4811/18
rd-sw [Wed, 27 Apr 2022 13:02:07 +0000 (13:02 +0000)]
ROBOX:Upload robox scripts for IEC release 6

RT

Signed-off-by: rd-sw <rd-sw@ysemi.cn>
Change-Id: I1695c71cb291273b926370bc9a84528107663ef0

2 years agoModify ysemi information 32/4832/2
Jingzhao Ni [Wed, 27 Apr 2022 15:27:21 +0000 (23:27 +0800)]
Modify ysemi information

RT

Signed-off-by: Jingzhao Ni <Jingzhao.Ni@arm.com>
Change-Id: I35dce2e76478fc4b417e196ca0b570708a7947b5

2 years agoAdd committer. 96/4796/1
Jingzhao Ni [Thu, 14 Apr 2022 06:21:55 +0000 (14:21 +0800)]
Add committer.

Signed-off-by: Jingzhao Ni <Jingzhao.Ni@arm.com>
Change-Id: Ic3a8b21449a5b1e5c286bc3758a49fb77272f913

2 years agoMerge "Upgrade k8s version to 1.22.0 and CNI 0.8.7"
Trevor Tao [Tue, 12 Apr 2022 12:04:04 +0000 (12:04 +0000)]
Merge "Upgrade k8s version to 1.22.0 and CNI 0.8.7"

2 years agoMerge "Restore using IP as Apiserver address"
Trevor Tao [Tue, 12 Apr 2022 12:02:00 +0000 (12:02 +0000)]
Merge "Restore using IP as Apiserver address"

2 years agoUpgrade k8s version to 1.22.0 and CNI 0.8.7 94/4794/1
trevor tao [Tue, 12 Apr 2022 11:44:17 +0000 (19:44 +0800)]
Upgrade k8s version to 1.22.0 and CNI 0.8.7

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ie28eef617228a579d5994f28e009466fc785ca48

2 years agoRestore using IP as Apiserver address 93/4793/1
trevor tao [Tue, 12 Apr 2022 11:42:07 +0000 (19:42 +0800)]
Restore using IP as Apiserver address

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I5e9ba2a5db63df80a6dacfcf5c2479e35e77c84c

2 years agoMerge "Use Hostname instead of IP to install k8s"
Trevor Tao [Mon, 11 Apr 2022 12:08:32 +0000 (12:08 +0000)]
Merge "Use Hostname instead of IP to install k8s"

2 years agoUse Hostname instead of IP to install k8s 92/4792/1
trevor tao [Mon, 11 Apr 2022 11:45:58 +0000 (19:45 +0800)]
Use Hostname instead of IP to install k8s

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ieed2a2e9f9eb2956d5413a99f872370eb72900e4

3 years agoMerge "Added storage supoort to the template"
Trevor Tao [Thu, 28 Oct 2021 06:00:54 +0000 (06:00 +0000)]
Merge "Added storage supoort to the template"

3 years agoAdded storage supoort to the template 74/4474/1
ashgit301 [Wed, 15 Sep 2021 08:29:08 +0000 (13:59 +0530)]
Added storage supoort to the template

Signed-off-by: ashgit301 <ashvin.p@bluemeric.com>
Change-Id: Ibcf6c944202b20e6a72bc7732c6de255ecfbc0c5

3 years agochange in Microk8s version from 1.20 to 1.21. 06/4406/1
ashgit301 [Wed, 15 Sep 2021 08:29:08 +0000 (13:59 +0530)]
change in Microk8s version from 1.20 to 1.21.

Change-Id: Ia3236aaefb07e8a76774883061dadd1dcf36dcb2
Signed-off-by: ashgit301 <ashvin.p@bluemeric.com>
3 years agodeprecated microk8s version. 90/4390/1
ashgit301 [Fri, 6 Aug 2021 07:41:55 +0000 (13:11 +0530)]
deprecated microk8s version.

Change-Id: Ic8aaa0728a43936cd4c6e1ed590e01ba8f0fbf5d
Signed-off-by: ashgit301 <ashvin.p@bluemeric.com>
3 years agoInstall the new k8s version and related components 57/4357/1
trevor tao [Wed, 23 Jun 2021 14:46:40 +0000 (22:46 +0800)]
Install the new k8s version and related components

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Iccb680ca44ed05011b41ec71568b26e9b26ad1eb
Signed-off-by: trevor tao <trevor.tao@arm.com>
3 years agoAdd timeout to kubectl get node 56/4356/1
trevor tao [Wed, 23 Jun 2021 14:18:15 +0000 (22:18 +0800)]
Add timeout to kubectl get node

Add a timeout to avoid a long time wait
for getting K8s status

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: If9c60e7f5b0bf7b92e6d8cf9a5e31d5a64ee8c4f

3 years agoJust ignore the foundation syntax check now 44/4344/1
trevor tao [Mon, 14 Jun 2021 13:51:19 +0000 (21:51 +0800)]
Just ignore the foundation syntax check now

Now the Akraino builder system reports some unexpected
errors when do the code check, so we just ignore it
for the foundation part temporarily.

Change-Id: Ifc7de399b33590964972fa34eb8823e23554879e
Signed-off-by: trevor tao <trevor.tao@arm.com>
3 years agomicrok8s+terraform 43/4343/1
ashgit301 [Mon, 14 Jun 2021 11:01:24 +0000 (16:31 +0530)]
microk8s+terraform

Change-Id: I7658824883a960abed0925e0eda6b59f6a13411e
Signed-off-by: ashgit301 <ashvin.p@bluemeric.com>
3 years agoUpgrade k8s and CNI to recent version 11/4211/4
trevor tao [Wed, 14 Apr 2021 11:04:16 +0000 (19:04 +0800)]
Upgrade k8s and CNI to recent version

Upgrade k8s version to 1.19.0 by default

Upgrade Calico CNI to v3.18 which can support
the recent k8s version(>=1.16)

Upgrade the corresponding CNI installation scripts

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: I6188adf101e1dae3d8a78c368011345f9728ec46
Signed-off-by: trevor tao <trevor.tao@arm.com>
3 years agoAdd 2 committers to IEC Type1&2 06/4206/1
trevor tao [Wed, 7 Apr 2021 06:24:28 +0000 (14:24 +0800)]
Add 2 committers to IEC Type1&2

Add Ashvin and Vinothini from Gopaddle to be
the committers of IEC Type1&2:
 email: 'ashvin.p@gopaddle.io'
 email: 'vinothiniraju@gopaddle.io'

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Ida35863f8d3f2eac1860bdb883ae0d742c6db192

4 years agoMerge "this change mainly updating project code"
Jianlin Lv [Wed, 28 Oct 2020 12:14:05 +0000 (12:14 +0000)]
Merge "this change mainly updating project code"

4 years agothis change mainly updating project code 05/3805/3
hanyu [Thu, 22 Oct 2020 02:53:00 +0000 (10:53 +0800)]
this change mainly updating project code

this change mainly updating code from anbox
to robox.
Adding GPU support.

Signed-off-by: hanyu <13366022056@163.com>
Change-Id: Ife221571f22fc0f256c5697bc72e90428bcbcab2

4 years agoFix some yamllint check errors 06/3806/1
trevor tao [Thu, 22 Oct 2020 03:07:32 +0000 (11:07 +0800)]
Fix some yamllint check errors

Fix the trailing spaces error, disable yamllint check
for colons of ovn-setup.yaml

Signed-off-by: trevor tao <trevor.tao@arm.com>
Change-Id: Iac564e7361966e2f0e1abfe5162f297fa1bfb2cb

4 years agoUpgrade ovn-kubernetes CNI to latest release 74/3374/4
Trevor Tao [Mon, 20 Apr 2020 10:36:43 +0000 (18:36 +0800)]
Upgrade ovn-kubernetes CNI to latest release

Upgrade ovn-kubernetes CNI to latest release(the commit id:
ef14b95bafd07c20cf253b165780c5e88241dbfd).

This installation supports both arm64 and amd64
with multi-arched images.

Fix an error in the install-ovn-k8s.sh script.

Add a cleanup action before the installation
to make sure there would be no obsolete
ovs db information to bother the work of current ovs/ovn which
is actually existed and bothered a lot.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: Ia37f06d795a216979416d70c5fbd44765ce83837
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
4 years agoRefactor SEBA install.sh 54/3654/5
Ciprian Barbu [Mon, 3 Aug 2020 12:14:03 +0000 (15:14 +0300)]
Refactor SEBA install.sh

Minor changes for supporting older git versions without -C parameter.
Also do some cleanup and remove HELM_CHARTS_REV from env, since the next
step in automation-tools will find the helm-charts repo and will not
need this variable anyway.

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I23d9871e9f5ec30a70cff1b5bf4382a4bd513fcf

4 years agoExport SEBAVALUES for known projects 23/3623/4
Ciprian Barbu [Wed, 15 Jul 2020 23:18:03 +0000 (02:18 +0300)]
Export SEBAVALUES for known projects

This helps automation-tools/seba-in-a-box configure the helm-charts
accordingly to the environment where it is running. For the known
projects iec and rec, the difference is primarily the underlying
default cni, calico and flannel respectively

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: Id7090a8b0dfc27318ee92bd95d701287120a22ef

4 years agoSEBA: add UPSTREAM_PROJECT parameter to install.sh 85/3585/4
Ciprian Barbu [Thu, 18 Jun 2020 14:31:58 +0000 (17:31 +0300)]
SEBA: add UPSTREAM_PROJECT parameter to install.sh

This allows us to handle SEBA install.sh differently for IEC and REC,
given that support for REC will soon be added.

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: Ie37597a7b0a7b4691ccfcb7dd44a53f6e42462bf

4 years agoci/labs: Add baremetal1 PDF/IDF config files 86/3586/4
Ciprian Barbu [Thu, 18 Jun 2020 16:11:32 +0000 (19:11 +0300)]
ci/labs: Add baremetal1 PDF/IDF config files

ubuntu1804-dev-32c-128g-1 is a jumpserver for a ThunderX-based POD,
hosted by the UNH Community Shared Lab for Akraino.

JIRA: IEC-49

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I6e90b7a1e0de44536cfd6226942378443b749e4e

4 years agotox: coala: Ignore TYPE3 source code 91/3591/1
Alexandru Avadanii [Mon, 22 Jun 2020 13:36:37 +0000 (15:36 +0200)]
tox: coala: Ignore TYPE3 source code

Fixes: ce293dc9c03ffaa51751fb2c371c81c2b33d87ad

Change-Id: If985aa08cfc821f8dec35c229cd5fe0b3719966c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoAdd commiters for new feature 54/3554/3
Jingzhao [Tue, 9 Jun 2020 20:58:15 +0000 (20:58 +0000)]
Add commiters for new feature

Add commiters for new feature.

Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I38e322c2f6eb7f7b42137ed4afd4c6461e2d5146

4 years agoTYPE3 46/3546/1
hanyu [Thu, 4 Jun 2020 11:28:37 +0000 (19:28 +0800)]
TYPE3

Change-Id: I6fa8bf173dc6a7c5c9197784eb6c2d903f0bb5af

4 years agoMerge "Upgrade Kubernetes version to 1.15.0"
Trevor Tao [Mon, 11 May 2020 13:33:19 +0000 (13:33 +0000)]
Merge "Upgrade Kubernetes version to 1.15.0"

4 years agoseba_on_arm: Fix docker run without TTY 97/3397/2
Alexandru Avadanii [Fri, 1 May 2020 15:38:22 +0000 (17:38 +0200)]
seba_on_arm: Fix docker run without TTY

Jenkins does not currently spawn a login shell for the SEBA tests script
execution, so drop `-it` from `docker run` to prevent errors like
"the input device is not a TTY".

Change-Id: Iac324891ec3e313df94a5280062df7ea11477da2
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoMount results dir for SEBA robot tests 90/3390/11
Ciprian Barbu [Mon, 27 Apr 2020 22:20:27 +0000 (01:20 +0300)]
Mount results dir for SEBA robot tests

SEBA validation is run from a Docker container but we need the robot
reports and logs to be avilable on the host (jenkins slave) to be
uploaded after the job finishes. This patch mounts a results dir for
this purpose.
Also the testing scripts have been refactored and cleaned up.

Fixes IEC-45

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I26b7162fac58b347a5ea5f529e9368c1bf09b083

4 years agoUpgrade Kubernetes version to 1.15.0 67/3367/1
Trevor Tao [Fri, 17 Apr 2020 06:49:17 +0000 (14:49 +0800)]
Upgrade Kubernetes version to 1.15.0

The current k8s version 1.13.0 is too old to use, upgrade to 1.15.0
instead.

On the other side, we use the src IP of the interface for default route
as the default src IP for Kubernetes master management IP if it's used
separately.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I04537e38af319e7b37c8d9c15edbece990fae427

4 years agoSiaB install.sh improve locating top level 61/3361/3
Ciprian Barbu [Wed, 15 Apr 2020 20:41:42 +0000 (23:41 +0300)]
SiaB install.sh improve locating top level

Assumes the git repo structure is intact so it can call git to find out
the top level directory of iec

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: Ic33a2ee2d8d304831cd5ec994f4cb1b71eaecdab

4 years agoFix SEBA install.sh error updating helm-charts 55/3355/7
Ciprian Barbu [Tue, 14 Apr 2020 14:22:38 +0000 (17:22 +0300)]
Fix SEBA install.sh error updating helm-charts

The issue happens if the call to install.sh is made outside of the
iec git repository path.
Also fix the incorrect relatives paths caused by symlinking the
install.sh script.

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I56799b4311fb06ed8a2de55a7b9fd04b63a0fa82

4 years agoMerge "Change seba installation for cord 7.0.0"
Trevor Tao [Mon, 13 Apr 2020 08:13:04 +0000 (08:13 +0000)]
Merge "Change seba installation for cord 7.0.0"

4 years agoChange seba installation for cord 7.0.0 50/3350/6
catalin iova [Thu, 9 Apr 2020 08:43:46 +0000 (11:43 +0300)]
Change seba installation for cord 7.0.0

JIRA: IEC-37

Change-Id: Ia4dcc206967a99b31991f3247b9d1326b21fdf25
Signed-off-by: CATALIN IOVA <CATALIN.IOVA@enea.com>
4 years agoUpdate testing tools for SEBA validation 48/3348/5
Ciprian Barbu [Thu, 2 Apr 2020 03:24:33 +0000 (06:24 +0300)]
Update testing tools for SEBA validation

This updates the Dockerfile that represents the running environment of
cord-tester. The major difference is moving from xenial to bionic base
image.

It also updates the testing scripts according to the changes in
cord-tester and fixes a few issues with running cord-tester from a
Docker container.

JIRA: IEC-35

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I2a3c2175357ebce802111231c87f1f9374978f8c

4 years agoMerge "ci/labs: Add baremetal1 PDF/IDF config files"
Ciprian Barbu [Tue, 7 Apr 2020 11:25:15 +0000 (11:25 +0000)]
Merge "ci/labs: Add baremetal1 PDF/IDF config files"

4 years agoci/labs: Add baremetal1 PDF/IDF config files 41/3341/1
Alexandru Avadanii [Tue, 7 Apr 2020 10:22:46 +0000 (12:22 +0200)]
ci/labs: Add baremetal1 PDF/IDF config files

ubuntu1804-dev-96c-256g-1 is a jumpserver for a ThunderX-based POD,
our first baremetal POD to be added to CI/CD.

While at it, update jenkins slave names for the other virtual PODs.

JIRA: IEC-39

Change-Id: Ibb73baf9dacd7da57d263df035be6fb51f8735a8
Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoEnsure overcommit_memory=0 37/3337/5
Ciprian Barbu [Fri, 3 Apr 2020 01:13:04 +0000 (04:13 +0300)]
Ensure overcommit_memory=0

This could be set to 1 for aarch64, which introduces some issues when
trying to allocate large amounts of memory. Setting it to 0 will prevent
faulty processes from consuming all memory.
Fixes https://jira.akraino.org/browse/IEC-26

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I332a91a669de2123d6e9e61fee0ad3627a003d83

4 years agoMerge "Add INFO.yaml"
Cristina Pauna [Thu, 2 Apr 2020 09:08:47 +0000 (09:08 +0000)]
Merge "Add INFO.yaml"

4 years agoAdd INFO.yaml 45/2145/5
LF Jenkins CI [Tue, 17 Dec 2019 19:07:44 +0000 (19:07 +0000)]
Add INFO.yaml

Fill in INFO.yaml information including PTL, committers,
issue tracking etc. as documented in
https://docs.releng.linuxfoundation.org/en/latest/committer-management.html

Change-Id: I2f9bfdc952d9c0a62b5c053a6cb75116991ab745
Signed-off-by: lf-jobbuilder <releng+lf-jobbuilder@linuxfoundation.org>
4 years agoUpdate ponsim install to cord-7.0-arm64 05/3305/1
Ciprian Barbu [Tue, 24 Mar 2020 01:37:42 +0000 (03:37 +0200)]
Update ponsim install to cord-7.0-arm64

With this new version, install.sh will basically install SiaB with
PONSim. To do this, it will use our own version of automation-tools,
which internally will use the helm-charts on version cord-7.0-arm64.

The helm-charts are expected to be modified such that the deployment
will support IEC Type 2 3-node K8S clusters.

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I459f136b0d97c0ad9fecddd8e03187ee8c7d5237

4 years agoMerge "Add IEC Type3 & Type5"
Trevor Tao [Mon, 23 Mar 2020 13:32:53 +0000 (13:32 +0000)]
Merge "Add IEC Type3 & Type5"

4 years agoAdd IEC Type3 & Type5 01/3301/1
Jingzhao [Fri, 20 Mar 2020 08:13:35 +0000 (16:13 +0800)]
Add IEC Type3 & Type5

Add IEC Type3 & Type5

Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I37ae917183fd4d4fc56c28b673727385162257c3

4 years agoUpdate helm-charts to thew new SEBA version 02/3302/1
Ciprian Barbu [Wed, 18 Mar 2020 14:43:06 +0000 (16:43 +0200)]
Update helm-charts to thew new SEBA version

This points to the cord-7.0-arm64 branch in helm-charts which
is forked from upstream opencord

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: I2458c98593ee8a68b320c43d7324200ee6284c58

4 years agofix issue that deploy cilium on latest image 51/2251/1
Jianlin Lv [Fri, 21 Feb 2020 14:18:57 +0000 (22:18 +0800)]
fix issue that deploy cilium on latest image

Add ciliumclusterwidenetworkpolicies resource config

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: Ib6f6f75a44da471e889a6c85921fe38ddc021b3c

4 years agoOptimize 2 points on the installation for CNI 35/2235/3
Trevor Tao [Wed, 12 Feb 2020 13:57:55 +0000 (21:57 +0800)]
Optimize 2 points on the installation for CNI

Optimize the installation of k8s CNI at 2 sides:

1. Change the parameter order for the most needed
parameters first as the following:
    CNI_TYPE
    POD_NETWORK_CIDR
    K8s_MASTER_IP
    SERVICE_CIDR
    CLUSTER_IP
    DEV_NAME

so that when installing manually, less parameters need to
be input because the default parameters are enough.

2. Taint the master node first for the case there is just
the master node to use. So the daemon pods of a CNI could
be scheduled on the master. If not, the installation for
the CNI may fail due to no node to schedule the pods.

The user could drain or set NoSchedule to close the master
for scheduling if needed:
kubectl drain <master node name>
or:
kubectl taint nodes <master node name> key=value:NoSchedule

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I8198814af22e687ccb223b9c2b767e64943588a7
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
4 years agoMerge "Integrate cilium CNI into IEC"
Jianlin Lv [Wed, 12 Feb 2020 13:47:06 +0000 (13:47 +0000)]
Merge "Integrate cilium CNI into IEC"

4 years agoMerge "Update kernel configuration to support cilium"
Trevor Tao [Wed, 12 Feb 2020 13:28:17 +0000 (13:28 +0000)]
Merge "Update kernel configuration to support cilium"

4 years agoIntegrate cilium CNI into IEC 26/2226/5
Jianlin Lv [Fri, 7 Feb 2020 06:25:52 +0000 (14:25 +0800)]
Integrate cilium CNI into IEC

Support cilium deployment on master and work nodes
1. Implement support for cilium CNI in setup-cni.sh;
2. Add work node initialization function for cilium;
3. Add cilium CNI deployment scripts and yaml file.

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: Ief29cba051b0f5bb45ff3f3acbbbe0db50524cc5

4 years agoAdd Multus with Calico and SRIOV CNI support 27/2227/2
Trevor Tao [Fri, 7 Feb 2020 12:21:38 +0000 (20:21 +0800)]
Add Multus with Calico and SRIOV CNI support

This commit provides Kubernetes networking support for Multus
with SRIOV CNI/Calico CNI support both on arm64 and amd64.

A special configuration file for Broadcom smartNIC Stingray
PS225 is provided as an example.

Here the Calico would be provided as the default CNIs for
any pods without explicit annotations.

Updated the README.md to add more explanations for current
work and reflect the change.

For detailed information, please refer the README.md in the
commit.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I60ac7d636be8e272cd82c3697833947850e7f49e
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
4 years agoUpdate kernel configuration to support cilium 25/2225/1
Jianlin Lv [Fri, 7 Feb 2020 06:19:53 +0000 (14:19 +0800)]
Update kernel configuration to support cilium

Enable BPF and policy routing relevant modules
to support cilium for type1

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: I2651cd079670cdb5009ff292f5cfcc1d2806a546

4 years agoAdd Multus with Flannel and SRIOV CNI support 95/2195/5
Trevor Tao [Fri, 17 Jan 2020 06:53:08 +0000 (14:53 +0800)]
Add Multus with Flannel and SRIOV CNI support

This commit provides Kubernetes networking support for Multus
with SRIOV CNI support both on arm64 and amd64. A special
configuration file for Broadcom smartNIC Stingray PS225 is
provided as an example.

So it can not only be used as a sample container networking
support for Stingray PS225 by its interfaces configured with
VFs, but also be used as a generic SRIOV support for
various ethernet NICs.

Here the Flannel would be provided as the default CNIs for
any pods without explicit annotations.

For detailed information, please refer the README.md in the
commit.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I6ddfaa8f7554a40bfe4974206da8cc45f240b6bc
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
4 years agoEnable Istio on IEC type2 90/2190/5
Jingzhao [Tue, 14 Jan 2020 10:17:17 +0000 (18:17 +0800)]
Enable Istio on IEC type2

The patch enables the Istio on IEC type2 platform. At the same time, the
official sample--bookinfo--is also deployed for verification.
1. Add Istio configuration files in foundation/scripts/serviceMesh
folder.
2. Write Istio installation scripts
3. Add the Istio official sample--bookinfo--in user_case folder.
4. Add some configuration files about bookinfo.

Signed-off-by: Jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I6e09eaa0d18302df3cff788961e2a9daf220bb92

4 years agoAdd API Framework Revel Source Files 85/2185/1
Trevor Tao [Thu, 9 Jan 2020 16:00:15 +0000 (00:00 +0800)]
Add API Framework Revel Source Files

Add API framework Revel source files, as the basis for api framework.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I8c60569238a66538e86a2cc98a0d6473df2f8e72

4 years agoChange the order of setup-cni.sh parameters 25/2125/1
Trevor Tao [Mon, 16 Dec 2019 08:03:16 +0000 (16:03 +0800)]
Change the order of setup-cni.sh parameters

To facilitate the manual installation of various CNIs
by using setup-cni.sh, the order of setup-cni.sh parameters
is changed as:
1. CNI_TYPE
2. POD_NETWORK_CIDR
3. CLUSTER_IP
4. As-is ...

The reason to do in this way is that the CLUSTER_IP parameter
is only needed by Calico CNI, but the CNI_TYPE and POD_NETWORK_CIDR
is needed by all CNIs when we do it manually (by calling
setup-cni.sh directly).

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I5e41f23ed882ed8bb7e9ab74e4d6a9237532d060

4 years agocompass install: Bump docker-compose to 1.24.1 91/2091/1 2.0.0-AKRAINO
Alexandru Avadanii [Tue, 3 Dec 2019 13:49:37 +0000 (14:49 +0100)]
compass install: Bump docker-compose to 1.24.1

Since IEC CI jobs run on the same Jenkins static slaves where TA REC
artifact building occurs, installing `docker-compose` and its
requirements (including python-requests) via `sudo pip install` creates
a conflict that breaks TA ISO upload (see upstream bug linked below).

Bump docker-compose to a newer version, which will stop forcefully
downgrading the python-requests package, working around the original
issue.

Upstream-bug: https://jira.linuxfoundation.org/browse/RELENG-2558

Change-Id: I70765213eb97cb29761d0ff41c8918f82a30bbfc
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoseba: Bump retries count for att-workflow 79/2079/1
Alexandru Avadanii [Fri, 29 Nov 2019 18:34:45 +0000 (19:34 +0100)]
seba: Bump retries count for att-workflow

In certain enviroments, it might take longer for the final att-workflow
helm chart to finish, so bump our retry count accordingly.

Change-Id: I51f92d07e7479f5fcd5c07efc5f7fcb41f541e81
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
4 years agoMerge "Integrate Nokia/danm CNI into IEC"
Jingzhao Ni [Thu, 21 Nov 2019 01:58:19 +0000 (01:58 +0000)]
Merge "Integrate Nokia/danm CNI into IEC"

4 years agoIntegrate Nokia/danm CNI into IEC 55/1855/11
Jianlin Lv [Mon, 28 Oct 2019 05:53:58 +0000 (13:53 +0800)]
Integrate Nokia/danm CNI into IEC

Make master and work nodes support danm deployment
1. Implement support for danm CNI in setup-cni.sh;
2. Wrap the work node initialization function before
calling setup-cni.sh;
3. Add danm CNI deployment scripts and relevant config file.

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: I19564d0c1bdb183c4328d921eaab8d873f064e07

4 years agoMerge "Add uninstallation scripts"
Trevor Tao [Wed, 13 Nov 2019 06:57:16 +0000 (06:57 +0000)]
Merge "Add uninstallation scripts"

4 years agoAdd uninstallation scripts 60/1960/2
jingzhao [Tue, 12 Nov 2019 13:47:04 +0000 (21:47 +0800)]
Add uninstallation scripts

In this patch, some un-install scripts were added into IEC project.
It will be used for removing the iec infrastructure from K8s Master
node and slave node.

Signed-off-by: jingzhao <Jingzhao.Ni@arm.com>
Change-Id: I8a300a0b3f8a3121c62e881e722958c793945b7c

5 years agoMerge "Upstream documentation for IEC release 2"
Jingzhao Ni [Mon, 28 Oct 2019 09:24:37 +0000 (09:24 +0000)]
Merge "Upstream documentation for IEC release 2"

5 years agoMerge "Update kernel configuration to support contivpp"
Jingzhao Ni [Mon, 28 Oct 2019 09:23:58 +0000 (09:23 +0000)]
Merge "Update kernel configuration to support contivpp"

5 years agoAdd OVN-Kubernetes CNI Installation for IEC 33/1833/5
Trevor Tao [Thu, 24 Oct 2019 03:11:32 +0000 (11:11 +0800)]
Add OVN-Kubernetes CNI Installation for IEC

Add OVN-Kubernetes CNI installation scripts for IEC:

1. the install-ovn-k8s.sh for installation by yamls
2. Needed yaml files and yaml template files
3. Update setup-cni.sh to add a new CNI type of
ovn-kubernetes
4. Update config and startup.sh to add more parameters
used in the installation.
5. Add fat-manifest pushing scripts
6. Fixing the deficiency by adding more parameters
when calling k8s_master.sh in startup.sh

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: I534edae5baa79b7729654c28de66ee076ed62359
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
5 years agoForce overwrite the k8s config file 29/1829/4
Trevor Tao [Wed, 23 Oct 2019 13:13:56 +0000 (21:13 +0800)]
Force overwrite the k8s config file

Force overwrite the k8s config file in user environment in case
that the Kubernetes had ever been installed before.

Signed-off-by: Trevor Tao <trevor.tao@arm.com>
Change-Id: Ic11ac998666e97f1b5457084744f57da0436d274
Signed-off-by: Trevor Tao <trevor.tao@arm.com>
5 years agoUpstream documentation for IEC release 2 05/1805/3
Jianlin Lv [Mon, 21 Oct 2019 09:33:46 +0000 (17:33 +0800)]
Upstream documentation for IEC release 2

Add doc of setting up contivpp and relevant yaml

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: Id42090e14b701d1b109afbf47a3c6ee764ce1e8e

5 years agoUpdate ONOS aarch64 image to fix IEC-22 08/1808/1
Ciprian Barbu [Mon, 21 Oct 2019 14:18:31 +0000 (17:18 +0300)]
Update ONOS aarch64 image to fix IEC-22

Update to new seba_charts commit

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: Ie11882abd46fd3beafb78ce57358aab4217fa27e

5 years agoUpdate kernel configuration to support contivpp 01/1801/1
Jianlin Lv [Fri, 18 Oct 2019 02:37:52 +0000 (10:37 +0800)]
Update kernel configuration to support contivpp

Enable VHOST and TAP relevant modules of kernel to
support contivpp for type1

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: I8bc6001212b341a30b9f91f49df8b12f520910fa

5 years agoFix the installation bug in startup.sh file 86/1586/1
Jingzhao.Ni [Mon, 16 Sep 2019 13:57:15 +0000 (21:57 +0800)]
Fix the installation bug in startup.sh file

The k8s can not deployed properly when status of OS's swap is on.
It mainly because that the "sudo swapon -a" operation should be
invoked after the "kubeadm join xx" command, but not before it.
So, in this patch, the sequency of 2 commands were re-ordered for
fixing it.

Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
Change-Id: I7bac839a1b77a76f536da35989741776aefb5929

5 years agoUpdate seba-charts submodule 49/1549/1
Ciprian Barbu [Fri, 6 Sep 2019 13:17:55 +0000 (16:17 +0300)]
Update seba-charts submodule

This fixes IEC-16, by switching the submodule to latest commit
containing the fix for freeradius.

Signed-off-by: Ciprian Barbu <ciprian.barbu@enea.com>
Change-Id: Iad940329e1b0f3288de65b5d2ba81e7038d39e8c

5 years agoIntegrate contiv/vpp CNI into IEC 91/1491/4
Jianlin Lv [Fri, 30 Aug 2019 02:34:14 +0000 (10:34 +0800)]
Integrate contiv/vpp CNI into IEC

Make master and work nodes support contivpp deployment

Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
Change-Id: I5741b26779136ce626fdeec22d4b9f88e4769681

5 years agoFix the bug of installation failure 55/1455/2
Jingzhao.Ni [Fri, 23 Aug 2019 05:04:08 +0000 (13:04 +0800)]
Fix the bug of installation failure

When using the K8s with 1.13.0 version, it will result
deployment failed. It mainly because that parsing the
"kubeadm join" command in older version is different
from 1.15.2 version. When deploying the K8s with 1.13.0
by scripts, the IP address was consider as token key.
Finally, it results in the worker node installation failed.

Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
Change-Id: I088392e416bf4ef92be78196a83987279d29e268

5 years agoMerge "Initial Commit to Add RestAPI Server to IEC"
Jianlin Lv [Thu, 22 Aug 2019 07:23:44 +0000 (07:23 +0000)]
Merge "Initial Commit to Add RestAPI Server to IEC"

5 years agoAdd some options for IEC installation scripts 32/1432/4
Jingzhao.Ni [Fri, 16 Aug 2019 10:23:49 +0000 (18:23 +0800)]
Add some options for IEC installation scripts

1. Some options were added into the startup.sh script.
   "-k|--kube"    ---- The version of k8s
   "-c|--cni-ver" ---- Kubernetes-cni version
   "-C|--cni"     ---- CNI type: calico/flannel
2. In config file, those default values were also set.
3. Some log inforamtion about those parameters was add for
   varification when deploying the IEC infrastructure by
    startup.sh.

Change-Id: Ief59d31b7630dc3247305f869ea55137142b040c
Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
5 years agoInitial Commit to Add RestAPI Server to IEC 25/1325/13
trevor tao [Tue, 6 Aug 2019 01:19:23 +0000 (09:19 +0800)]
Initial Commit to Add RestAPI Server to IEC

Initial commit to add a Rest API service(http server) to IEC,
which now just support simple Restful request as:
http://IP:port/v1/iec/status
and return a simple JSON reply.
It would be enhanced with more features in the future.

This server listens at TCP port 9131. It can be deployed as a Kubernetes
service, and accessed by http://svcIP/v1/iec/xxx, or by
http://nodeIP:31131/v1/iec/xxx.

Now the commit includes:
1. The API server implementation itself
2. The docker images related files
3. The Kubernetes deployment scripts
4. README.md
5. The Makefile to manage most things.

Change-Id: I0891855a5182fc193fd26e7232903aac7e9b4d12
Signed-off-by: trevor tao <trevor.tao@arm.com>
5 years agoMerge "Integrate the VM deployment tools into IEC"
Jianlin Lv [Fri, 2 Aug 2019 09:36:38 +0000 (09:36 +0000)]
Merge "Integrate the VM deployment tools into IEC"

5 years agoIntegrate the VM deployment tools into IEC 59/1259/5
Jingzhao.Ni [Thu, 25 Jul 2019 11:21:47 +0000 (19:21 +0800)]
Integrate the VM deployment tools into IEC

For easy deployment on host, the Virtual-Machine automatic
deployment tool was integrated into IEC project.
Firstly, for supporting different arch platform, the compass4nfv
project in OPNFV was used for deployment tools.
Secondly, after VMs deployment, the IEC infrastructure will
be deployed on those VMs without any user cases.

Signed-off-by: Jingzhao.Ni <Jingzhao.Ni@arm.com>
Change-Id: I0b8d0a3e56a77bfa3aded76503e3f040d34de214

5 years agoMerge "[seba] Fix compat with older git client"
Cristina Pauna [Fri, 26 Jul 2019 13:31:12 +0000 (13:31 +0000)]
Merge "[seba] Fix compat with older git client"

5 years agoMerge "Add PONSim test scripts for running SIAB"
Cristina Pauna [Fri, 26 Jul 2019 13:27:28 +0000 (13:27 +0000)]
Merge "Add PONSim test scripts for running SIAB"