summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShu Yingya <yingya.shu@easystack.cn>2016-11-02 06:19:21 +0000
committerShu Yingya <yingya.shu@easystack.cn>2016-11-02 06:19:21 +0000
commitf6408b0fd9ac11d531aadcabcb5da6919ef2cf49 (patch)
treea69677e77c48a3c83a271c25ad0cf311a895cc4b
parentac08ae4a0a4f36870b6f8eb0ff3602b6661de7a7 (diff)
downloadpython-saharaclient-f6408b0fd9ac11d531aadcabcb5da6919ef2cf49.tar.gz
Provide the cluster info about WebUI
The new saharaclient based on OSC supports command "openstack dataprocessing cluster show <cluster-id>", however, the output of this command doesn't contain the field "info" which provide cluster management WebUI link address and password related detail. This patch add the "info" filed in the output. Change-Id: I78e2870ffc1af569265f2c4c442fecdd1725a228 Closes-Bug: 1638464
-rw-r--r--saharaclient/osc/v1/clusters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/saharaclient/osc/v1/clusters.py b/saharaclient/osc/v1/clusters.py
index eb40834..298fd2e 100644
--- a/saharaclient/osc/v1/clusters.py
+++ b/saharaclient/osc/v1/clusters.py
@@ -25,7 +25,7 @@ from oslo_serialization import jsonutils
from saharaclient.osc.v1 import utils
CLUSTER_FIELDS = ["cluster_template_id", "use_autoconfig", "user_keypair_id",
- "status", "image", "node_groups", "id",
+ "status", "image", "node_groups", "id", "info",
"anti_affinity", "plugin_version", "name", "is_transient",
"is_protected", "description", "is_public",
"neutron_management_network", "plugin_name"]