FSP/BPA redundancy: add support to rvitals of CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
acfd56114c
commit
732ff2cf24
@ -75,6 +75,10 @@ my %lsrefcode = (
|
||||
pri =>"lsrefcode -r sys -m %s -s p",
|
||||
sec =>"lsrefcode -r sys -m %s -s s",
|
||||
},
|
||||
cec => {
|
||||
pri =>"lsrefcode -r sys -m %s -s p",
|
||||
sec =>"lsrefcode -r sys -m %s -s s",
|
||||
},
|
||||
lpar =>"lsrefcode -r lpar -m %s --filter lpar_ids=%s",
|
||||
);
|
||||
|
||||
@ -355,7 +359,7 @@ sub lsrefcode {
|
||||
###################################
|
||||
# Select command
|
||||
###################################
|
||||
if($res eq 'fsp'){
|
||||
if($res =~ /^(fsp|cec)$/) {
|
||||
$cmds[0] = sprintf($lsrefcode{$res}{pri}, $d1);
|
||||
$cmds[1] = sprintf($lsrefcode{$res}{sec}, $d1);
|
||||
} elsif($res eq 'lpar'){
|
||||
|
Loading…
Reference in New Issue
Block a user