Qlogic Fast Fabric User Manual page 155

Table of Contents

Advertisement

Q
# The shell functions below are only defined if no existing
function/command
# with given name, hence allowing use of shell functions or
creation of a
# command for this operation
# shell Function to convert a basic hostname into an IPoIB
hostname
# if FF_IPOIB_SUFFIX is "", this should return $1 unmodified
# such that commands can be used with -i "" to skip IPoIB
operations
# (special value of NONE will be converted to "" before this is
called)
if ! type ff_host_basename_to_ipoib >/dev/null 2>/dev/null
then
fi
# shell Function to convert a hostname into a basic hostname
# (eg. remove IPoIB suffix, etc) should match result of "hostname
-s" on host
# if FF_IPOIB_SUFFIX is "", this should return $1 unmodified
# such that commands can be used with -i "" to skip IPoIB
operations
# (special value of NONE will be converted to "" before this is
called)
if ! type ff_host_basename >/dev/null 2>/dev/null
then
IPoIB name)
fi
# IP netmask for IPoIB subnet [-m option]
# if "" default will be determined based on class of IP address
[A, B, C]
export FF_IPOIB_NETMASK="${FF_IPOIB_NETMASK:-}"
# Maximum parallel processes for ibtest and -p option on other
commands
D000006-000 Rev A
function ff_host_basename_to_ipoib()
{
# $1 = hostname provided
echo "$1$FF_IPOIB_SUFFIX"
}
function ff_host_basename()
{
# $1 = hostname provided (could be ethernet or
echo "$1"|sed -e "s/$FF_IPOIB_SUFFIX\$//"
}
B – Fast Fabric Configuration Files
B-3

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Fast Fabric and is the answer not in the manual?

Table of Contents