diff --git a/cicd/common.sh b/cicd/common.sh index 807aa8870..a0004468c 100644 --- a/cicd/common.sh +++ b/cicd/common.sh @@ -557,6 +557,10 @@ function create_lb_rule() { echo "$1: loxicmd create lb ${args[*]}" $dexec $1 loxicmd create lb ${args[*]} + if [[ ${args[*]} == *"--mode=fullproxy"* ]]; then + return + fi + hook=$($dexec llb1 ntc filter show dev eth0 ingress | grep tc_packet_hook) if [[ $hook != *"tc_packet_hook"* ]]; then echo "ERROR : No hook point found"; diff --git a/cicd/httpshostproxy/config.sh b/cicd/httpshostproxy/config.sh index 80df94a13..192e9058a 100755 --- a/cicd/httpshostproxy/config.sh +++ b/cicd/httpshostproxy/config.sh @@ -6,7 +6,7 @@ echo "#########################################" echo "Spawning all hosts" echo "#########################################" -spawn_docker_host --dock-type loxilb --dock-name llb1 +spawn_docker_host --dock-type loxilb --dock-name llb1 --extra-args "--proxyonlymode" spawn_docker_host --dock-type host --dock-name l3h1 spawn_docker_host --dock-type host --dock-name l3ep1 spawn_docker_host --dock-type host --dock-name l3ep2 diff --git a/cicd/httpsproxy/config.sh b/cicd/httpsproxy/config.sh index 0d3ce4b2d..b0b603428 100755 --- a/cicd/httpsproxy/config.sh +++ b/cicd/httpsproxy/config.sh @@ -6,7 +6,7 @@ echo "#########################################" echo "Spawning all hosts" echo "#########################################" -spawn_docker_host --dock-type loxilb --dock-name llb1 +spawn_docker_host --dock-type loxilb --dock-name llb1 --extra-args "--proxyonlymode" spawn_docker_host --dock-type host --dock-name l3h1 spawn_docker_host --dock-type host --dock-name l3ep1 spawn_docker_host --dock-type host --dock-name l3ep2