Fix details doc format error
This error was caused because of rst format. pls see: https://github.com/openstack/python-watcherclient/blob/master/doc/source/cli/details.rst This patch solved this error. Change-Id: I756d2f6327349c36e4523513a2ac84ad91f7785f
This commit is contained in:
@@ -620,8 +620,12 @@ Create new audit template.
|
|||||||
``--scope <path>``
|
``--scope <path>``
|
||||||
Part of the cluster on which an audit will be done.
|
Part of the cluster on which an audit will be done.
|
||||||
Can be provided either in yaml or json file.
|
Can be provided either in yaml or json file.
|
||||||
|
|
||||||
YAML example:
|
YAML example:
|
||||||
---- host_aggregates:
|
::
|
||||||
|
|
||||||
|
---
|
||||||
|
- host_aggregates:
|
||||||
- id: 1
|
- id: 1
|
||||||
- id: 2
|
- id: 2
|
||||||
- id: 3
|
- id: 3
|
||||||
@@ -636,7 +640,10 @@ Create new audit template.
|
|||||||
- name: compute1
|
- name: compute1
|
||||||
|
|
||||||
JSON example:
|
JSON example:
|
||||||
[{'host_aggregates': [
|
::
|
||||||
|
|
||||||
|
[
|
||||||
|
{'host_aggregates': [
|
||||||
{'id': 1},
|
{'id': 1},
|
||||||
{'id': 2},
|
{'id': 2},
|
||||||
{'id': 3}]},
|
{'id': 3}]},
|
||||||
@@ -646,12 +653,10 @@ Create new audit template.
|
|||||||
{'exclude': [
|
{'exclude': [
|
||||||
{'instances': [
|
{'instances': [
|
||||||
{'uuid': 'UUID1'},
|
{'uuid': 'UUID1'},
|
||||||
{'uuid': 'UUID2'}
|
{'uuid': 'UUID2'}]},
|
||||||
]},
|
|
||||||
{'compute_nodes': [
|
{'compute_nodes': [
|
||||||
{'name': 'compute1'}
|
{'name': 'compute1'}]}]}
|
||||||
]}
|
]
|
||||||
]}]
|
|
||||||
|
|
||||||
.. _watcher_audittemplate_delete:
|
.. _watcher_audittemplate_delete:
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user