diff options
author | Jing Sun <sun.jing22@zte.com.cn> | 2017-03-06 17:11:21 +0800 |
---|---|---|
committer | Jing Sun <sun.jing22@zte.com.cn> | 2017-03-11 06:52:33 +0000 |
commit | 3e90898f667afa508137e7be885daa62fbdb86d9 (patch) | |
tree | 189c76039b5463880055c59f866eec3a071017ac /client/escalatorclient/v1/client.py | |
parent | a0625dbf2ffef08a492ffdaed641e62b90aa6ad6 (diff) |
Jira ESCALATOR-41:get cluster list from installer
Change-Id: Ie3cd22b2f8398ec893686445ac85da7e69ffffb7
Signed-off-by: Jing Sun <sun.jing22@zte.com.cn>
Diffstat (limited to 'client/escalatorclient/v1/client.py')
-rw-r--r-- | client/escalatorclient/v1/client.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/escalatorclient/v1/client.py b/client/escalatorclient/v1/client.py index d5bf6bc..974fc4e 100644 --- a/client/escalatorclient/v1/client.py +++ b/client/escalatorclient/v1/client.py @@ -16,6 +16,7 @@ from escalatorclient.common import http from escalatorclient.common import utils from escalatorclient.v1.versions import VersionManager +from escalatorclient.v1.clusters import ClusterManager class Client(object): @@ -34,3 +35,4 @@ class Client(object): self.version = version or 1.0 self.http_client = http.HTTPClient(endpoint, *args, **kwargs) self.versions = VersionManager(self.http_client) + self.clusters = ClusterManager(self.http_client) |