Make Identity v2 service clients as available module
All Identity v2 service clients are in lib now and
lib/services/client.py->ServiceClients should register
those service clients automatically and make them available for
external usage.
This patch remove 'identity.v2' from _tempest_internal_modules
and add in tempest_modules.
Change-Id: I4142bc9a451edccaa70d2311e0fe27ec20adc972
diff --git a/tempest/lib/services/clients.py b/tempest/lib/services/clients.py
index 2e5c457..9e58872 100644
--- a/tempest/lib/services/clients.py
+++ b/tempest/lib/services/clients.py
@@ -23,6 +23,7 @@
from tempest.lib.common.utils import misc
from tempest.lib import exceptions
from tempest.lib.services import compute
+from tempest.lib.services import identity
from tempest.lib.services import image
from tempest.lib.services import network
from tempest.lib.services import volume
@@ -39,6 +40,7 @@
"""
return {
'compute': compute,
+ 'identity.v2': identity.v2,
'image.v1': image.v1,
'image.v2': image.v2,
'network': network,
@@ -52,7 +54,7 @@
# NOTE(andreaf) This list will exists only as long the remain clients
# are migrated to tempest.lib, and it will then be deleted without
# deprecation or advance notice
- return set(['identity.v2', 'identity.v3', 'object-storage', 'volume.v3'])
+ return set(['identity.v3', 'object-storage', 'volume.v3'])
def available_modules():