summaryrefslogtreecommitdiffstats
path: root/tests/glusterfs-containers-tests-config.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glusterfs-containers-tests-config.yaml')
-rw-r--r--tests/glusterfs-containers-tests-config.yaml60
1 files changed, 60 insertions, 0 deletions
diff --git a/tests/glusterfs-containers-tests-config.yaml b/tests/glusterfs-containers-tests-config.yaml
new file mode 100644
index 00000000..a873a1c2
--- /dev/null
+++ b/tests/glusterfs-containers-tests-config.yaml
@@ -0,0 +1,60 @@
+# 'ocp_servers' is info about ocp master, client and worker nodes.
+# This section has to be defined.
+ocp_servers:
+ master:
+ master_node1_ip:
+ hostname: master_node1_hostname
+ client:
+ client_node1_ip:
+ hostname: client_node1_hostname
+ nodes:
+ ocp_node1_ip:
+ hostname: ocp_node1_hostname
+ ocp_node2_ip:
+ hostname: ocp_node2_hostname
+
+# 'gluster_servers' section covers the details of the nodes where gluster
+# servers are run. In the case of CNS, these are the nodes where gluster
+# pods are run. In the case of CRS, these are the nodes where gluster
+# servers are configured.
+# This section has to be defined.
+gluster_servers:
+ gluster_server1_ip:
+ manage: gluster_server1_hostname
+ storage: gluster_server1_ip
+ # 'additional_devices' option is used for couple of test cases
+ # which test Heketi device "add" operation.
+ additional_devices: [device3, device4]
+ gluster_server2_ip:
+ manage: gluster_server2_hostname
+ storage: gluster_server2_ip
+ additional_devices: [device3, device4]
+
+openshift:
+ storage_project_name: "<storage-project-name>"
+ heketi_config:
+ heketi_dc_name: "<fake-name-of-heketi-deployment-config>"
+ heketi_service_name: "<fake-name-of-heketi-service>"
+ heketi_client_node: "<node-ip-with-heketi-client>"
+ heketi_server_url: "<fake-heketi-server-url>"
+ heketi_cli_user: "<fake-heketi-cli-user>"
+ heketi_cli_key: "<fake-heketi-cli-secret>"
+ dynamic_provisioning:
+ storage_classes:
+ file_storage_class:
+ provisioner: "kubernetes.io/glusterfs"
+ resturl: "<fake-url>"
+ restuser: "<fake-user>"
+ secretnamespace: "<fake-namespace-name>"
+ volumenameprefix: "autotests-file"
+ block_storage_class:
+ provisioner: "gluster.org/glusterblock"
+ resturl: "<fake-url>"
+ restuser: "<fake-user>"
+ restsecretnamespace: "<fake-namespace-name>"
+ hacount: "3"
+ chapauthenabled: "true"
+ volumenameprefix: "autotests-block"
+
+common:
+ stop_on_first_failure: False