Skip to content
Snippets Groups Projects
Commit e2570ef5 authored by Malte Bauch's avatar Malte Bauch Committed by Malte Bauch
Browse files

Update scripts

parent e21ba43c
Branches
No related tags found
2 merge requests!352Draft: Resolve "Structs like LoadedDevice, LoadedSbi, LoadedRole, LoadedUser are never passed as pointer",!347Resolve "Requesting information from the Controller via NBI takes very long"
./artifacts/gosdnc init --controller 127.0.0.1:55055 if [ $# -eq 0 ]
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name='test-ceos-1' --type csbi then
echo 'you need to provide the password for the admin user'
exit 1
fi
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name="test-ceos-1"
./artifacts/gosdnc device list ./artifacts/gosdnc device list
...@@ -7,7 +7,7 @@ fi ...@@ -7,7 +7,7 @@ fi
./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1 ./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1
./artifacts/gosdnc pnd use 5f20f34b-cbd0-4511-9ddc-c50cf6a3b49d ./artifacts/gosdnc pnd use 5f20f34b-cbd0-4511-9ddc-c50cf6a3b49d
for i in {0..$2} for i in $(seq 1 $2)
do do
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name="test-ceos-$i" ./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name="test-ceos-$i"
done done
......
...@@ -5,5 +5,5 @@ if [ $# -eq 0 ] ...@@ -5,5 +5,5 @@ if [ $# -eq 0 ]
fi fi
./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1 ./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1
./artifacts/gosdnc pnd create --name test-pnd-1 test ./artifacts/gosdnc pnd create --name test-pnd-1
./artifacts/gosdnc list ./artifacts/gosdnc list
if [ $# -eq 0 ]
then
echo 'you need to provide the password for the admin user'
exit 1
fi
./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1
./artifacts/gosdnc device list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment