b8282b5351e941b0050f541dde1204d7376bc3a3
[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
22   my_port:
23     type: OS::Neutron::Port
24     properties:
25       network: {get_param: network_name}
26
27 outputs: {}