Update snapshot and/or references of policy/models to latest snapshots
[policy/models.git] / models-examples / src / main / resources / policies / vDNS.policy.monitoring.input.tosca.yaml
1 tosca_definitions_version: tosca_simple_yaml_1_1_0
2 topology_template:
3    policies:
4       -
5          onap.scaleout.tca:
6             type: onap.policies.monitoring.tcagen2
7             type_version: 1.0.0
8             version: 1.0.0
9             name: onap.scaleout.tca
10             metadata:
11                policy-id: onap.scaleout.tca
12             properties:
13                tca.policy:
14                   domain: measurementsForVfScaling
15                   metricsPerEventName:
16                      -
17                         eventName: vLoadBalancer
18                         controlLoopSchemaType: VM
19                         policyScope: "DCAE"
20                         policyName: "DCAE.Config_tca-hi-lo"
21                         policyVersion: "v0.0.1"
22                         thresholds:
23                         -
24                            closedLoopControlName: "ControlLoop-vDNS-6f37f56d-a87d-4b85-b6a9-cc953cf779b3"
25                            closedLoopEventStatus: ONSET
26                            version: "1.0.2"
27                            fieldPath: "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta"
28                            thresholdValue: 300
29                            direction: GREATER_OR_EQUAL
30                            severity: CRITICAL