From fc69abc7031c57df703b6c0daa70a03cf4181f0f Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 19 Mar 2013 14:31:44 +0000 Subject: [PATCH] Add node/group level nameserver indication to schema git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15581 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 0054632a6..98258369d 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -577,7 +577,7 @@ nodepos => { }, }, noderes => { - cols => [qw(node servicenode netboot tftpserver tftpdir nfsserver monserver nfsdir installnic primarynic discoverynics cmdinterface xcatmaster current_osimage next_osimage nimserver routenames comments disable)], + cols => [qw(node servicenode netboot tftpserver tftpdir nfsserver monserver nfsdir installnic primarynic discoverynics cmdinterface xcatmaster current_osimage next_osimage nimserver routenames nameservers comments disable)], keys => [qw(node)], tablespace =>'XCATTBS16K', table_desc => 'Resources and settings to use when installing nodes.', @@ -599,6 +599,7 @@ noderes => { next_osimage => 'Not currently used. The name of the osimage data object that represents the OS image that will be installed on the node the next time it is deployed.', nimserver => 'Not used for now. The NIM server for this node (as known by this node).', routenames => 'A comma separated list of route names that refer to rows in the routes table. These are the routes that should be defined on this node when it is deployed.', + nameservers => 'An optional node/group specific override for name server list. Most people want to stick to site or network defined nameserver configuration.', comments => 'Any user-written notes.', disable => "Set to 'yes' or '1' to comment out this row.", }, @@ -1563,6 +1564,10 @@ my @nodeattrs = ( {attr_name => 'netboot', tabentry => 'noderes.netboot', access_tabentry => 'noderes.node=attr:node', + }, + {attr_name => 'nameservers', + tabentry => 'noderes.nameservers', + access_tabentry => 'noderes.node=attr:node', }, {attr_name => 'routenames', tabentry => 'noderes.routenames',