From 3941f9b767d03535631b2875aba2fe9d2d43848b Mon Sep 17 00:00:00 2001 From: sakolish Date: Fri, 13 Jun 2008 13:21:03 +0000 Subject: [PATCH] Changed "deps" table to support multiple keys (node, cmd) git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index e108547f0..0afb5d2bc 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -37,7 +37,8 @@ chain => { }, deps => { cols => [qw(node nodedep msdelay cmd comments disable)], - keys => [qw(node)], + keys => [qw(node cmd)], + required => [qw(node cmd)], table_desc => 'Describes dependencies some nodes have on others. This can be used, e.g., by rpower -d to power nodes on or off in the correct order.', descriptions => { node => 'The node name or group name.', @@ -344,7 +345,7 @@ ppc => { table_desc => 'List of system p hardware: HMCs, IVMs, FSPs, BPCs.', descriptions => { node => 'The node name or group name.', - hcp => 'The hardware control point for this node (HMC or IVM)., + hcp => 'The hardware control point for this node (HMC or IVM).', 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).',