Skip to content

Commit

Permalink
Merge pull request #768 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
gh-87 minor fixes to proxy cicd tests
  • Loading branch information
UltraInstinct14 authored Aug 20, 2024
2 parents ecf30ca + 5cacdde commit 0507bb3
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 0507bb3

Please sign in to comment.