From 0db2e1eb005eba4797200b94367920b90f8c133b Mon Sep 17 00:00:00 2001 From: yinle Date: Wed, 15 Dec 2010 07:12:40 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/Schema.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 9b81b0d80..5de03b624 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -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',