diff options
author | huangtianhua <huangtianhua@huawei.com> | 2014-09-20 16:50:18 +0800 |
---|---|---|
committer | huangtianhua <huangtianhua@huawei.com> | 2014-09-23 09:36:54 +0800 |
commit | d767878219c2ee0496f6394a8e08b2ffed01f58f (patch) | |
tree | be385536cae53236f7eee2c9d5b0260ce1fee493 /heatclient/v1/actions.py | |
parent | 21b81cc7ccf11882a943f6c972a856d715ec1f61 (diff) | |
download | python-heatclient-d767878219c2ee0496f6394a8e08b2ffed01f58f.tar.gz |
Client supports check action
Support stack check action.
Change-Id: I652136fb20dfa06ac49b9addf85c4f226aa66107
Diffstat (limited to 'heatclient/v1/actions.py')
-rw-r--r-- | heatclient/v1/actions.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/heatclient/v1/actions.py b/heatclient/v1/actions.py index 9c7028f..4ecd2b6 100644 --- a/heatclient/v1/actions.py +++ b/heatclient/v1/actions.py @@ -53,3 +53,10 @@ class ActionManager(stacks.StackChildManager): resp, body = self.client.json_request('POST', '/stacks/%s/actions' % stack_id, data=body) + + def check(self, stack_id): + """Check a stack.""" + body = {'check': None} + resp, body = self.client.json_request('POST', + '/stacks/%s/actions' % stack_id, + data=body) |