From 367712d6da049735c3c5818081c9985ded2d2c52 Mon Sep 17 00:00:00 2001 From: Eyal Date: Mon, 10 Jun 2019 10:09:59 +0300 Subject: [PATCH] Add release notes for the wait flag Doc was updated too Change-Id: I94c06df504329ec801308a3b3bc5075ccee4b8c3 --- doc/source/contributor/cli.rst | 5 +++++ ...flag_to_wait_on_template_add_delete-05ea5dd038b18cd8.yaml | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 releasenotes/notes/add_cli_flag_to_wait_on_template_add_delete-05ea5dd038b18cd8.yaml diff --git a/doc/source/contributor/cli.rst b/doc/source/contributor/cli.rst index 0165a02..e80e3e6 100644 --- a/doc/source/contributor/cli.rst +++ b/doc/source/contributor/cli.rst @@ -958,6 +958,8 @@ template add Valid types are: standard, definition and equivalence + You can add --wait [SECONDS] which will block until template completes loading + +--------------------------------------+-----------------------------------------+---------+---------------------------+----------------------------+----------+ | UUID | Name | Status | Status details | Date | Type | +--------------------------------------+-----------------------------------------+---------+---------------------------+----------------------------+----------+ @@ -973,8 +975,11 @@ template delete For deleting multiple templates: vitrage template delete ae3c0752-1df9-408c-89d5-8b32b86f403f f254edb0-53cb-4552-969b-bdad24a14a03 + You can add --wait [SECONDS] which will block until template is deleted + Note: You can use template name instead of id + Templates with parameters ^^^^^^^^^^^^^^^^^^^^^^^^^ :: diff --git a/releasenotes/notes/add_cli_flag_to_wait_on_template_add_delete-05ea5dd038b18cd8.yaml b/releasenotes/notes/add_cli_flag_to_wait_on_template_add_delete-05ea5dd038b18cd8.yaml new file mode 100644 index 0000000..7950ced --- /dev/null +++ b/releasenotes/notes/add_cli_flag_to_wait_on_template_add_delete-05ea5dd038b18cd8.yaml @@ -0,0 +1,4 @@ +--- +features: + - New CLI flag ``--wait`` was added to template add and delete + which will wait until template finish loading or deleting. \ No newline at end of file