FSP/BPA redundancy: add the attribute "nodetype" to PPC table

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8405 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2010-12-15 07:12:40 +00:00
parent bd601bf0f5
commit 0db2e1eb00

View File

@ -659,7 +659,7 @@ postscripts => {
},
},
ppc => {
cols => [qw(node hcp id pprofile parent supernode comments disable)],
cols => [qw(node hcp id pprofile parent nodetype supernode comments disable)],
keys => [qw(node)],
table_desc => 'List of system p hardware: HMCs, IVMs, FSPs, BPCs.',
descriptions => {
@ -668,6 +668,7 @@ ppc => {
id => 'For LPARs: the LPAR numeric id; for FSPs: the cage number; for BPAs: the frame number.',
pprofile => 'The LPAR profile that will be used the next time the LPAR is powered on with rpower.',
parent => 'For LPARs: the FSP/CEC; for FSPs: the BPA (if one exists); for BPAs: the building block (BB) which consists 1 or more service nodes and compute/storage nodes that are serviced by them.',
nodetype => 'The hardware type of the node. Only can be one of fsp, bpa, cec, frame and hmc',
supernode => 'Comma separated list of 2 ids. The first one is the id of the supernode the FSP resides in. The second one is the logic location number (0-3) within the supernode for the FSP.',
comments => 'Any user-written notes.',
disable => "Set to 'yes' or '1' to comment out this row.",
@ -1466,6 +1467,10 @@ my @nodeattrs = (
tabentry => 'ppc.parent',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'nodetype',
tabentry => 'ppc.nodetype',
access_tabentry => 'ppc.node=attr:node',
},
{attr_name => 'supernode',
tabentry => 'ppc.supernode',
access_tabentry => 'ppc.node=attr:node',