26 lines
563 B
YAML
26 lines
563 B
YAML
|
|
outputs:
|
|
mgmt_ip-VDU1:
|
|
value:
|
|
get_attr: [CP1, fixed_ips, 0, ip_address]
|
|
resources:
|
|
VDU1:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
availability_zone: nova
|
|
user_data_format: SOFTWARE_CONFIG
|
|
config_drive: false
|
|
networks:
|
|
- port: { get_resource: CP1 }
|
|
image: cirros-0.4.0-x86_64-disk
|
|
flavor: m1.tiny
|
|
VL1:
|
|
type: OS::Neutron::Net
|
|
CP1:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network: net_mgmt
|
|
port_security_enabled: false
|
|
heat_template_version: 2013-05-23
|
|
description: Scaling template
|