From 7ef43f108929c99c7a19ce126591381e8a16c97d Mon Sep 17 00:00:00 2001 From: nott Date: Mon, 16 Jun 2008 13:17:24 +0000 Subject: [PATCH] Add tttrs from servicenode table to node def. git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 0afb5d2bc..64c8e09c2 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -1,9 +1,13 @@ # IBM(c) 2007 EPL license http://www.eclipse.org/legal/epl-v10.html package xCAT::Schema; +# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +# # When making additions or deletions to this file please be sure to # modify BOTH the tabspec and defspec definitions. This includes # adding descriptions for any new attributes. +# +# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! #Note that the SQL is far from imaginative. Fact of the matter is that @@ -622,6 +626,46 @@ my @nodeattrs = ( access_tabentry => 'noderes.node=attr:node', }, ###################### +# servicenode table # +###################### + {attr_name => 'setupnameserver', + tabentry => 'servicenode.nameserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setupdhcp', + tabentry => 'servicenode.dhcpserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setuptftp', + tabentry => 'servicenode.tftpserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setupnfs', + tabentry => 'servicenode.nfsserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setupconserver', + tabentry => 'servicenode.conserver', + access_tabentry => 'servicenode.node=attr:node', + }, +# - moserver not used yet +# {attr_name => 'setupmonserver', +# tabentry => 'servicenode.monserver', +# access_tabentry => 'servicenode.node=attr:node', +# }, + {attr_name => 'setupldap', + tabentry => 'servicenode.ldapserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setupntp', + tabentry => 'servicenode.ntpserver', + access_tabentry => 'servicenode.node=attr:node', + }, + {attr_name => 'setupftp', + tabentry => 'servicenode.ftpserver', + access_tabentry => 'servicenode.node=attr:node', + }, +###################### # nodetype table # ###################### {attr_name => 'arch',