X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Fos_clients.py;h=7ab4e9b441e9efb9d39e0a840ddfd2e3779f3e04;hb=b54cbc5dd2d32fcb27238680b4657ed384d021c5;hp=640281df9ff1245b82f6e40ea2c038eee25194ca;hpb=b2bb504032ac81a2ed3f404113b097d9ce3d7f14;p=doctor.git diff --git a/doctor_tests/os_clients.py b/doctor_tests/os_clients.py index 640281df..7ab4e9b4 100644 --- a/doctor_tests/os_clients.py +++ b/doctor_tests/os_clients.py @@ -11,6 +11,7 @@ from oslo_config import cfg import aodhclient.client as aodhclient from congressclient.v1 import client as congressclient import glanceclient.client as glanceclient +import heatclient.client as heatclient from keystoneclient import client as ks_client from neutronclient.v2_0 import client as neutronclient import novaclient.client as novaclient @@ -23,6 +24,7 @@ OPTS = [ cfg.StrOpt('aodh_version', default='2', help='aodh version'), cfg.StrOpt('vitrage_version', default='1', help='vitrage version'), cfg.StrOpt('keystone_version', default='v3', help='keystone version'), + cfg.StrOpt('heat_version', default='1', help='heat version'), ] @@ -31,6 +33,11 @@ def glance_client(version, session): session=session) +def heat_client(version, session): + return heatclient.Client(version=version, + session=session) + + def keystone_client(version, session): return ks_client.Client(version=version, session=session)