From 0a4cdc909d4f5cb60b5dba5f2ca360db8e74796f Mon Sep 17 00:00:00 2001 From: ShwethaHP Date: Fri, 4 Aug 2017 16:43:43 +0530 Subject: Providing configs to set volume options, group options when exporting volume as 'smb share', 'nfs-ganesha export' in the config yml. Reading the configs in the gluster_base_class and setting those configs when exporting the volumes as 'smb share' or 'nfs-ganesha export'. recommended options when exporting volume as 'smb share': group: "metadata-cache" cache-samba-metadata: "on" Change-Id: I86a118c7015eaedd849a0f6e8b613605df5b6c32 Signed-off-by: ShwethaHP --- tests/gluster_tests_config.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'tests/gluster_tests_config.yml') diff --git a/tests/gluster_tests_config.yml b/tests/gluster_tests_config.yml index bfc28232d..70d4ec4e9 100644 --- a/tests/gluster_tests_config.yml +++ b/tests/gluster_tests_config.yml @@ -3,7 +3,7 @@ log_level: DEBUG # 'servers' is list of Hostnames/IP's of servers in the cluster. # This section has to be defined. - servers: +servers: - server-vm1 - server-vm2 - server-vm3 @@ -201,6 +201,17 @@ gluster: ## performance.readdir-ahead: "off" ## server.allow-insecure: "on" + # If the volume is exported as SMB Share, then set the following + # volume options on the share. + smb_share_options: +## group: +## - metadata-cache +## - nl-cache + + # If the volume is exported as NFS-Ganesha export, then set the following + # volume options on the export. + nfs_ganesha_export_options: + # slave volumes config goes under 'slave_volumes' section. This is a list # of all the slave volumes. slave_volumes: -- cgit