blob: 7d70d05f8ce64a4fc8525cd16a5244e8621b3ecb (
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
28
|
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
key_name: userkey
networks:
- port: { get_resource: my_port }
user_data_format: SOFTWARE_CONFIG
my_port:
type: OS::Neutron::Port
properties:
network: {get_param: network_name}
outputs: {}
|