Merge "Fix UT and FT VNFD yaml because lack of properties"
This commit is contained in:
commit
a6811d2c59
@ -160,5 +160,5 @@ wrapt==1.10.11
|
|||||||
# but the latest revision from git repo for development.
|
# but the latest revision from git repo for development.
|
||||||
# If you install packages, comment out two lines of `install_package_gitrepo` in
|
# If you install packages, comment out two lines of `install_package_gitrepo` in
|
||||||
# `devstack/plugin.sh` in addition to activate following lines.
|
# `devstack/plugin.sh` in addition to activate following lines.
|
||||||
heat-translator==2.2.0 # Apache-2.0
|
heat-translator==2.3.0 # Apache-2.0
|
||||||
tosca-parser==2.3.0 # Apache-2.0
|
tosca-parser==2.3.0 # Apache-2.0
|
||||||
|
@ -60,5 +60,5 @@ glance-store>=2.4.0 # Apache-2.0
|
|||||||
# but the latest revision from git repo for development.
|
# but the latest revision from git repo for development.
|
||||||
# If you install packages, comment out two lines of `install_package_gitrepo` in
|
# If you install packages, comment out two lines of `install_package_gitrepo` in
|
||||||
# `devstack/plugin.sh` in addition to activate following lines.
|
# `devstack/plugin.sh` in addition to activate following lines.
|
||||||
heat-translator>=2.2.0 # Apache-2.0
|
heat-translator>=2.3.0 # Apache-2.0
|
||||||
tosca-parser>=2.3.0 # Apache-2.0
|
tosca-parser>=2.3.0 # Apache-2.0
|
||||||
|
@ -40,8 +40,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 120
|
cooldown: 120
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -56,8 +56,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1, VDU2]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1, VDU2]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 120
|
cooldown: 120
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -40,8 +40,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 60
|
cooldown: 60
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -41,8 +41,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 60
|
cooldown: 60
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -87,4 +87,4 @@ topology_template:
|
|||||||
min_instances: 0
|
min_instances: 0
|
||||||
max_instances: 2
|
max_instances: 2
|
||||||
default_instances: 0
|
default_instances: 0
|
||||||
targets: [VDU1]
|
targets: [VDU1]
|
||||||
|
@ -46,6 +46,6 @@ topology_template:
|
|||||||
increment: 1
|
increment: 1
|
||||||
max_instances: 3
|
max_instances: 3
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
targets:
|
targets:
|
||||||
- VDU1
|
- VDU1
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
|
@ -46,7 +46,7 @@ topology_template:
|
|||||||
min_instances: 1
|
min_instances: 1
|
||||||
max_instances: 3
|
max_instances: 3
|
||||||
default_instances: 2
|
default_instances: 2
|
||||||
targets: [ VDU1 ]
|
targets: [ VDU1 ]
|
||||||
|
|
||||||
- vdu1_cpu_usage_monitoring_policy:
|
- vdu1_cpu_usage_monitoring_policy:
|
||||||
type: tosca.policies.tacker.Alarming
|
type: tosca.policies.tacker.Alarming
|
||||||
|
@ -36,8 +36,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 60
|
cooldown: 60
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -35,8 +35,8 @@ topology_template:
|
|||||||
policies:
|
policies:
|
||||||
- SP1:
|
- SP1:
|
||||||
type: tosca.policies.tacker.Scaling
|
type: tosca.policies.tacker.Scaling
|
||||||
targets: [VDU1]
|
|
||||||
properties:
|
properties:
|
||||||
|
targets: [VDU1]
|
||||||
increment: 1
|
increment: 1
|
||||||
cooldown: 60
|
cooldown: 60
|
||||||
min_instances: 1
|
min_instances: 1
|
||||||
|
@ -330,6 +330,12 @@ policy_types:
|
|||||||
type: integer
|
type: integer
|
||||||
required: true
|
required: true
|
||||||
description: Number of nodes to add or remove during the scale out/in.
|
description: Number of nodes to add or remove during the scale out/in.
|
||||||
|
targets:
|
||||||
|
type: list
|
||||||
|
entry_schema:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
description: List of Scaling nodes.
|
||||||
target_cpu_utilization_percentage:
|
target_cpu_utilization_percentage:
|
||||||
type: integer
|
type: integer
|
||||||
required: false
|
required: false
|
||||||
|
Loading…
Reference in New Issue
Block a user