Versions Compared

Key

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

...

Code Block
languagejs
themeDJango
{
"generic-vnf-id" : <generic-vnf-id>,
"vf-module-id" : <vf-module-id>,
"oof_directives" :{},
"sdnc_directives" : {},
"template_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,
}