all_lpars_state when the cec is in cec standby state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7472 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
bd4d516212
commit
408a2ee234
@ -6,6 +6,7 @@ use strict;
|
||||
use xCAT::PPCcli qw(SUCCESS EXPECT_ERROR RC_ERROR NR_ERROR);
|
||||
use xCAT::PPCpower;
|
||||
use xCAT::FSPUtils;
|
||||
#use Data::Dumper;
|
||||
##########################################################################
|
||||
# Parse the command line for options and operands
|
||||
##########################################################################
|
||||
@ -305,6 +306,11 @@ sub state {
|
||||
push @result, [$name, "$prefix$data",$Rc];
|
||||
next;
|
||||
}
|
||||
#print Dumper($data);
|
||||
my @k = keys(%$data);
|
||||
if( grep(/all/, @k) == 1 ) {
|
||||
$data->{$id} = $data->{all};
|
||||
}
|
||||
##################################
|
||||
# Node not found
|
||||
##################################
|
||||
|
Loading…
Reference in New Issue
Block a user