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
This commit is contained in:
parent
4e7fe2eb0f
commit
acfd56114c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user