2007-12-05 22:14:56 +00:00
|
|
|
#!/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";
|
2008-02-14 19:44:53 +00:00
|
|
|
$::NODETYPE_LPAR="lpar";
|
2008-02-14 19:15:37 +00:00
|
|
|
$::NODETYPE_BPA="bpa";
|
|
|
|
$::NODETYPE_FSP="fsp";
|
2008-03-28 15:41:33 +00:00
|
|
|
$::NODETYPE_HMC="hmc";
|
|
|
|
$::NODETYPE_IVM="ivm";
|
2007-12-05 22:14:56 +00:00
|
|
|
|
|
|
|
# valid values for nodelist.status columns or other status
|
|
|
|
$::STATUS_ACTIVE="active";
|
|
|
|
$::STATUS_INACTIVE="inactive";
|
|
|
|
$::STATUS_UNKNOWN="unknown";
|
|
|
|
|
|
|
|
1;
|
|
|
|
|