25 lines
583 B
YAML
25 lines
583 B
YAML
heat_template_version: 2013-05-23
|
|
description: 'sample-tosca-vnfd-scaling
|
|
|
|
'
|
|
outputs:
|
|
mgmt_ip-VDU1:
|
|
value:
|
|
get_attr: [CP1, fixed_ips, 0, ip_address]
|
|
parameters: {}
|
|
resources:
|
|
CP1:
|
|
properties: {network: net_mgmt, port_security_enabled: false}
|
|
type: OS::Neutron::Port
|
|
VDU1:
|
|
properties:
|
|
availability_zone: nova
|
|
config_drive: false
|
|
flavor: m1.tiny
|
|
image: cirros-0.3.5-x86_64-disk
|
|
metadata: {metering.vnf: SG1}
|
|
networks:
|
|
- port: {get_resource: CP1}
|
|
user_data_format: SOFTWARE_CONFIG
|
|
type: OS::Nova::Server
|