summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml
diff options
context:
space:
mode:
authorChenfei Gao <cgao@research.att.com>2019-10-09 16:39:35 -0400
committerChenfei Gao <cgao@research.att.com>2019-10-09 16:39:49 -0400
commita855486a563a5686797b9ea304a46d044c9c0884 (patch)
treea805e05434714360b0c0b55a978533da9f707bed /models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml
parent0ee2ca49f61f75179f3118cbadd2406f7c72cfb3 (diff)
Added new policy example to support junit test for new simplified API
Issue-ID: POLICY-1991 Change-Id: Ib52bffe7895dc0625c77da7aa954bb71ed16187d Signed-off-by: Chenfei Gao <cgao@research.att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml')
-rw-r--r--models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml43
1 files changed, 0 insertions, 43 deletions
diff --git a/models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml b/models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml
deleted file mode 100644
index 0fc677d9c..000000000
--- a/models-examples/src/main/resources/policies/onap.policies.controlloop.guard.MinMax.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-policy_types:
- onap.policies.controlloop.Guard:
- derived_from: tosca.policies.Root
- version: 1.0.0
- description: Guard Policies for Control Loop Operational Policies
- onap.policies.controlloop.guard.MinMax:
- derived_from: onap.policies.controlloop.Guard
- version: 1.0.0
- description: Supports Min/Max number of VF Modules
- properties:
- minmax_policy:
- type: map
- description: null
- entry_schema:
- type: onap.datatypes.guard.MinMax
-data_types:
- onap.datatypes.guard.MinMax:
- derived_from: tosca.datatypes.Root
- properties:
- actor:
- type: string
- description: Specifies the Actor
- required: true
- recipe:
- type: string
- description: Specified the Recipe
- required: true
- time_range:
- type: tosca.datatypes.TimeInterval
- description: An optional range of time during the day the Min/Max limit is valid for.
- required: false
- controlLoopName:
- type: string
- description: An optional specific control loop to apply this guard to.
- required: false
- min_vf_module_instances:
- type: integer
- required: true
- description: The minimum instances of this VF-Module
- max_vf_module_instances:
- type: integer
- required: false
- description: The maximum instances of this VF-Module