From d5b11ebfcb2a24f77fcfe239608d8b657fb68bc7 Mon Sep 17 00:00:00 2001 From: immarvin Date: Fri, 14 Sep 2012 03:07:13 +0000 Subject: [PATCH] add a new value nodelist.status=failed git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/GlobalDef.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/perl-xCAT/xCAT/GlobalDef.pm b/perl-xCAT/xCAT/GlobalDef.pm index d38ce7c57..f2a882be4 100644 --- a/perl-xCAT/xCAT/GlobalDef.pm +++ b/perl-xCAT/xCAT/GlobalDef.pm @@ -48,6 +48,7 @@ $::STATUS_STANDING_BY="standingby"; $::STATUS_SHELL="shell"; $::STATUS_DEFINED="defined"; $::STATUS_UNKNOWN="unknown"; +$::STATUS_FAILED="failed"; %::VALID_STATUS_VALUES = ( $::STATUS_ACTIVE=>1, $::STATUS_INACTIVE=>1, @@ -63,6 +64,7 @@ $::STATUS_UNKNOWN="unknown"; $::STATUS_SHELL=>1, $::STATUS_DEFINED=>1, $::STATUS_UNKNOWN=>1, + $::STATUS_FAILED=>1, ); #defined->[discovering]->[configuring]->[standingby]->installing->[installed]->booting->alive, defined->[discovering]->[configuring]-[standingby]->netbooting->booted->alive, alive/unreachable->booting->alive, powering-off->unreachable, alive->unreachable