From eeb535f8b7e4501f6630e19ab936a53320a22316 Mon Sep 17 00:00:00 2001 From: linggao Date: Fri, 23 Jan 2009 14:51:46 +0000 Subject: [PATCH] added supernode column in the ppc table git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 8b94fce31..a4bc2ce47 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -417,7 +417,7 @@ postscripts => { }, }, ppc => { - cols => [qw(node hcp id pprofile parent comments disable)], + cols => [qw(node hcp id pprofile parent supernode comments disable)], keys => [qw(node)], table_desc => 'List of system p hardware: HMCs, IVMs, FSPs, BPCs.', descriptions => { @@ -426,6 +426,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).', + 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.", }, @@ -968,6 +969,17 @@ my @nodeattrs = ( tabentry => 'ppc.parent', access_tabentry => 'ppc.node=attr:node', }, + {attr_name => 'supernode', + only_if => 'mgt=hmc', + tabentry => 'ppc.supernode', + access_tabentry => 'ppc.node=attr:node', + }, + {attr_name => 'supernode', + only_if => 'mgt=ivm', + tabentry => 'ppc.supernode', + access_tabentry => 'ppc.node=attr:node', + }, + ####################### # ppcdirect table # #######################