From acfd56114caf36f8868259d57511360ec6d6bb8b Mon Sep 17 00:00:00 2001 From: yinle Date: Sat, 12 Feb 2011 08:02:53 +0000 Subject: [PATCH] FSP/BPA redundancy: add support of the rpower operation on CEC git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/PPCpower.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-xCAT/xCAT/PPCpower.pm b/perl-xCAT/xCAT/PPCpower.pm index aa7818d12..e9bde2ffd 100644 --- a/perl-xCAT/xCAT/PPCpower.pm +++ b/perl-xCAT/xCAT/PPCpower.pm @@ -125,7 +125,7 @@ sub enumerate { ############################## # No lparid for fsp/bpa ############################## - if ( $type =~ /^(fsp|bpa)$/ ) { + if ( $type =~ /^(fsp|bpa|cec|frame)$/ ) { $lparid = $type; } $outhash{ $lparid } = $state; @@ -170,7 +170,7 @@ sub powercmd_boot { # Look up by lparid ################################## my $type = @$d[4]; - my $id = ($type=~/^(fsp|bpa)$/) ? $type : @$d[0]; + my $id = ($type=~/^(fsp|bpa|frame|cec)$/) ? $type : @$d[0]; ################################## # Output error @@ -405,7 +405,7 @@ sub state { # Look up by lparid ################################## my $type = @$d[4]; - my $id = ($type=~/^(fsp|bpa)$/) ? $type : @$d[0]; + my $id = ($type=~/^(fsp|bpa|cec|frame)$/) ? $type : @$d[0]; ################################## # Output error