diff options
author | Arthy Loganathan <aloganat@redhat.com> | 2017-12-12 06:12:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.host.prod.eng.bos.redhat.com> | 2017-12-12 06:12:07 +0000 |
commit | 2af212ebbe85b1ad58b6bc546e3c19db4be17b9d (patch) | |
tree | af6a1de5e53d8b4e7fdc819ee668d0e7b5371cad /tests | |
parent | ce81e4adc238fe41f2a031b4f75c2f6f88448e94 (diff) | |
parent | 4067447ad52ab2de14d95a71536746184245aae0 (diff) |
Merge "Sample config file for cns automation tests"
Diffstat (limited to 'tests')
-rw-r--r-- | tests/cns_tests_sample_config.yml | 99 |
1 files changed, 99 insertions, 0 deletions
diff --git a/tests/cns_tests_sample_config.yml b/tests/cns_tests_sample_config.yml new file mode 100644 index 00000000..62cd2b26 --- /dev/null +++ b/tests/cns_tests_sample_config.yml @@ -0,0 +1,99 @@ +log_file: /var/log/tests/cns_tests.log +log_level: DEBUG + +# 'ocp_servers' is info about ocp master, client and worker nodes. +# 'region' can be <primary|infra>. +# This section has to be defined. +ocp_servers: + master: + master_node1: + hostname: master_node1 + region: + master_node2: + hostname: master_node2 + region: + client: + client_node1: + hostname: client_node1 + client_node2: + hostname: client_node2 + nodes: + ocp_node1: + hostname: ocp_node1 + region: + ocp_node2: + hostname: ocp_node2 + region: + +# '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: + manage: gluster_server1 + storage: gluster_server1 + zone: 1 + devices: [device1, device2] + additional_devices: [device3, device4] + gluster_server2: + manage: gluster_server2 + storage: gluster_server2 + zone : 2 + devices: [device1, device2] + additional_devices: [device3, device4] + +# 'additional_gluster_servers' section covers the details of the +# additional gluster nodes to add to the gluster cluster. +additional_gluster_servers: + gluster_server3: + manage: gluster_server3 + storage: gluster_server3 + zone : 3 + devices: [device1, device2] + additional_devices: [device3, device4] + +cns: + setup: + routing_config: "cloudapps.mystorage.com" + insecure_registry: "INSECURE_REGISTRY='--insecure-registry registry.access.redhat.com" + add_registry: "ADD_REGISTRY='--add-registry registry.access.redhat.com" + cns_project_name: "storage-project" + cns_username: "test-admin" + cns_password: + + # 'deployment_type' can be crs_heketi_outside_openshift|crs_heketi_inside_openshift|cns + deployment_type: + # 'executor' can be ssh|kube|mock + executor: ssh + executor_user: root + executor_port: 22 + trusted_storage_pool_list: + - [gluster_server1, gluster_server2] + heketi_config: + heketi_client_node: + heketi_server_url: "http://heketi-storage-project.cloudapps.mystorage.com" + heketi_ssh_key: "/etc/heketi/heketi_key" + heketi_config_file: "/etc/heketi/heketi.json" + heketi_volume: + size: + name: + expand_size: + dynamic_provisioning: + pods_info: + nginx: + size: 5 + number_of_pods: 3 + mongo: + size: 6 + number_of_pods: 7 + storage_classes: + storage_class1: + name: storage_class1 + provisioner: + default: + storage_class2: + name: storage_class2 + provisioner: + default: |