summaryrefslogtreecommitdiffstats
path: root/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-03-25 15:38:16 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-25 15:38:16 +0000
commit37faadf7040766a4250bf468caa5b4eab6762691 (patch)
tree7ffe22120a8754c07cc7652e2c41bca61a17ed4a /models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml
parent2a245ef80e39a101015efb164de53f1753fa5d47 (diff)
parentb9ae793fe73dbfbd8d9021d4d13dac9b805dbde8 (diff)
Merge "Add new policy types"
Diffstat (limited to 'models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml')
-rw-r--r--models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml
new file mode 100644
index 000000000..9cd275e2c
--- /dev/null
+++ b/models-examples/src/main/resources/policies/vDNS.policy.guard.frequency.output.tosca.yaml
@@ -0,0 +1,20 @@
+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
+ policy-version: 1
+ 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