xcat-core/perl-xCAT/xCAT/GlobalDef.pm

41 lines
976 B
Perl
Raw Normal View History

#!/usr/bin/env perl
# IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html
package xCAT::GlobalDef;
#--------------------------------------------------------------------------------
=head1 xCAT::GlobalDef
=head2 Package Description
This module contains all the global info for xCAT.
=cut
#--------------------------------------------------------------------------------
# valid values for nodelist.nodetype column
$::NODETYPE_OSI="osi";
$::NODETYPE_LPAR="lpar";
$::NODETYPE_BPA="bpa";
$::NODETYPE_FSP="fsp";
$::NODETYPE_HMC="hmc";
$::NODETYPE_IVM="ivm";
# valid values for nodelist.status columns or other status
$::STATUS_ACTIVE="alive";
$::STATUS_INACTIVE="unreachable";
$::STATUS_INSTALLING="installing";
$::STATUS_INSTALLED="installed";
$::STATUS_BOOTING="booting";
$::STATUS_NETBOOTING="netbooting";
$::STATUS_BOOTED="booted";
$::STATUS_POWERING_OFF="powering-off";
$::STATUS_DISCOVERING="discovering";
$::STATUS_UNKNOWN="unknown";
1;