From 8181865e23709553e891a884ec1458ad51332e6c Mon Sep 17 00:00:00 2001 From: ligc Date: Thu, 11 Jun 2009 05:47:19 +0000 Subject: [PATCH] Update schema.pm to open attributes in ppc table to fsp and bpa nodes git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 0e840446c..da2a86dd8 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1011,26 +1011,20 @@ my @nodeattrs = ( # ppc table # #################### {attr_name => 'hcp', - only_if => 'mgt=hmc', - tabentry => 'ppc.hcp', - access_tabentry => 'ppc.node=attr:node', - }, - {attr_name => 'hcp', - only_if => 'mgt=ivm', tabentry => 'ppc.hcp', access_tabentry => 'ppc.node=attr:node', }, {attr_name => 'id', - only_if => 'mgt=hmc', - tabentry => 'ppc.id', - access_tabentry => 'ppc.node=attr:node', - }, - {attr_name => 'id', - only_if => 'mgt=ivm', tabentry => 'ppc.id', access_tabentry => 'ppc.node=attr:node', }, {attr_name => 'pprofile', + only_if => 'mgt=hmc', + tabentry => 'ppc.pprofile', + access_tabentry => 'ppc.node=attr:node', + }, + {attr_name => 'pprofile', + only_if => 'mgt=ivm', tabentry => 'ppc.pprofile', access_tabentry => 'ppc.node=attr:node', }, @@ -1044,13 +1038,12 @@ my @nodeattrs = ( tabentry => 'ppc.parent', access_tabentry => 'ppc.node=attr:node', }, - {attr_name => 'supernode', - only_if => 'mgt=hmc', - tabentry => 'ppc.supernode', + {attr_name => 'parent', + only_if => 'mgt=fsp', + tabentry => 'ppc.parent', access_tabentry => 'ppc.node=attr:node', }, {attr_name => 'supernode', - only_if => 'mgt=ivm', tabentry => 'ppc.supernode', access_tabentry => 'ppc.node=attr:node', },