summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBin Yang <Bin.Yang@windriver.com>2019-09-19 02:34:53 +0000
committerBin Yang <bin.yang@windriver.com>2019-09-19 03:00:59 +0000
commit7a42fc9def77050a82d23c2c2b54e293ae0a5fec (patch)
treed8da0fe219126b98971c27fffcd5a52be510f3fa
parent402d1bb741a2dae1028072631e58817612cd11c1 (diff)
Fix spec error on infra_workload APIdublin
Issue-ID: MULTICLOUD-748 Signed-off-by: Bin Yang <Bin.Yang@windriver.com> Change-Id: I3200fc73dfaa9bea19404312f86f7d835c916f8f (cherry picked from commit d3580c3c9dfc191f66086ed49a849daf4c37ce24)
-rw-r--r--docs/specs/multicloud_infra_workload.rst25
1 files changed, 1 insertions, 24 deletions
diff --git a/docs/specs/multicloud_infra_workload.rst b/docs/specs/multicloud_infra_workload.rst
index d8ada14..69fa4e8 100644
--- a/docs/specs/multicloud_infra_workload.rst
+++ b/docs/specs/multicloud_infra_workload.rst
@@ -132,30 +132,7 @@ Heat examples
"flavor":"m1.heat"
},
"stack_name":"teststack",
- "template":{
- "heat_template_version":"2013-05-23",
- "description":"Simple template to test heat commands",
- "parameters":
- {
- "flavor":{
- "default":"m1.tiny",
- "type":"string"
- }
- },
- "resources":{
- "hello_world":{
- "type":"OS::Nova::Server",
- "properties":{
- "key_name":"heat_key",
- "flavor":{
- "get_param":"flavor"
- },
- "image":"40be8d1a-3eb9-40de-8abd-43237517384f",
- "user_data":"#!/bin/bash -xv\necho \"hello world\" &gt; /root/hello-world.txt\n"
- }
- }
- }
- },
+ "template": "\nheat_template_version: 2013-05-23\ndescription: Simple template to test heat commands\nparameters:\n flavor: {default: m1.tiny, type: string}\nresources:\n hello_world:\n type: OS::Nova::Server\n properties:\n key_name: heat_key\n flavor: {get_param: flavor}\n image: 40be8d1a-3eb9-40de-8abd-43237517384f\n user_data: |\n #!/bin/bash -xv\n echo \"hello world\" &gt; /root/hello-world.txt",
"timeout_mins":60
}