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
This commit is contained in:
ligc 2009-06-11 05:47:19 +00:00
parent c2d062c504
commit 8181865e23

View File

@ -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',
},