Qlogic Fast Fabric Spécifications Page 155

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 174
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 154
B – Fast Fabric Configuration Files
D000006-000 Rev A B-3
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
function ff_host_basename_to_ipoib()
{
# $1 = hostname provided
echo "$1$FF_IPOIB_SUFFIX"
}
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
function ff_host_basename()
{
# $1 = hostname provided (could be ethernet or
IPoIB name)
echo "$1"|sed -e "s/$FF_IPOIB_SUFFIX\$//"
}
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
Vue de la page 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 173 174

Commentaires sur ces manuels

Pas de commentaire