Foundation for Monitoring Decisions
[policy/xacml-pdp.git] / applications / monitoring / src / test / resources / vDNS.policy.input.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_0_0
2 policies:
3   -
4     onap.scaleout.tca:
5         type: onap.policies.monitoring.cdap.tca.hi.lo.app
6         version: 1.0.0
7         metadata:
8           policy-id: onap.scaleout.tca
9         properties:
10           domain: measurementsForVfScaling
11           metricsPerEventName:
12             -
13               eventName: vLoadBalancer
14               controlLoopSchemaType: VNF
15               policyScope: "type=configuration"
16               policyName: "onap.scaleout.tca"
17               policyVersion: "v0.0.1"
18               thresholds:
19                 - closedLoopControlName: "CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A"
20                   closedLoopEventStatus: ONSET
21                   version: "1.0.2"
22                   fieldPath: "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated"
23                   thresholdValue: 500
24                   direction: LESS_OR_EQUAL
25                   severity: MAJOR
26                 -
27                   closedLoopControlName: "CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B"
28                   closedLoopEventStatus: ONSET
29                   version: "1.0.2"
30                   fieldPath: "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated"
31                   thresholdValue: 5000
32                   direction: GREATER_OR_EQUAL
33                   severity: CRITICAL