summaryrefslogtreecommitdiff
path: root/saharaclient/api/clusters.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-02-24 09:23:20 +0000
committerGerrit Code Review <review@openstack.org>2016-02-24 09:23:21 +0000
commit0458a7691bdf57a569effef9043cdb2853900423 (patch)
tree812a59eef6bf5a083dc90ad3936937753a207f5b /saharaclient/api/clusters.py
parent78ab1e1af843683e3e1c470b7eda054169850311 (diff)
parent2b253fd8fad1a998d3b6b64f514a56567f77c876 (diff)
downloadpython-saharaclient-0458a7691bdf57a569effef9043cdb2853900423.tar.gz
Merge "verifications impl for saharaclient"
Diffstat (limited to 'saharaclient/api/clusters.py')
-rw-r--r--saharaclient/api/clusters.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/saharaclient/api/clusters.py b/saharaclient/api/clusters.py
index f7ae6ba..af1a2a1 100644
--- a/saharaclient/api/clusters.py
+++ b/saharaclient/api/clusters.py
@@ -128,3 +128,8 @@ class ClusterManager(base.ResourceManager):
shares=shares)
return self._patch('/clusters/%s' % cluster_id, data)
+
+ def verification_update(self, cluster_id, status):
+ """Start a verification for a Cluster."""
+ data = {'verification': {'status': status}}
+ return self._patch("/clusters/%s" % cluster_id, data)