Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
goSDN
Commits
f3209522
Commit
f3209522
authored
2 years ago
by
Malte Bauch
Browse files
Options
Downloads
Patches
Plain Diff
Update scripts
parent
a64c843d
No related branches found
No related tags found
2 merge requests
!352
Draft: Resolve "Structs like LoadedDevice, LoadedSbi, LoadedRole, LoadedUser are never passed as pointer"
,
!347
Resolve "Requesting information from the Controller via NBI takes very long"
Pipeline
#109121
failed
2 years ago
Stage: build
Stage: test
Stage: analyze
Stage: integration-test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/test-add-multiple-devices.sh
+15
-0
15 additions, 0 deletions
scripts/test-add-multiple-devices.sh
scripts/test-add-pnd.sh
+7
-1
7 additions, 1 deletion
scripts/test-add-pnd.sh
scripts/test-list-pnd.sh
+7
-1
7 additions, 1 deletion
scripts/test-list-pnd.sh
with
29 additions
and
2 deletions
scripts/test-add-multiple-devices.sh
0 → 100755
+
15
−
0
View file @
f3209522
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
This diff is collapsed.
Click to expand it.
scripts/test-add-pnd.sh
+
7
−
1
View file @
f3209522
./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
This diff is collapsed.
Click to expand it.
scripts/test-list-pnd.sh
+
7
−
1
View file @
f3209522
./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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment