Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

REQUEST BODY
( =================== parameters below template type are valid for request with “template_type”:“heat” ===================)

Code Block
languagexmljs
themeDJango
{
“generic"generic-vnf-id”id" : ”xxxxx”<generic-vnf-id>,
“vf"vf-module-id”id" : ”yyyy”<vf-module-id>,
“oof"oof_directives”directives" :{},
“sdnc"sdnc_directives”directives" : {},
“template"template_type”type" : "<heat/arm/tosca/etc.>",


"files": {},
"disable_rollback": true,
"parameters": {
   "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"
            }
        }
    }
},
"timeout_mins": 60,
}