Add guard filter documentation
[policy/parent.git] / docs / xacml / example.guard.limiter.yaml
diff --git a/docs/xacml/example.guard.limiter.yaml b/docs/xacml/example.guard.limiter.yaml
new file mode 100644 (file)
index 0000000..703be4f
--- /dev/null
@@ -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