From 4a73f63381c18a72ad2bbeedc994d8de2174d89a Mon Sep 17 00:00:00 2001 From: venkatamahesh Date: Thu, 3 Mar 2016 10:26:49 +0530 Subject: [PATCH] [cli-ref] Update python-heatclient to 1.0.0 Change-Id: I0527bd75212018a647060717fd93e8ed133b7c4d --- doc/cli-reference/source/heat.rst | 80 ++++++++++++++++++++++++++----- 1 file changed, 67 insertions(+), 13 deletions(-) diff --git a/doc/cli-reference/source/heat.rst b/doc/cli-reference/source/heat.rst index fbcd787277..9969c26517 100644 --- a/doc/cli-reference/source/heat.rst +++ b/doc/cli-reference/source/heat.rst @@ -9,7 +9,7 @@ Orchestration service command-line client The heat client is the command-line interface (CLI) for the Orchestration service API and its extensions. -This chapter documents :command:`heat` version ``0.9.0``. +This chapter documents :command:`heat` version ``1.0.0``. For help on a specific :command:`heat` command, enter: @@ -62,7 +62,7 @@ Subcommands Create a software configuration. ``config-delete`` - Delete a software configuration. + Delete the software configuration(s). ``config-list`` List software configs. @@ -74,7 +74,7 @@ Subcommands Create a software deployment. ``deployment-delete`` - Delete software deployments. + Delete the software deployment(s). ``deployment-list`` List software deployments. @@ -113,6 +113,9 @@ Subcommands ``resource-list`` Show list of resources belonging to a stack. +``resource-mark-unhealthy`` + Set resource's health. + ``resource-metadata`` List resource metadata. @@ -415,13 +418,13 @@ heat config-delete usage: heat config-delete [ ...] -Delete a software configuration. +Delete the software configuration(s). Positional arguments -------------------- ```` - IDs of the configurations to delete. + ID of the configuration(s) to delete. .. _heat_config-list: @@ -532,13 +535,13 @@ heat deployment-delete usage: heat deployment-delete [ ...] -Delete software deployments. +Delete the software deployment(s). Positional arguments -------------------- ```` - IDs of the deployments to delete. + ID of the deployment(s) to delete. .. _heat_deployment-list: @@ -768,7 +771,8 @@ heat output-show .. code-block:: console - usage: heat output-show [-F ] [-a] [-v] [] + usage: heat output-show [-F ] [-a] [--with-detail] + [] Show a specific stack output. @@ -790,8 +794,9 @@ Optional arguments ``-a, --all`` Display all stack outputs. -``-v, --only-value`` - Returns only output value in specified format. +``--with-detail`` + Enable detail information presented, like key and + description. .. _heat_resource-list: @@ -800,7 +805,8 @@ heat resource-list .. code-block:: console - usage: heat resource-list [-n ] [--with-detail] + usage: heat resource-list [-n ] [--with-detail] [-f ] + Show list of resources belonging to a stack. @@ -821,6 +827,41 @@ Optional arguments Enable detail information presented for each resource in resources list. +``-f , --filter `` + Filter parameters to apply on returned resources based + on their name, status, type, action, id and + physcial_resource_id. This can be specified multiple + times. + +.. _heat_resource-mark-unhealthy: + +heat resource-mark-unhealthy +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +.. code-block:: console + + usage: heat resource-mark-unhealthy [--reset] [reason] + +Set resource's health. + +Positional arguments +-------------------- + +```` + Name or ID of stack the resource belongs to. + +```` + Name of the resource. + +``reason`` + Reason for state change. + +Optional arguments +------------------ + +``--reset`` + Set the resource as healthy. + .. _heat_resource-metadata: heat resource-metadata @@ -1198,7 +1239,7 @@ heat stack-delete .. code-block:: console - usage: heat stack-delete [ ...] + usage: heat stack-delete [-y] [ ...] Delete the stack(s). @@ -1208,6 +1249,12 @@ Positional arguments ```` Name or ID of stack(s) to delete. +Optional arguments +------------------ + +``-y, --yes`` + Skip yes/no prompt (assume yes). + .. _heat_stack-list: heat stack-list @@ -1417,7 +1464,7 @@ heat stack-update usage: heat stack-update [-f ] [-e ] [--pre-update ] [-u ] [-o ] - [-t ] [-r] [--rollback ] [-y] + [-t ] [-r] [--rollback ] [-y] [-n] [-P ] [-Pf ] [-x] [-c ] [--tags ] @@ -1474,6 +1521,9 @@ Optional arguments Do not actually perform the stack update, but show what would be changed +``-n, --show-nested`` + Show nested stacks when performing :option:`--dry-run` + ``-P , --parameters `` Parameter values used to create the stack. This can be specified multiple times, or once with parameters @@ -1547,6 +1597,7 @@ heat template-validate usage: heat template-validate [-u ] [-f ] [-e ] [-o ] [-n] [-P ] + [-I ] Validate a template with parameters. @@ -1574,6 +1625,9 @@ Optional arguments specified multiple times, or once with parameters separated by a semicolon. +``-I , --ignore-errors `` + List of heat errors to ignore. + .. _heat_template-version-list: heat template-version-list