Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 1 | { |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 2 | "service": "tca_policy", |
Determe, Sebastien (sd378r) | 39b4c05 | 2018-04-16 14:22:37 +0200 | [diff] [blame] | 3 | "version": "1.1.0", |
xg353y | 1de3466 | 2017-10-24 11:49:46 +0200 | [diff] [blame] | 4 | "location": "SampleServiceLocation", |
| 5 | "configName": "SampleConfigName", |
| 6 | "uuid": "test", |
xg353y | 4189d7f | 2018-04-17 14:24:17 +0200 | [diff] [blame] | 7 | "policyScope": "CLAMP", |
xg353y | 1de3466 | 2017-10-24 11:49:46 +0200 | [diff] [blame] | 8 | "templateVersion": "OpenSource.version.1", |
xg353y | da4caf4 | 2017-11-03 16:16:16 +0100 | [diff] [blame] | 9 | "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4", |
Determe, Sebastien (sd378r) | 39b4c05 | 2018-04-16 14:22:37 +0200 | [diff] [blame] | 10 | "description": "MicroService Policy", |
xg353y | 1de3466 | 2017-10-24 11:49:46 +0200 | [diff] [blame] | 11 | "priority": "1", |
| 12 | "riskType": "SampleRiskType", |
| 13 | "riskLevel": "1", |
| 14 | "guard": "False", |
| 15 | "content": { |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 16 | "tca_policy": { |
| 17 | "domain": "measurementsForVfScaling", |
| 18 | "metricsPerEventName": [ |
| 19 | { |
| 20 | "eventName": "vFirewallBroadcastPackets", |
| 21 | "controlLoopSchemaType": "VNF", |
Determe, Sebastien (sd378r) | 9aea247 | 2018-04-18 17:57:09 +0200 | [diff] [blame] | 22 | "policyScope": "DCAE", |
xg353y | da4caf4 | 2017-11-03 16:16:16 +0100 | [diff] [blame] | 23 | "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 24 | "policyVersion": "v0.0.1", |
| 25 | "thresholds": [ |
| 26 | { |
Determe, Sebastien (sd378r) | 1ea591c | 2018-05-15 17:05:14 +0200 | [diff] [blame] | 27 | "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_0", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 28 | "version": "1.0.2", |
Determe, Sebastien (sd378r) | 1ea591c | 2018-05-15 17:05:14 +0200 | [diff] [blame] | 29 | "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 30 | "thresholdValue": 123, |
Determe, Sebastien (sd378r) | df19466 | 2018-05-18 15:52:02 +0200 | [diff] [blame] | 31 | "direction": "LESS_OR_EQUAL", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 32 | "severity": "MAJOR", |
Determe, Sebastien (sd378r) | df19466 | 2018-05-18 15:52:02 +0200 | [diff] [blame] | 33 | "closedLoopEventStatus": "ABATED" |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 34 | }, |
| 35 | { |
Determe, Sebastien (sd378r) | 1ea591c | 2018-05-15 17:05:14 +0200 | [diff] [blame] | 36 | "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_0", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 37 | "version": "1.0.2", |
Determe, Sebastien (sd378r) | 1ea591c | 2018-05-15 17:05:14 +0200 | [diff] [blame] | 38 | "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value", |
xg353y | 46e7f8e | 2017-11-03 10:30:12 +0100 | [diff] [blame] | 39 | "thresholdValue": 123, |
| 40 | "direction": "GREATER_OR_EQUAL", |
| 41 | "severity": "MAJOR", |
| 42 | "closedLoopEventStatus": "ONSET" |
| 43 | } |
| 44 | ] |
| 45 | } |
| 46 | ] |
| 47 | } |
Determe, Sebastien (sd378r) | 0ad329e | 2017-09-28 15:25:59 +0200 | [diff] [blame] | 48 | } |
| 49 | } |