mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
tools: support the number of clients command line option for root-server-docker.sh
Signed-off-by: FUJITA Tomonori <[email protected]>
This commit is contained in:
@@ -24,11 +24,13 @@ delete_bridge() {
|
||||
fi
|
||||
}
|
||||
|
||||
while getopts c: OPT
|
||||
while getopts c:n: OPT
|
||||
do
|
||||
case $OPT in
|
||||
c) CONFIG_DIR="$OPTARG"
|
||||
;;
|
||||
n) NR_PEERS="$OPTARG"
|
||||
;;
|
||||
*) echo "Unknown option"
|
||||
exit 1
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user