From 08b727842bc66603e3b8d1160ee4b15051b0cd20 Mon Sep 17 00:00:00 2001 From: sayaleeraut Date: Wed, 27 Nov 2019 18:25:50 +0530 Subject: [lib]:Adding the default configs for arbiter and dist-arbiter Adding the default configurations for arbiter and distributed- arbiter volume types, as it was missing from the gluster_base_class.py. Adding Arbiter and Distributed arbiter configuration in the glusto_tests_config.yml Change-Id: Ic078505975ff1a1171a4bc6ee6ad2c67f0fb45f1 Signed-off-by: sayaleeraut --- .../glustolibs/gluster/gluster_base_class.py | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'glustolibs-gluster') diff --git a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py index c84415f15..34a1fe581 100644 --- a/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py +++ b/glustolibs-gluster/glustolibs/gluster/gluster_base_class.py @@ -61,7 +61,8 @@ class runs_on(g.CarteTestClass): # the options to replace 'ALL' in selections self.available_options = [['distributed', 'replicated', 'distributed-replicated', - 'dispersed', 'distributed-dispersed'], + 'dispersed', 'distributed-dispersed', + 'arbiter', 'distributed-arbiter'], ['glusterfs', 'nfs', 'cifs', 'smb']] # these are the volume and mount options to run and set in config @@ -573,6 +574,19 @@ class GlusterBaseClass(TestCase): 'disperse_count': 6, 'redundancy_count': 2, 'transport': 'tcp', + }, + 'arbiter': { + 'type': 'arbiter', + 'replica_count': 3, + 'arbiter_count': 1, + 'transport': 'tcp', + }, + 'distributed-arbiter': { + 'type': 'distributed-arbiter', + 'dist_count': 2, + 'replica_count': 3, + 'arbiter_count': 1, + 'tranport': 'tcp', } } -- cgit