mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-11-03 21:02:34 +00:00 
			
		
		
		
	Add node/group level nameserver indication to schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		@@ -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.",
 | 
			
		||||
 },
 | 
			
		||||
@@ -1564,6 +1565,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',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user