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

Update scripts

parent 6ca56716
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.
if [ $# -eq 0 ]
then
echo 'you need to provide the password for the admin user and the amount of devices to add'
exit 1
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}
do
./artifacts/gosdnc device create -a 172.100.0.11:6030 -u admin -p admin --name="test-ceos-$i"
done
./artifacts/gosdnc device list
./artifacts/gosdnc init --controller 127.0.0.1:55055 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 pnd create --name test-pnd-1 test ./artifacts/gosdnc pnd create --name test-pnd-1 test
./artifacts/gosdnc list ./artifacts/gosdnc list
./artifacts/gosdnc init --controller 127.0.0.1:55055 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 list ./artifacts/gosdnc list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment