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
b3394fb7
Commit
b3394fb7
authored
6 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
COB-49
: added check for link at network interfaces
parent
15e0ac46
No related branches found
No related tags found
1 merge request
!6
Import cobalt2 into lofar4
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/cobalt/network/interface_links.test
+23
-0
23 additions, 0 deletions
...ine_Cobalt/validation/cobalt/network/interface_links.test
with
24 additions
and
0 deletions
.gitattributes
+
1
−
0
View file @
b3394fb7
...
@@ -5556,6 +5556,7 @@ SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-hello-world.c -text
...
@@ -5556,6 +5556,7 @@ SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-hello-world.c -text
SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-infiniband-between-nodes.test -text
SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-infiniband-between-nodes.test -text
SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-to-all-nodes.test -text
SubSystems/Online_Cobalt/validation/cobalt/mpi/mpi-to-all-nodes.test -text
SubSystems/Online_Cobalt/validation/cobalt/network/ib_mode.test -text
SubSystems/Online_Cobalt/validation/cobalt/network/ib_mode.test -text
SubSystems/Online_Cobalt/validation/cobalt/network/interface_links.test -text
SubSystems/Online_Cobalt/validation/cobalt/network/resolvconf.test eol=lf
SubSystems/Online_Cobalt/validation/cobalt/network/resolvconf.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/c3/cexec -text
SubSystems/Online_Cobalt/validation/intercluster/c3/cexec -text
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cep.test eol=lf
SubSystems/Online_Cobalt/validation/intercluster/connectivity/cobalt2cep.test eol=lf
...
...
This diff is collapsed.
Click to expand it.
SubSystems/Online_Cobalt/validation/cobalt/network/interface_links.test
0 → 100755
+
23
−
0
View file @
b3394fb7
#!/bin/bash -v
source
$
(
dirname
$
0
)
/../../
validation_utils
.
sh
check_running_on_cobalt2
EXIT_CODE
=
0
for
i
in
{
201..213
}
;
do
NODE
=
cbm
$i
.
control
.
lofar
# the following interfaces need to be connected
# 10GB03 and 10GB07 are spares and do not need to connected at this moment
for
INTERFACE
in
ib0
ib1
10
GB01
10
GB02
10
GB04
10
GB05
10
GB06
em1
;
do
RESULT
=
$
(
ssh
$NODE
/
usr
/
sbin
/
ethtool
$INTERFACE
|&
grep
"Link detected: yes"
)
if
[
$
?
-
eq
0
]
;
then
echo
"
$NODE
: interface
$INTERFACE
has a detected link"
else
echo
"ERROR:
$NODE
: interface
$INTERFACE
has no detected link"
EXIT_CODE
=
1
fi
done
done
exit
$EXIT_CODE
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