29 lines
630 B
YAML
29 lines
630 B
YAML
heat_template_version: 2013-05-23
|
|
|
|
description: >
|
|
VNIC Normal Port example
|
|
|
|
outputs:
|
|
mgmt_ip-VDU1:
|
|
value:
|
|
get_attr: [CP1, fixed_ips, 0, ip_address]
|
|
parameters: {}
|
|
resources:
|
|
CP1:
|
|
properties: {network: net-mgmt}
|
|
type: OS::Neutron::Port
|
|
CP2:
|
|
properties: {'binding:vnic_type': normal, network: net0}
|
|
type: OS::Neutron::Port
|
|
VDU1:
|
|
properties:
|
|
availability_zone: nova
|
|
config_drive: false
|
|
flavor: m1.small
|
|
image: OpenWRT
|
|
user_data_format: SOFTWARE_CONFIG
|
|
networks:
|
|
- port: {get_resource: CP1}
|
|
- port: {get_resource: CP2}
|
|
type: OS::Nova::Server
|