From bbac9b2faf929805ce29c18261a6af82bf92edb0 Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 4 Mar 2011 06:44:51 +0000 Subject: [PATCH] FSP/BPA redundancy: should support cec/frame. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPpower.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/FSPpower.pm b/perl-xCAT/xCAT/FSPpower.pm index 4d8bdd516..537339884 100644 --- a/perl-xCAT/xCAT/FSPpower.pm +++ b/perl-xCAT/xCAT/FSPpower.pm @@ -53,7 +53,7 @@ sub enumerate { ############################## # No lparid for fsp/bpa ############################## - if ( $type =~ /^(fsp|bpa)$/ ) { + if ( $type =~ /^(fsp|bpa|cec|frame)$/ ) { $lparid = $type; } $outhash{ $lparid } = $state; @@ -297,7 +297,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