tacker/tacker/tests/functional/sol_v2/samples/test_change_vnf_pkg_with_ne.../contents/BaseHOT/volume/nested/base_hot_nested_VDU1.yaml

36 lines
716 B
YAML

heat_template_version: 2013-05-23
description: 'VDU1 HOT for Sample VNF'
parameters:
flavor:
type: string
image:
type: string
net1:
type: string
volume_type:
type: string
resources:
VDU1:
type: OS::Nova::Server
properties:
flavor: { get_param: flavor }
name: VDU1
block_device_mapping_v2: [{"volume_id": { get_resource: VDU1-VirtualStorage }}]
networks:
- port:
get_resource: VDU1_CP1
VDU1_CP1:
type: OS::Neutron::Port
properties:
network: { get_param: net1 }
VDU1-VirtualStorage:
type: OS::Cinder::Volume
properties:
image: { get_param: image }
size: 4
volume_type: { get_param: volume_type }