Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-9439 scripts: Provide a sample lnet.conf file
[fs/lustre-release.git]
/
lustre
/
scripts
/
lc_common
diff --git
a/lustre/scripts/lc_common
b/lustre/scripts/lc_common
index
2cea2a8
..
386b380
100644
(file)
--- a/
lustre/scripts/lc_common
+++ b/
lustre/scripts/lc_common
@@
-313,7
+313,7
@@
nid2hostname() {
ptl*) # Portals
# FIXME: Convert portal ID to hostname
;;
ptl*) # Portals
# FIXME: Convert portal ID to hostname
;;
- *) # tcp, o2ib,
cib, openib, iib, vib,
ra
+ *) # tcp, o2ib, ra
ip_addr=${addr}
# Is it IP address or hostname?
if [ -n "`echo ${ip_addr} | sed -e 's/\([0-9]\{1,3\}\.\)\{3,3\}[0-9]\{1,3\}//'`" ]
ip_addr=${addr}
# Is it IP address or hostname?
if [ -n "`echo ${ip_addr} | sed -e 's/\([0-9]\{1,3\}\.\)\{3,3\}[0-9]\{1,3\}//'`" ]
@@
-357,7
+357,7
@@
nids2hostname() {
case "${nettype}" in
lo* | elan* | ptl*) ;;
case "${nettype}" in
lo* | elan* | ptl*) ;;
- *) # tcp, o2ib,
cib, openib, iib, vib,
ra
+ *) # tcp, o2ib, ra
host_name=$(nid2hostname ${nid})
if [ ${PIPESTATUS[0]} -ne 0 ]; then
echo "${host_name}"
host_name=$(nid2hostname ${nid})
if [ ${PIPESTATUS[0]} -ne 0 ]; then
echo "${host_name}"
@@
-391,7
+391,7
@@
ip2hostname_single_node() {
case "${nettype}" in
lo* | elan* | ptl*) ;;
case "${nettype}" in
lo* | elan* | ptl*) ;;
- *) # tcp, o2ib,
cib, openib, iib, vib,
ra
+ *) # tcp, o2ib, ra
host_name=$(nid2hostname ${nid})
if [ ${PIPESTATUS[0]} -ne 0 ]; then
echo "${host_name}"
host_name=$(nid2hostname ${nid})
if [ ${PIPESTATUS[0]} -ne 0 ]; then
echo "${host_name}"