From 46c711d220173310448dee25b675150880a5486a Mon Sep 17 00:00:00 2001 From: phamt Date: Fri, 25 Sep 2009 14:45:45 +0000 Subject: [PATCH] Add a new table called 'zvm' for z/VM support. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4228 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index bfe2151f4..95c783016 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -717,6 +717,19 @@ prescripts => { }, }, +zvm => { + cols => [qw(node hcp userid comments disable)], + keys => [qw(node)], + table_desc => 'List of z/VM virtual servers.', + descriptions => { + node => 'The node name.', + hcp => 'The hardware control point for this node.', + userid => 'The z/VM userID of this node.', + comments => 'Any user provided notes.', + disable => "Set to 'yes' or '1' to comment out this row.", + }, +}, + ); # end of tabspec definition @@ -1146,6 +1159,21 @@ my @nodeattrs = ( tabentry => 'ppcdirect.password', access_tabentry => 'ppcdirect.hcp=attr:node::ppcdirect.username=str:general', }, + +#################### +# zvm table # +#################### + {attr_name => 'hcp', + only_if => 'mgt=zvm', + tabentry => 'zvm.hcp', + access_tabentry => 'zvm.node=attr:node', + }, + {attr_name => 'userid', + only_if => 'mgt=zvm', + tabentry => 'zvm.userid', + access_tabentry => 'zvm.node=attr:node', + }, + ################## # ipmi table # ##################