summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAkarsha <akrai@redhat.com>2018-09-07 17:09:05 +0530
committerVijay Avuthu <vavuthu@redhat.com>2018-09-12 06:21:18 +0000
commite6e53b5321b8e991eb23bb9d9d6626e7ac364e1e (patch)
treeeba5e8e6cbec6b2b7000d023e6685d1c1bc706f6 /tests
parent4c33c68e20a3b84e0e19a4a6c5cce6a9766f1042 (diff)
Modified existing doc
Change-Id: I84360dd73a951db5db6a574fb10ada57a1e7e1ad Signed-off-by: Akarsha <akrai@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/gluster_basic_config.yml63
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/gluster_basic_config.yml b/tests/gluster_basic_config.yml
new file mode 100644
index 000000000..d43cb6f08
--- /dev/null
+++ b/tests/gluster_basic_config.yml
@@ -0,0 +1,63 @@
+log_file: /var/log/tests/gluster_tests.log
+log_level: DEBUG
+
+# 'servers' is list of Hostnames/IP's of servers in the cluster.
+# This section has to be defined.
+servers:
+ - server-vm1
+ - server-vm2
+ - server-vm3
+ - server-vm4
+ - server-vm5
+ - server-vm6
+
+# 'clients' is list of Hostnames/IP's of clients in the cluster.
+# This section has to be defined.
+clients:
+ - client-vm1
+ - client-vm2
+
+# 'servers_info' is info about each server in the cluster.
+# each server_info is a dict with 'Hostname/IP' of the server as key.
+# The info should contain the host(Hostname/IP) of server, devices to use
+# for creating bricks, brick_root i.e dirname of brick mount point.
+# Note: Use the same Hostname/IP used in the above 'servers' section.
+# This section has to be defined.
+
+servers_info:
+ server-vm1: &server1
+ host: server-vm1
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ server-vm2: &server2
+ host: server-vm2
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ server-vm3: &server3
+ host: server-vm3
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ server-vm4: &server4
+ host: server-vm4
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ server-vm5: &server5
+ host: server-vm5
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ server-vm6: &server6
+ host: server-vm6
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+
+# 'clients_info' is info about each client in the cluster.
+# each client_info is a dict with 'Hostname/IP' of the client as key.
+# The info should contain the host(Hostname/IP) of client, platform(Linux or
+# Windows), super_user name(Admin/Administrator/* in case of windows or root/*
+# in case of linux).
+# This section has to be defined.
+clients_info:
+ client-vm1: &client1
+ host: client-vm1
+ client-vm2: &client2
+ host: client-vm2