Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
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
RadioObservatory
LOFAR
Commits
873996cb
Commit
873996cb
authored
9 years ago
by
Jan David Mol
Browse files
Options
Downloads
Patches
Plain Diff
Task #9230: Check for IPoIB devices and their settings
parent
a9a5acd4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitattributes
+1
-0
1 addition, 0 deletions
.gitattributes
SubSystems/Online_Cobalt/validation/system/network/ipoib.test
+15
-0
15 additions, 0 deletions
...ystems/Online_Cobalt/validation/system/network/ipoib.test
with
16 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
873996cb
...
...
@@ -5392,6 +5392,7 @@ SubSystems/Online_Cobalt/validation/system/mpi/basic-mpi.test eol=lf
SubSystems/Online_Cobalt/validation/system/mpi/custom-openmpi-config.test eol=lf
SubSystems/Online_Cobalt/validation/system/network/10gb-ifaces.test -text
SubSystems/Online_Cobalt/validation/system/network/hosts.test eol=lf
SubSystems/Online_Cobalt/validation/system/network/ipoib.test -text
SubSystems/Online_Cobalt/validation/system/network/resolvconf.test eol=lf
SubSystems/Online_Cobalt/validation/system/network/routes.cbt001 -text
SubSystems/Online_Cobalt/validation/system/network/routes.cbt002 -text
...
...
This diff is collapsed.
Click to expand it.
SubSystems/Online_Cobalt/validation/system/network/ipoib.test
0 → 100755
+
15
−
0
View file @
873996cb
#!/bin/bash
for
IFACE
in
ib0
ib1
do
echo
Testing
interface
$IFACE
...
# Interface should exist
ip
link
show
$IFACE
||
exit
1
# Interface should be up
ip
link
show
$IFACE
|
grep
-
q
"state UP"
||
exit
1
# Connected mode should be set
[
"`cat /sys/class/net/
$IFACE
/mode`"
==
"connected"
]
||
exit
1
done
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