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
This commit is contained in:
jjhua 2011-03-04 06:44:51 +00:00
parent 2bf52be7ef
commit bbac9b2faf

View File

@ -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