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:
yinle 2011-02-12 09:52:10 +00:00
parent acfd56114c
commit 732ff2cf24

View File

@ -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'){