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