Add configuration support for skipping tests
This patch add configuration support in Octavia Tempest Plugin,
in case a provider driver does not support Health Monitors.
Change-Id: I25eb52e9f64a08560c9ea2f664edd9826be6e379
diff --git a/octavia_tempest_plugin/plugin.py b/octavia_tempest_plugin/plugin.py
index 5aae722..ec093e7 100644
--- a/octavia_tempest_plugin/plugin.py
+++ b/octavia_tempest_plugin/plugin.py
@@ -35,6 +35,9 @@
project_config.ServiceAvailableGroup)
config.register_opt_group(conf, project_config.octavia_group,
project_config.OctaviaGroup)
+ config.register_opt_group(conf,
+ project_config.lb_feature_enabled_group,
+ project_config.LBFeatureEnabledGroup)
def get_opt_lists(self):
return [
@@ -42,6 +45,8 @@
project_config.ServiceAvailableGroup),
(project_config.octavia_group.name,
project_config.OctaviaGroup),
+ (project_config.lb_feature_enabled_group.name,
+ project_config.LBFeatureEnabledGroup)
]
def get_service_clients(self):