Skip to content

Commit

Permalink
Merge pull request #770 from TrekkieCoder/main
Browse files Browse the repository at this point in the history
gh-769 maximum supported end-points bumped up to 32
  • Loading branch information
UltraInstinct14 authored Aug 20, 2024
2 parents 0507bb3 + b8ea4e7 commit 182acfe
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
11 changes: 8 additions & 3 deletions cicd/wrrtcplb1/validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,19 @@ respArr=( "server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server2" "server2"
"server2" "server2" "server2"
"server1"
"server2" "server1"
)

for i in {0..15}
for i in {0..31}
do
res=$($hexec l3h1 curl --max-time 10 -s 20.20.20.1:2020)
echo $res
echo $i:$res
if [[ $res != "${respArr[i]}" ]]
then
echo "expected ${respArr[i]} rcvd $res"
Expand Down
11 changes: 8 additions & 3 deletions cicd/wrrtcplb2/validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,21 @@ done

respArr=( "server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server1" "server1" "server1"
"server2" "server2" "server2"
"server2" "server2" "server2"
"server2" "server2" "server2"
"server2" "server2" "server2"
"server3" "server3" "server3"
"server3" "server3" "server3"
"server1"
"server1" "server1"
)

for i in {0..15}
for i in {0..31}
do
res=$($hexec l3h1 curl --max-time 10 -s 20.20.20.1:2020)
echo $res
echo $i:$res
if [[ $res != "${respArr[i]}" ]]
then
echo "expected ${respArr[i]} rcvd $res"
Expand Down
2 changes: 1 addition & 1 deletion loxilb-ebpf
2 changes: 1 addition & 1 deletion pkg/loxinet/rules.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const (

// constants
const (
MaxNatEndPoints = 16
MaxNatEndPoints = 32
DflLbaInactiveTries = 2 // Default number of inactive tries before LB arm is turned off
MaxDflLbaInactiveTries = 100 // Max number of inactive tries before LB arm is turned off
DflLbaCheckTimeout = 10 // Default timeout for checking LB arms
Expand Down

0 comments on commit 182acfe

Please sign in to comment.