heat-translator/translator/tests/data/hot_output/etsi_nfv/scaling_non_target_vdu_in_a.../hot_nfv_scaling_non_target_...

44 lines
1.2 KiB
YAML

heat_template_version: 2013-05-23
description: >
Template for scaling which targets is not set in tosca.policies.nfv.VduScalingAspectDeltas.
The following nodes are not set in hot.
->OS::Heat::AutoScalingGroup
And create empty <aspect_name>.yaml.
In Addition, the following properties are not set in
<aspect_name>_scale_in and <aspect_name>_scale_out nodes.
->scaling_adjustment
parameters: {}
resources:
CP1:
type: OS::Neutron::Port
properties:
network: #ADD_YOUR_NETWORK_HERE
binding:vnic_type: direct-physical
VDU1:
type: OS::Nova::Server
properties:
flavor: { get_resource: VDU1_flavor }
name: VDU1
image: #ADD_YOUR_IMAGE_HERE
networks:
- port: { get_resource: CP1 }
VDU1_flavor:
type: OS::Nova::Flavor
properties:
ram: 512
vcpus: 1
disk: 1
worker_instance_scale_out:
type: OS::Heat::ScalingPolicy
properties:
adjustment_type: change_in_capacity
auto_scaling_group_id:
get_resource: worker_instance
worker_instance_scale_in:
type: OS::Heat::ScalingPolicy
properties:
adjustment_type: change_in_capacity
auto_scaling_group_id:
get_resource: worker_instance
outputs: {}