From 310b3cad404031f98bab78bd85de76b7a851c57d Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 7 Feb 2012 15:17:39 +0000 Subject: [PATCH] Step 1 in implementing tftp mount directory managed fanout instead of xcat protocol fanout git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11502 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 6da3c66ed..a5b6d746f 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -524,7 +524,7 @@ nodepos => { }, }, noderes => { - cols => [qw(node servicenode netboot tftpserver 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 comments disable)], keys => [qw(node)], tablespace =>'XCATTBS16K', table_desc => 'Resources and settings to use when installing nodes.', @@ -533,6 +533,7 @@ noderes => { servicenode => 'A comma separated list of node names (as known by the management node) that provides most services for this node. The first service node on the list that is accessible will be used. The 2nd node on the list is generally considered to be the backup service node for this node when running commands like snmove.', netboot => 'The type of network booting to use for this node. Valid values: pxe or xnba for x86* architecture, yaboot for POWER architecture.', tftpserver => 'The TFTP server for this node (as known by this node).', + tftpdir => 'The directory that roots this nodes contents from a tftp and related perspective. Used for NAS offload by using different mountpoints.', nfsserver => 'The NFS or HTTP server for this node (as known by this node).', monserver => 'The monitoring aggregation point for this node. The format is "x,y" where x is the ip address as known by the management node and y is the ip address as known by the node.', nfsdir => 'The path that should be mounted from the NFS server.', @@ -1234,6 +1235,10 @@ my @nodeattrs = ( {attr_name => 'tftpserver', tabentry => 'noderes.tftpserver', access_tabentry => 'noderes.node=attr:node', + }, + {attr_name => 'tftpdir', + tabentry => 'noderes.tftpdir', + access_tabentry => 'noderes.node=attr:node', }, {attr_name => 'nfsserver', tabentry => 'noderes.nfsserver',