Skip to content

Commit

Permalink
gh-877 Initial support for egress: fixed some cicd cases
Browse files Browse the repository at this point in the history
  • Loading branch information
TrekkieCoder committed Dec 24, 2024
1 parent fab77eb commit daf7122
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
3 changes: 2 additions & 1 deletion cicd/tcplbmaxep/config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,5 @@ sleep 5

#configure LB

create_lb_rule llb1 20.20.20.1 --tcp=2020:8080 --endpoints=35.1.1.1:1,35.1.2.1:1,35.1.3.1:1,35.1.4.1:1,35.1.5.1:1,35.1.6.1:1,35.1.7.1:1,35.1.8.1:1,35.2.1.1:1,35.2.2.1:1,35.2.3.1:1,35.2.4.1:1,35.2.5.1:1,35.2.6.1:1,35.2.7.1:1,35.2.8.1:1,35.3.1.1:1,35.3.2.1:1,35.3.3.1:1,35.3.4.1:1,35.3.5.1:1,35.3.6.1:1,35.3.7.1:1,35.3.8.1:1,35.4.1.1:1,35.4.2.1:1,35.4.3.1:1,35.4.4.1:1,35.4.5.1:1,35.4.6.1:1,35.4.7.1:1,35.4.8.1:1
#create_lb_rule llb1 20.20.20.1 --tcp=2020:8080 --endpoints=35.1.1.1:1,35.1.2.1:1,35.1.3.1:1,35.1.4.1:1,35.1.5.1:1,35.1.6.1:1,35.1.7.1:1,35.1.8.1:1,35.2.1.1:1,35.2.2.1:1,35.2.3.1:1,35.2.4.1:1,35.2.5.1:1,35.2.6.1:1,35.2.7.1:1,35.2.8.1:1,35.3.1.1:1,35.3.2.1:1,35.3.3.1:1,35.3.4.1:1,35.3.5.1:1,35.3.6.1:1,35.3.7.1:1,35.3.8.1:1,35.4.1.1:1,35.4.2.1:1,35.4.3.1:1,35.4.4.1:1,35.4.5.1:1,35.4.6.1:1,35.4.7.1:1,35.4.8.1:1
create_lb_rule llb1 20.20.20.1 --tcp=2020:8080 --endpoints=35.1.1.1:1,35.1.2.1:1,35.1.3.1:1,35.1.4.1:1,35.1.5.1:1,35.1.6.1:1,35.1.7.1:1,35.1.8.1:1,35.2.1.1:1,35.2.2.1:1,35.2.3.1:1,35.2.4.1:1,35.2.5.1:1,35.2.6.1:1,35.2.7.1:1,35.2.8.1:1,35.3.1.1:1,35.3.2.1:1,35.3.3.1:1,35.3.4.1:1,35.3.5.1:1,35.3.6.1:1,35.3.7.1:1,35.3.8.1:1
21 changes: 11 additions & 10 deletions cicd/tcplbmaxep/validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ sleep 5
code=0
servIP=( "20.20.20.1" )
servArr=(
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3" "server4"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
"server1" "server2" "server3"
)
#ep=( "31.31.31.1" "32.32.32.1" "33.33.33.1" "34.34.34.1" )
ep=( "31.31.31.1" "32.32.32.1" "33.33.33.1" "34.34.34.1" )
j=0
waitCount=0
while [ $j -le 3 ]
while [ $j -le 2 ]
do
res=$($hexec l3h1 curl --max-time 10 -s ${ep[j]}:8080)
#echo $res
Expand All @@ -46,7 +47,7 @@ done

echo "Testing Service IP: ${servIP[0]}"
lcode=0
for i in {0..31}
for i in {0..23}
do
res=$($hexec l3h1 curl --max-time 10 -s ${servIP[0]}:2020)
echo $res
Expand Down

0 comments on commit daf7122

Please sign in to comment.