diff options
author | sayaleeraut <saraut@redhat.com> | 2019-11-27 18:25:50 +0530 |
---|---|---|
committer | Bala Konda Reddy M <bmekala@redhat.com> | 2019-11-29 12:26:15 +0000 |
commit | 08b727842bc66603e3b8d1160ee4b15051b0cd20 (patch) | |
tree | 9123827a7450e08a1b0f37e9af83c73d47f78a47 /glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | |
parent | cab20968a517933bb1da084fb00a48a5448079f9 (diff) |
[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 <saraut@redhat.com>
Diffstat (limited to 'glustolibs-gluster/glustolibs/gluster/gluster_base_class.py')
-rw-r--r-- | glustolibs-gluster/glustolibs/gluster/gluster_base_class.py | 16 |
1 files changed, 15 insertions, 1 deletions
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', } } |