Fixed the template add cli documentation

Change-Id: Icccfa9794286624cf08a58ca65600a46a1a06d23
This commit is contained in:
Ifat Afek 2018-06-26 16:01:57 +03:00
parent f23951d89f
commit ef608b9d01
1 changed files with 10 additions and 4 deletions

View File

@ -770,9 +770,10 @@ alarm count::
}
Template Examples:
------------------
Note: for templates version 2 --type <template type> is not required. Template type is specified in the metadata section.
Template Examples
-----------------
**Note:** for templates version 2 --type <template type> is not required.
Template type is specified in the metadata section.
template validate::
@ -823,9 +824,14 @@ template show::
template add::
For template of version 2:
vitrage template add --path /etc/vitrage/templates/host_disk_io_usage_scenarios.yaml
For template of version 1 (old):
vitrage template add --path /etc/vitrage/templates/host_disk_io_usage_scenarios.yaml --type standard
vitrage template add /etc/vitrage/templates/host_disk_io_usage_scenarios.yaml --type standard
Valid types are: standard, definition and equivalence
+--------------------------------------+-----------------------------------------+---------+---------------------------+----------------------------+----------+
| UUID | Name | Status | Status details | Date | Type |
+--------------------------------------+-----------------------------------------+---------+---------------------------+----------------------------+----------+