diff options
author | Julien <zhang.jun3g@zte.com.cn> | 2017-03-09 22:20:21 +0800 |
---|---|---|
committer | Julien <zhang.jun3g@zte.com.cn> | 2017-03-10 08:54:06 +0800 |
commit | 3d49592838370aa7e8cb7142f3da237843f30aba (patch) | |
tree | 37a38c1ca48da104892dfdc8624e2ab00d11bc91 /docs/release/userguide/feature.userguide.rst | |
parent | a942a43f9e3bcd73334e99fcd092466fdae01b17 (diff) |
Fix minor format issues in documents
Change-Id: I9a7267b116338f72f7256b23b517bd7795eba602
Signed-off-by: Julien <zhang.jun3g@zte.com.cn>
Diffstat (limited to 'docs/release/userguide/feature.userguide.rst')
-rw-r--r-- | docs/release/userguide/feature.userguide.rst | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/release/userguide/feature.userguide.rst b/docs/release/userguide/feature.userguide.rst index e6e8974..f1e1362 100644 --- a/docs/release/userguide/feature.userguide.rst +++ b/docs/release/userguide/feature.userguide.rst @@ -29,7 +29,7 @@ Example: heat-translator --template-file=vRNC.yaml \ --template-type=tosca --output-file=vRNC_hot.yaml -Notes: heat-translator will call class of ToscaTemplate in tosca-parser firstly to validate and +**Notes**: heat-translator will call class of ToscaTemplate in tosca-parser firstly to validate and parse input yaml file, then tranlate the file into hot file, if you only want to validate or check the input file and don't want to translate, please use tosaca-parser as following: @@ -119,9 +119,14 @@ Example: .. code-block:: bash - policy2tosca add-definition --policy_name rule2 --policy_type tosca.policies.Placement.Geolocation ---description "test description" --properties region:us-north-1,region:us-north-2,min_inst:2 --targets -VNF2,VNF4 --metadata "map of strings" --triggers "1,2,3,4" --source example.yaml + policy2tosca add-definition \ + --policy_name rule2 --policy_type tosca.policies.Placement.Geolocation \ + --description "test description" \ + --properties region:us-north-1,region:us-north-2,min_inst:2 \ + --targets VNF2,VNF4 \ + --metadata "map of strings" \ + --triggers "1,2,3,4" \ + --source example.yaml Step 4: Verify the TOSCA YAMl updated with the injection/removal executed. |