diff options
Diffstat (limited to 'doctor_tests/os_clients.py')
-rw-r--r-- | doctor_tests/os_clients.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doctor_tests/os_clients.py b/doctor_tests/os_clients.py index 44fa3aad..5606d40a 100644 --- a/doctor_tests/os_clients.py +++ b/doctor_tests/os_clients.py @@ -14,12 +14,14 @@ import glanceclient.client as glanceclient from keystoneclient.v2_0 import client as ks_client
from neutronclient.v2_0 import client as neutronclient
import novaclient.client as novaclient
+import vitrageclient.client as vitrageclient
OPTS = [
cfg.StrOpt('glance_version', default='2', help='glance version'),
cfg.StrOpt('nova_version', default='2.34', help='Nova version'),
cfg.StrOpt('aodh_version', default='2', help='aodh version'),
+ cfg.StrOpt('vitrage_version', default='1', help='vitrage version'),
]
@@ -48,3 +50,8 @@ def aodh_client(version, session): def congress_client(session):
return congressclient.Client(session=session,
service_type='policy')
+
+
+def vitrage_client(version, session):
+ return vitrageclient.Client(version=version,
+ session=session)
|