summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorShwetha Panduranga <spandura@redhat.com>2016-05-16 15:18:06 +0530
committerKaushal M <kaushal@redhat.com>2016-06-24 04:13:02 -0700
commitbeaa5d104a3eec1b0b87fac648b028f77fc2e80b (patch)
tree09bfa3fbe002701b8e40b59c0868e0ac3003589a /tests
parent59523a782d7ed00b31c8cdf8da74310384272355 (diff)
Adding distaf config file for gluster tests.
Change-Id: Id16bc316a202fa373774f380dfd86903516b80ac BUG: 1336373 Signed-off-by: Shwetha Panduranga <spandura@redhat.com> Reviewed-on: http://review.gluster.org/14357 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kaushal M <kaushal@redhat.com> Tested-by: Kaushal M <kaushal@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/distaf/tests_d/distaf_gluster_config.yml189
1 files changed, 189 insertions, 0 deletions
diff --git a/tests/distaf/tests_d/distaf_gluster_config.yml b/tests/distaf/tests_d/distaf_gluster_config.yml
new file mode 100644
index 00000000000..28ae6e2894e
--- /dev/null
+++ b/tests/distaf/tests_d/distaf_gluster_config.yml
@@ -0,0 +1,189 @@
+log_file: /var/log/tests/distaf_test_run.log
+log_level: DEBUG
+remote_user: root
+
+servers:
+ - &server1
+ host: server-vm1
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server2
+ host: server-vm2
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server3
+ host: server-vm3
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server4
+ host: server-vm4
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server5
+ host: server-vm5
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server6
+ host: server-vm2
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server7
+ host: server-vm7
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server8
+ host: server-vm8
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server9
+ host: server-vm9
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server10
+ host: server-vm10
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server11
+ host: server-vm11
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+ - &server12
+ host: server-vm12
+ devices: ["/dev/vdb", "/dev/vdc", "/dev/vdd", "/dev/vde"]
+ brick_root: "/bricks"
+
+clients:
+ - &client1
+ host: client-vm1
+ - &client2
+ host: client-vm2
+
+gluster:
+ cluster_config:
+ smb:
+ enable: False
+ user: 'root'
+ passwd: 'foobar'
+ ctdb_servers: []
+ ctdb_vips:
+ - vip: vip1
+ routing_prefix: '23'
+ interfaces: 'eth0'
+ - vip: vip2
+ routing_prefix: '22'
+ interfaces: 'eth0'
+ ctdb_metavol_brick_path: ''
+
+ nfs_ganesha:
+ enable: False
+ num_of_nfs_ganesha_nodes: 4
+ vips: []
+
+ volume_types:
+ distribute: &distribute
+ dist_count: 4
+ transport: tcp
+
+ replicate: &replicate
+ replica_count: 3
+ transport: tcp
+
+ dist_rep: &dist_rep
+ dist_count: 2
+ replica_count: 2
+ transport: tcp
+
+ disperse: &disperse
+ disperse_count: 4
+ redundancy_count: 2
+ transport: tcp
+
+ dist_disperse: &dist_disperse
+ dist_count: 2
+ disperse_count: 4
+ redundancy_count: 2
+ transport: tcp
+
+ slave_volumes:
+ - &slave_vol1
+ voltype: *dist_rep
+ servers: [ *server5, *server6, *server7, *server8 ]
+ peers: []
+ quota:
+ enable: False
+ limit_usage:
+ path: "/"
+ size: 100GB
+ percent:
+ limit_objects:
+ path: "/"
+ number:
+ percent:
+ alert_time:
+ soft_timeout:
+ hard_timeout:
+ inode_quota:
+ enable: False
+ bitrot:
+ enable: False
+ scrub_throttle:
+ scrub_frequency:
+
+ volumes:
+ - &vol1
+ name: hosdu
+ voltype: *dist_disperse
+ servers: [ *server1, *server2, *server3, *server4 ]
+ peers: [ *server9, *server10, *server11, *server12 ]
+ tier:
+ create_tier: False
+ type: *dist_rep
+ quota:
+ enable: False
+ limit_usage:
+ path: "/"
+ size: 100GB
+ percent:
+ limit_objects:
+ path: "/"
+ number:
+ percent:
+ alert_time: 0
+ soft_timeout: 0
+ hard_timeout: 0
+ inode_quota:
+ enable: False
+ bitrot:
+ enable: False
+ scrub_throttle: 'aggressive'
+ scrub_frequency: 'hourly'
+ geo_rep:
+ create_geo_rep_session: False
+ slave_volumes: [ *slave_vol1 ]
+ user: 'root'
+ group: 'geogroup'
+ sync_mode: 'rsync'
+ options:
+ performance.readdir-ahead: on
+ snapshot:
+ use_snapshot: True
+ snap_jobname: 'snap_job'
+ snap_schedule: 2
+
+ mounts:
+ - &mount1
+ protocol: 'glusterfs'
+ server: ''
+ volname:
+ client: *client1
+ mountpoint: ''
+ options: ''
+ - &mount2
+ protocol: 'nfs'
+ server: ''
+ volname: ''
+ client: *client2
+ mountpoint: ''
+ options: ''
+
+ global_mode: True