Add possibility to define list of services/modules/packages to skip
Change-Id: Ice289221e6e99181682ddf9155f390c388e590ad
Related-Prod: #PROD-27215(PROD:27215)
diff --git a/test_set/cvp-sanity/tests/test_services.py b/test_set/cvp-sanity/tests/test_services.py
index 02c001b..da85851 100644
--- a/test_set/cvp-sanity/tests/test_services.py
+++ b/test_set/cvp-sanity/tests/test_services.py
@@ -15,6 +15,7 @@
Skips services if they are not consistent for all node.
Inconsistent services will be checked with another test case
"""
+ exclude_services = utils.get_configuration().get("exclude_services", [])
output = local_salt_client.cmd("L@"+','.join(nodes_in_group), 'service.get_all', expr_form='compound')
if len(output.keys()) < 2:
@@ -29,6 +30,8 @@
my_set.update(output[node])
for srv in my_set:
+ if srv in exclude_services:
+ continue
diff = []
row = []
for node in nodes: