modify defspec to support *def operation on hwtype with ppc/zvm.nodetype

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9985 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-06-30 07:32:49 +00:00
parent 873cdef963
commit c19622f0e9

View File

@ -1526,10 +1526,31 @@ my @nodeattrs = (
tabentry => 'ppc.parent',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'nodetype',
{attr_name => 'hwtype',
only_if => 'mgt=fsp',
tabentry => 'ppc.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
},
{attr_name => 'hwtype',
only_if => 'mgt=bpa',
tabentry => 'ppc.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'hwtype',
only_if => 'mgt=ivm',
tabentry => 'ppc.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'hwtype',
only_if => 'mgt=hmc',
tabentry => 'ppc.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'hwtype',
only_if => 'mgt=zvm',
tabentry => 'zvm.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'supernode',
tabentry => 'ppc.supernode',
access_tabentry => 'ppc.node=attr:node',