summaryrefslogtreecommitdiffstats
path: root/tests/glusterfs-containers-tests-config.yaml
diff options
context:
space:
mode:
authoradityaramteke <adityaramteke05icr@gmail.com>2019-03-13 16:37:12 +0530
committeradityaramteke <adityaramteke05icr@gmail.com>2019-03-13 16:37:38 +0530
commit30f29a692617cb7a0f70de96fff6617c8fbc2993 (patch)
tree18e8db09a85e2dd2dc7f694f1a9fa6fee22cfdce /tests/glusterfs-containers-tests-config.yaml
parenta6ced57e371cd812593c20412059887c7858cc5b (diff)
rename config file
Change-Id: Ib596c79ea3e7c3dd6c83c533e708313f3c4ecc2f
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 0000000..a873a1c
--- /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