Scaling Policy Types
onap.policies.scaling.Fixed
The simplest scaling policy. Tells the orchestrator to always maintain the specified number of instances.
Definition
onap.policies.scaling.Fixed:
derived_from: tosca.policies.Scaling
description: An instruction to keep the specified number of instances over time
properties:
quantity:
type: integer
description: the exact number of instances to maintain
onap.policies.scaling.Variable
This scaling policy instructs the orchestrator to scale the target resource/group out and in dynamically.
Definition
onap.policies.scaling.Variable:
derived_from: tosca.policies.Scaling
description: An instruction to the orchestrator to maintain the number of instances within the specified range, increasing or decreasing the number of instances when necessary.
properties:
init_quantity:
type: integer
required: false
description: the initial number of instances
min_quantity:
type: integer
required: false
description: the lower limit for the number of instances (inclusive)
max_quantity:
type: integer
required: false
description: the upper limit for the number of instances (inclusive)
step_up:
type: integer
required: false
description: increment size
default: 1
step_down:
type: integer
required: false
description: decrement size
default: 1