From 732ff2cf244d720a9a512af79f345e95304419b2 Mon Sep 17 00:00:00 2001 From: yinle Date: Sat, 12 Feb 2011 09:52:10 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/PPCcli.pm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/PPCcli.pm b/perl-xCAT/xCAT/PPCcli.pm index ea00f819c..15a73519b 100644 --- a/perl-xCAT/xCAT/PPCcli.pm +++ b/perl-xCAT/xCAT/PPCcli.pm @@ -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'){