summaryrefslogtreecommitdiffstats
path: root/vio/vio/pub/vim/vimapi/baseclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'vio/vio/pub/vim/vimapi/baseclient.py')
-rw-r--r--vio/vio/pub/vim/vimapi/baseclient.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/vio/vio/pub/vim/vimapi/baseclient.py b/vio/vio/pub/vim/vimapi/baseclient.py
index 2511426..ca34f4c 100644
--- a/vio/vio/pub/vim/vimapi/baseclient.py
+++ b/vio/vio/pub/vim/vimapi/baseclient.py
@@ -25,6 +25,7 @@ class baseclient(object):
self._glanceclient = None
self._computeClient = None
self._cinderclient = None
+ self._heatclient = None
def identity(self, data):
'''Construct compute client based on object.
@@ -58,3 +59,8 @@ class baseclient(object):
self._cinderclient = driver_base.VimDriver().cinder(data)
return self._cinderclient
+
+ def heat(self, data):
+ if self._heatclient is None:
+ self._heatclient = driver_base.VimDriver().heat(data)
+ return self._heatclient