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:
chenke
2019-10-24 20:05:52 +08:00
parent 0c7e306642
commit 88351df1c2

View File

@@ -620,38 +620,43 @@ 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:
---- host_aggregates: YAML example:
- id: 1 ::
- id: 2
- id: 3 ---
- host_aggregates:
- id: 1
- id: 2
- id: 3
- availability_zones: - availability_zones:
- name: AZ1 - name: AZ1
- name: AZ2 - name: AZ2
- exclude: - exclude:
- instances: - instances:
- uuid: UUID1 - uuid: UUID1
- uuid: UUID2 - uuid: UUID2
- compute_nodes: - compute_nodes:
- name: compute1 - name: compute1
JSON example: JSON example:
[{'host_aggregates': [ ::
{'id': 1},
{'id': 2}, [
{'id': 3}]}, {'host_aggregates': [
{'availability_zones': [ {'id': 1},
{'name': 'AZ1'}, {'id': 2},
{'name': 'AZ2'}]}, {'id': 3}]},
{'exclude': [ {'availability_zones': [
{'instances': [ {'name': 'AZ1'},
{'uuid': 'UUID1'}, {'name': 'AZ2'}]},
{'uuid': 'UUID2'} {'exclude': [
]}, {'instances': [
{'compute_nodes': [ {'uuid': 'UUID1'},
{'name': 'compute1'} {'uuid': 'UUID2'}]},
]} {'compute_nodes': [
]}] {'name': 'compute1'}]}]}
]
.. _watcher_audittemplate_delete: .. _watcher_audittemplate_delete: