summaryrefslogtreecommitdiffstats
path: root/docs/xacml/example.guard.limiter.yaml
diff options
context:
space:
mode:
authorRam Krishna Verma <ram_krishna.verma@bell.ca>2020-08-24 13:27:27 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-24 13:27:27 +0000
commit5a526b7133babf95cb6a67dc5060d3131f0b97d5 (patch)
tree73e76f405033ad5e1b671cbc6b2fb8a88c892669 /docs/xacml/example.guard.limiter.yaml
parent4eae906a5dd646c429376903cfb27d9476ab90cc (diff)
parentcc6265ef38c277559d5bee6695f0353b15f87b37 (diff)
Merge "Add guard filter documentation"
Diffstat (limited to 'docs/xacml/example.guard.limiter.yaml')
-rw-r--r--docs/xacml/example.guard.limiter.yaml19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/xacml/example.guard.limiter.yaml b/docs/xacml/example.guard.limiter.yaml
new file mode 100644
index 00000000..703be4f7
--- /dev/null
+++ b/docs/xacml/example.guard.limiter.yaml
@@ -0,0 +1,19 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ -
+ guard.frequency.scaleout:
+ type: onap.policies.controlloop.guard.common.FrequencyLimiter
+ type_version: 1.0.0
+ version: 1.0.0
+ name: guard.frequency.scaleout
+ description: Here we limit the number of Restarts for my-controlloop to 3 in a ten minute period.
+ metadata:
+ policy-id : guard.frequency.scaleout
+ properties:
+ actor: APPC
+ operation: Restart
+ id: my-controlloop
+ timeWindow: 10
+ timeUnits: minute
+ limit: 3 \ No newline at end of file