Merge "Add flavor_alt_ref"
diff --git a/_modules/runtest/tempest_sections/auth.py b/_modules/runtest/tempest_sections/auth.py
index a052100..d1b8b15 100644
--- a/_modules/runtest/tempest_sections/auth.py
+++ b/_modules/runtest/tempest_sections/auth.py
@@ -50,7 +50,13 @@
@property
def tempest_roles(self):
- pass
+ # Barbican may be enabled in several components like nova,glance,cinder.
+ # Look for nova only as it is core openstack service and present on each installation.
+ # Assume if barbican is enabled in nova, its integration enabled globally.
+
+ c = conditions.BaseRule('nova.controller.enabled', 'eq', True)
+ if self.get_item_when_condition_match('nova.controller.barbican.enabled', c):
+ return 'creator'
@property
def test_accounts_file(self):