53 lines
1.1 KiB
YAML
53 lines
1.1 KiB
YAML
heat_template_version: 2013-05-23
|
|
description: 'VDU1 HOT for Sample VNF'
|
|
|
|
parameters:
|
|
flavor:
|
|
type: string
|
|
image-VDU1:
|
|
type: string
|
|
net1:
|
|
type: string
|
|
net2:
|
|
type: string
|
|
net3:
|
|
type: string
|
|
zone:
|
|
type: string
|
|
|
|
resources:
|
|
VDU1:
|
|
type: OS::Nova::Server
|
|
properties:
|
|
flavor: { get_param: flavor }
|
|
name: VDU1
|
|
image: { get_param: image-VDU1 }
|
|
networks:
|
|
- port:
|
|
get_resource: VDU1_CP1
|
|
# replace the following line to Port ID when extManagedVLs' Ports are
|
|
# specified in InstantiateVnfRequest
|
|
- port:
|
|
get_resource: VDU1_CP2
|
|
- port:
|
|
get_resource: VDU1_CP3
|
|
availability_zone: { get_param: zone }
|
|
|
|
# extVL without FixedIP or with numDynamicAddresses
|
|
VDU1_CP1:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network: { get_param: net1 }
|
|
|
|
# CPs of internal VLs are deleted when extManagedVLs and port are
|
|
# specified in InstantiateVnfRequest
|
|
VDU1_CP2:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network: { get_param: net2 }
|
|
|
|
VDU1_CP3:
|
|
type: OS::Neutron::Port
|
|
properties:
|
|
network: { get_param: net3 }
|