summaryrefslogtreecommitdiff
path: root/heatclient/osc
diff options
context:
space:
mode:
authorZuul <zuul@review.openstack.org>2017-12-01 00:43:44 +0000
committerGerrit Code Review <review@openstack.org>2017-12-01 00:43:44 +0000
commit18d3e992daef0fe6b75251827165b6fbf3c03543 (patch)
tree5a106de0c50d6e0cecc289d8c3e594fc99a27b90 /heatclient/osc
parentf47a8d1130cfc11370b99a9d73e16b18be42bbd9 (diff)
parent58e357908ea1617e7fdf758766b1813b42487803 (diff)
downloadpython-heatclient-18d3e992daef0fe6b75251827165b6fbf3c03543.tar.gz
Merge "Add `--converge` argument for osc stack update"
Diffstat (limited to 'heatclient/osc')
-rw-r--r--heatclient/osc/v1/stack.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/heatclient/osc/v1/stack.py b/heatclient/osc/v1/stack.py
index 89540d2..4a0c52e 100644
--- a/heatclient/osc/v1/stack.py
+++ b/heatclient/osc/v1/stack.py
@@ -282,6 +282,11 @@ class UpdateStack(command.ShowOne):
help=_('Wait until stack goes to UPDATE_COMPLETE or '
'UPDATE_FAILED')
)
+ parser.add_argument(
+ '--converge',
+ action='store_true',
+ help=_('Stack update with observe on reality.')
+ )
return parser
@@ -361,6 +366,9 @@ class UpdateStack(command.ShowOne):
limit=1)
marker = events[0].id if events else None
+ if parsed_args.converge:
+ fields['converge'] = True
+
client.stacks.update(**fields)
if parsed_args.wait: