5b048318920e100d365be76f304a8c2ea62bfef5
[parser.git] /
1 heat_template_version: 2013-05-23
2
3 description: >
4   TOSCA simple profile with 1 server bound to an existing network
5
6 parameters:
7   network_name:
8     type: string
9     description: Network name
10     default: private_net
11
12 resources:
13   my_server:
14     type: OS::Nova::Server
15     properties:
16       flavor: m1.small
17       image: cirros-0.3.2-x86_64-uec
18       networks:
19       - port: { get_resource: my_port }
20       user_data_format: SOFTWARE_CONFIG
21       software_config_transport: POLL_SERVER_HEAT
22
23   my_port:
24     type: OS::Neutron::Port
25     properties:
26       network: {get_param: network_name}
27
28 outputs: {}