summaryrefslogtreecommitdiffstats
path: root/tests/gluster_tests_config.yml
diff options
context:
space:
mode:
authorShwethaHP <spandura@redhat.com>2017-08-04 16:43:43 +0530
committerShwethaHP <spandura@redhat.com>2017-08-09 15:19:37 +0530
commit0a4cdc909d4f5cb60b5dba5f2ca360db8e74796f (patch)
treebd641dedeb422eb40b61b4e806349efc9a77f101 /tests/gluster_tests_config.yml
parent3f38fd0b62eb0e2397e9bef4bcf8227a33f5361c (diff)
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 <spandura@redhat.com>
Diffstat (limited to 'tests/gluster_tests_config.yml')
-rw-r--r--tests/gluster_tests_config.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/gluster_tests_config.yml b/tests/gluster_tests_config.yml
index bfc2823..70d4ec4 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: