diff options
author | vamahaja <vamahaja@redhat.com> | 2019-10-31 18:14:29 +0530 |
---|---|---|
committer | vponomar <vponomar@redhat.com> | 2019-11-14 13:28:30 +0000 |
commit | 0c8f9389732a35682b5da03a1d86352e3fdcdb68 (patch) | |
tree | 75dcd9a0611eb042febf194ba481a94fd36288b8 /openshift-storage-libs/openshiftstoragelibs/baseclass.py | |
parent | b4be5eeb6d9a5b28dce8f4a0a3f9517d09739c04 (diff) |
Add test case to automate heketi add node into valid cluster
Change-Id: I4a2ac7b819929c2de6c8ea5520257800d2e134cc
Signed-off-by: vamahaja <vamahaja@redhat.com>
Diffstat (limited to 'openshift-storage-libs/openshiftstoragelibs/baseclass.py')
-rw-r--r-- | openshift-storage-libs/openshiftstoragelibs/baseclass.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openshift-storage-libs/openshiftstoragelibs/baseclass.py b/openshift-storage-libs/openshiftstoragelibs/baseclass.py index ad9c45ae..dd57a131 100644 --- a/openshift-storage-libs/openshiftstoragelibs/baseclass.py +++ b/openshift-storage-libs/openshiftstoragelibs/baseclass.py @@ -489,6 +489,12 @@ class BaseClass(unittest.TestCase): g_nodes = g_nodes.split('\n') if g_nodes else g_nodes return not not g_nodes + def configure_node_to_run_gluster(self, storage_host_manage): + if self.is_containerized_gluster(): + self.configure_node_to_run_gluster_pod(storage_host_manage) + else: + self.configure_node_to_run_gluster_node(storage_host_manage) + def _is_error_or_failure_exists(self): if hasattr(self, '_outcome'): # Python 3.4+ |