Skip to content

Commit

Permalink
Merge pull request #460 from luisgerhorst/bpf-spectre
Browse files Browse the repository at this point in the history
cicd/tcpsctpperf: Hotfix to restore old bahavaiour without additional args
  • Loading branch information
TrekkieCoder authored Dec 11, 2023
2 parents c414baf + 8ce16d6 commit e159af2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions cicd/tcpsctpperf/config.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -eo pipefail

export OSE_LOXILB_SERVERS=${OSE_LOXILB_SERVERS:-1}

source ../common.sh

echo "#########################################"
Expand Down
2 changes: 2 additions & 0 deletions cicd/tcpsctpperf/rmconfig.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/bash

export OSE_LOXILB_SERVERS=${OSE_LOXILB_SERVERS:-1}

source ../common.sh

disconnect_docker_hosts l3h1 llb1
Expand Down
6 changes: 3 additions & 3 deletions cicd/tcpsctpperf/validation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ $dexec llb1 bash -c "nohup /root/loxilb-io/loxilb/loxilb --rss-enable >> /dev/nu
sleep 40
for ((i=1,port=12865;i<=100;i++,port++))
do
$dexec llb1 loxicmd create lb 20.20.20.1 --tcp=$port:$port --endpoints=31.31.31.1:1 >> /dev/null
$dexec llb1 loxicmd create lb 20.20.20.1 --tcp=$port:$port --endpoints=31.31.1.1:1 >> /dev/null
done

$dexec llb1 loxicmd create lb 20.20.20.1 --tcp=13866:13866 --endpoints=31.31.31.1:1 >> /dev/null
$dexec llb1 loxicmd create lb 20.20.20.1 --tcp=13866:13866 --endpoints=31.31.1.1:1 >> /dev/null
for ((i=1,port=13866;i<=100;i++,port++))
do
$dexec llb1 loxicmd create lb 20.20.20.1 --sctp=$port:$port --endpoints=31.31.31.1:1 >> /dev/null
$dexec llb1 loxicmd create lb 20.20.20.1 --sctp=$port:$port --endpoints=31.31.1.1:1 >> /dev/null
done

sleep 20
Expand Down

0 comments on commit e159af2

Please sign in to comment.