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