From e633bd2bcaf874a69fb59c5e4f59615d9aaf9429 Mon Sep 17 00:00:00 2001 From: Trekkie Coder Date: Wed, 24 Jan 2024 12:52:32 +0900 Subject: [PATCH] Added local cicd runner script --- cicd/onearml2/config.sh | 2 + cicd/run_local_cicd.sh | 129 ++++++++++++++++++++++++++++++++++++++++ loxilb-ebpf | 2 +- 3 files changed, 132 insertions(+), 1 deletion(-) create mode 100755 cicd/run_local_cicd.sh diff --git a/cicd/onearml2/config.sh b/cicd/onearml2/config.sh index babdea8ca..e04db6990 100755 --- a/cicd/onearml2/config.sh +++ b/cicd/onearml2/config.sh @@ -35,6 +35,8 @@ create_docker_host_vlan --host1 llb1 --host2 l2ep2 --ptype untagged --id 100 create_docker_host_vlan --host1 llb1 --host2 l2ep3 --ptype untagged --id 100 $dexec llb1 bash -c 'for i in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > "$i"; done' +$dexec llb1 bash -c 'for i in /proc/sys/net/ipv4/conf/*/arp_accept; do echo 1 > "$i"; done' +$dexec llb1 brctl setageing vlan100 3600 sleep 5 diff --git a/cicd/run_local_cicd.sh b/cicd/run_local_cicd.sh new file mode 100755 index 000000000..d47626579 --- /dev/null +++ b/cicd/run_local_cicd.sh @@ -0,0 +1,129 @@ +#!/bin/bash +set -e + +cd sconnect/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplb/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbmark/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbdsr1/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbdsr2/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbl3dsr/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbhash/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + + +cd sctplb/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd sctponearm/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd sctplbdsr/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbmon/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd udplbmon/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd sctplbmon/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbmon6/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcplbepmod/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd lbtimeout/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd lb6timeout/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd httpsep/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd http2ep/ +./config.sh +./validation.sh +./rmconfig.sh +cd - + +cd tcpsctpperf +./config.sh +./validation.sh 20 30 +./rmconfig.sh +cd - + +cd tcpepscale/ +./config.sh +./validation.sh +./rmconfig.sh +cd - diff --git a/loxilb-ebpf b/loxilb-ebpf index afa2e5d4d..e40eadc60 160000 --- a/loxilb-ebpf +++ b/loxilb-ebpf @@ -1 +1 @@ -Subproject commit afa2e5d4dc003dc59147307bde774654cc54f302 +Subproject commit e40eadc60e531f2c025f4700ff3e918e16154890