Skip to content

Commit

Permalink
gh-87 minor fixes to proxy cicd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Aug 20, 2024
1 parent ecf30ca commit 5cacdde
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions cicd/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion cicd/httpshostproxy/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cicd/httpsproxy/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cacdde

Please sign in to comment.