Jim Hahn | 0a594cf | 2019-04-19 12:47:01 -0400 | [diff] [blame] | 1 | { |
a.sreekumar | 29fc835 | 2020-03-11 16:28:57 +0000 | [diff] [blame] | 2 | "tosca_definitions_version": "tosca_simple_yaml_1_1_0", |
Jim Hahn | 0a594cf | 2019-04-19 12:47:01 -0400 | [diff] [blame] | 3 | "topology_template": { |
| 4 | "policies": [ |
| 5 | { |
| 6 | "onap.restart.tca": { |
Pamela Dragosh | bd5f1dc | 2020-08-19 16:18:52 -0400 | [diff] [blame^] | 7 | "type": "onap.policies.monitoring.tcagen2", |
Jim Hahn | 0a594cf | 2019-04-19 12:47:01 -0400 | [diff] [blame] | 8 | "version": "1.0.0", |
| 9 | "type_version": "1.0.0", |
| 10 | "metadata": { |
| 11 | "policy-id": "onap.restart.tca" |
| 12 | }, |
| 13 | "properties": { |
Pamela Dragosh | bd5f1dc | 2020-08-19 16:18:52 -0400 | [diff] [blame^] | 14 | "tca.policy": { |
Jim Hahn | 0a594cf | 2019-04-19 12:47:01 -0400 | [diff] [blame] | 15 | "domain": "measurementsForVfScaling", |
| 16 | "metricsPerEventName": [ |
| 17 | { |
| 18 | "eventName": "Measurement_vGMUX", |
| 19 | "controlLoopSchemaType": "VNF", |
| 20 | "policyScope": "DCAE", |
| 21 | "policyName": "DCAE.Config_tca-hi-lo", |
| 22 | "policyVersion": "v0.0.1", |
| 23 | "thresholds": [ |
| 24 | { |
| 25 | "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", |
| 26 | "version": "1.0.2", |
| 27 | "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", |
| 28 | "thresholdValue": 0, |
| 29 | "direction": "EQUAL", |
| 30 | "severity": "MAJOR", |
| 31 | "closedLoopEventStatus": "ABATED" |
| 32 | }, |
| 33 | { |
| 34 | "closedLoopControlName": "ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e", |
| 35 | "version": "1.0.2", |
| 36 | "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", |
| 37 | "thresholdValue": 0, |
| 38 | "direction": "GREATER", |
| 39 | "severity": "CRITICAL", |
| 40 | "closedLoopEventStatus": "ONSET" |
| 41 | } |
| 42 | ] |
| 43 | } |
| 44 | ] |
| 45 | } |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | ] |
| 50 | } |
| 51 | } |