Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017f858
)
b=16153
author
grev
<grev>
Tue, 24 Jun 2008 20:57:53 +0000
(20:57 +0000)
committer
grev
<grev>
Tue, 24 Jun 2008 20:57:53 +0000
(20:57 +0000)
i=Johann
h2o2ib t-f fn
lustre/tests/test-framework.sh
patch
|
blob
|
history
diff --git
a/lustre/tests/test-framework.sh
b/lustre/tests/test-framework.sh
index
73b3835
..
16ea61a
100644
(file)
--- a/
lustre/tests/test-framework.sh
+++ b/
lustre/tests/test-framework.sh
@@
-612,6
+612,12
@@
h2gm () {
fi
}
+h2name_or_ip() {
+ if [ "$1" = "client" -o "$1" = "'*'" ]; then echo \'*\'; else
+ echo $1"@$2"
+ fi
+}
+
h2ptl() {
if [ "$1" = "client" -o "$1" = "'*'" ]; then echo \'*\'; else
ID=`xtprocadmin -n $1 2>/dev/null | egrep -v 'NID' | awk '{print $1}'`
@@
-651,6
+657,11
@@
h2openib() {
}
declare -fx h2openib
+h2o2ib() {
+ h2name_or_ip "$1" "o2ib"
+}
+declare -fx h2o2ib
+
facet_host() {
local facet=$1
varname=${facet}_HOST