deb-sahara/sahara/resources/instance.heat
Andrew Lazarev 1bd3c74d70 Added ability to specify security group for node group
Extended API to support list of security groups in node groups and
node group templates. Changed db schema and provisioning engines (both direct
and heat) accordingly.

Partially implements: blueprint cluster-secgroups

Change-Id: I49d3551f6987552ff6398e8c87e22388f914f287
2014-08-04 16:18:21 -07:00

17 lines
555 B
Plaintext

"%(instance_name)s" : {
"Type" : "OS::Nova::Server",
"Properties" : {
"name" : "%(instance_name)s",
"flavor" : "%(flavor_id)s",
"image" : "%(image_id)s",
"admin_user": "%(image_username)s",
%(network_interfaces)s
%(key_name)s
%(scheduler_hints)s
%(security_groups)s
"user_data": {
"Fn::Join" : ["\n", [%(userdata)s]]
}
}
}