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
No related branches found
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"
This commit is part of merge request !347. Comments created here will be created in the context of that merge request.
./artifacts/gosdnc init --controller 127.0.0.1:55055
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name='test-ceos-1' --type csbi
if [ $# -eq 0 ]
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
......@@ -7,7 +7,7 @@ fi
./artifacts/gosdnc login --controller 127.0.0.1:55055 --u admin --p $1
./artifacts/gosdnc pnd use 5f20f34b-cbd0-4511-9ddc-c50cf6a3b49d
for i in {0..$2}
for i in $(seq 1 $2)
do
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name="test-ceos-$i"
done
......
......@@ -5,5 +5,5 @@ if [ $# -eq 0 ]
fi
./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
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