summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml
diff options
context:
space:
mode:
authorJoshua Reich <jreich@research.att.com>2019-03-22 00:50:29 -0700
committerJoshua Reich <jreich@research.att.com>2019-03-22 10:34:22 -0700
commitbb9151d8f85cc6b876ab2ef23577f8e73991fa36 (patch)
treef0eb19049e09892791d45b5047ab003550a7a2c7 /models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml
parent99837f40d77dd41f80eeb4649c43479e898bcaff (diff)
Add input tosca examples for guard frequency
Issue-ID: POLICY-1195 Change-Id: Ia73f8d1e21e2a37ada95727301031e9bb115aceb Signed-off-by: Joshua Reich <jreich@research.att.com>
Diffstat (limited to 'models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml')
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml
new file mode 100644
index 000000000..81d148586
--- /dev/null
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.input.tosca.yaml
@@ -0,0 +1,19 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+topology_template:
+ policies:
+ -
+ guard.frequency.scaleout:
+ type: onap.policies.controlloop.guard.FrequencyLimiter
+ version: 1.0.0
+ metadata:
+ policy-id : guard.frequency.scaleout
+ properties:
+ actor: SO
+ recipe: scaleOut
+ targets: .*
+ clname: ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3
+ limit: 1
+ timeWindow: 10
+ timeUnits: minute
+ guardActiveStart: 00:00:01-05:00
+ guardActiveEnd: 23:59:59-05:00