summaryrefslogtreecommitdiffstats
path: root/tests/basic/gfapi/protocol-client-ssl.vol.in
diff options
context:
space:
mode:
authorMôshe van der Sterre <me@moshe.nl>2020-09-28 06:12:32 +0200
committerMOHIT AGRAWAL <moagrawa@redhat.com>2020-09-29 14:32:59 +0000
commiteb4b2cb003a1e99edbb0c061502b5be73bfb5bf2 (patch)
tree878228250b02db5647d1986f76d2571bc410a752 /tests/basic/gfapi/protocol-client-ssl.vol.in
parent773aaddc656a57b23bfae60808f099439329602c (diff)
downloadglusterfs-eb4b2cb003a1e99edbb0c061502b5be73bfb5bf2.tar.gz
glusterfs-eb4b2cb003a1e99edbb0c061502b5be73bfb5bf2.tar.xz
glusterfs-eb4b2cb003a1e99edbb0c061502b5be73bfb5bf2.zip
gfapi: Move the SECURE_ACCESS_FILE check out of glfs_mgmt_init
glfs_mgmt_init is only called for glfs_set_volfile_server, but secure_mgmt is also required to use glfs_set_volfile with SSL. fixes: #829 Change-Id: Ibc769fe634d805e085232f85ce6e1c48bf4acc66
Diffstat (limited to 'tests/basic/gfapi/protocol-client-ssl.vol.in')
-rw-r--r--tests/basic/gfapi/protocol-client-ssl.vol.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/basic/gfapi/protocol-client-ssl.vol.in b/tests/basic/gfapi/protocol-client-ssl.vol.in
new file mode 100644
index 0000000000..cdc0c9d067
--- /dev/null
+++ b/tests/basic/gfapi/protocol-client-ssl.vol.in
@@ -0,0 +1,15 @@
+#
+# This .vol file expects that there is
+#
+# 1. GlusterD listening on @@HOSTNAME@@
+# 2. a volume that provides a brick on @@BRICKPATH@@
+# 3. the volume with the brick has been started
+#
+volume test
+ type protocol/client
+ option remote-host @@HOSTNAME@@
+ option remote-subvolume @@BRICKPATH@@
+ option transport-type socket
+ option transport.socket.ssl-enabled @@SSL@@
+end-volume
+