aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/restful.py
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/restful.py')
-rw-r--r--deploy/restful.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/deploy/restful.py b/deploy/restful.py
index 4d86da82..44e461c4 100644
--- a/deploy/restful.py
+++ b/deploy/restful.py
@@ -647,6 +647,11 @@ class Client(object):
data['deploy'] = deploy
return self._post('/clusters/%s/action' % cluster_id, data=data)
+ def redeploy_cluster(self, cluster_id):
+ data = {}
+ data['redeploy'] = {}
+ return self._post('/clusters/%s/action' % cluster_id, data=data)
+
def get_cluster_state(self, cluster_id):
return self._get('/clusters/%s/state' % cluster_id)