From 86eac441a49bbdfc10ccdc73ca5adb4f2638b1ca Mon Sep 17 00:00:00 2001 From: jjhua Date: Fri, 4 Mar 2011 02:04:18 +0000 Subject: [PATCH] for p7 ih, no pprofile attribute for lpar in ppc table git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/PPC.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/PPC.pm b/xCAT-server/lib/perl/xCAT/PPC.pm index 8b27ef65c..37072ddf1 100644 --- a/xCAT-server/lib/perl/xCAT/PPC.pm +++ b/xCAT-server/lib/perl/xCAT/PPC.pm @@ -1100,7 +1100,9 @@ sub resolve { ################################# foreach my $at ( @attribs ) { if ( !exists( $att->{$at} )) { + if( !($request->{fsp_api} == 1 && !exists($att->{pprofile}))) { #for p7 ih, there is no pprofile attribute return( sprintf( $errmsg{NO_ATTR}, $at, "ppc" )); + } } } #################################