From a8f919e1f79f93a2abd054d8d1ce9a106a6a85db Mon Sep 17 00:00:00 2001 From: chenke Date: Wed, 21 Aug 2019 16:46:33 +0800 Subject: [PATCH] Add datamodel doc in watcherclient Change-Id: I319d47dc66cb10e5ba5b6e0e318ecff0438b2d05 --- doc/source/cli/details.rst | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/doc/source/cli/details.rst b/doc/source/cli/details.rst index ac8a1d9..2128cb4 100644 --- a/doc/source/cli/details.rst +++ b/doc/source/cli/details.rst @@ -969,6 +969,40 @@ Show detailed information about a given service. ``-h, --help`` show this help message and exit +.. _watcher_datamodel_list: + +watcher datamodel list +---------------------- + +.. code-block:: console + + usage: watcher datamodel list [-h] [-f {csv,json,table,value,yaml}] + [-c COLUMN] [--max-width ] + [--fit-width] [--print-empty] [--noindent] + [--quote {all,minimal,none,nonnumeric}] + [--sort-column SORT_COLUMN] [--type ] + [--audit ] [--detail] + + +List information on retrieved data model. + +**Optional arguments:** + +``-h, --help`` + show this help message and exit + +``--type `` + Type of Datamodel user want to list. Supported values: + compute. Future support values: storage, baremetal. + Default type is compute. + +``--audit `` + UUID of the audit. used to filter data model + by the scope in audit. + +``--detail`` + Show detailed information about data model. + .. _watcher_strategy_list: watcher strategy list