blob: 6e302dd6abca4e0ecd1f82f37a1f2d3099d824bc [file] [log] [blame]
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +02001{
xg353y46e7f8e2017-11-03 10:30:12 +01002 "service": "tca_policy",
Determe, Sebastien (sd378r)39b4c052018-04-16 14:22:37 +02003 "version": "1.1.0",
xg353y1de34662017-10-24 11:49:46 +02004 "location": "SampleServiceLocation",
5 "configName": "SampleConfigName",
6 "uuid": "test",
xg353y4189d7f2018-04-17 14:24:17 +02007 "policyScope": "CLAMP",
xg353y1de34662017-10-24 11:49:46 +02008 "templateVersion": "OpenSource.version.1",
xg353yda4caf42017-11-03 16:16:16 +01009 "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
Determe, Sebastien (sd378r)39b4c052018-04-16 14:22:37 +020010 "description": "MicroService Policy",
xg353y1de34662017-10-24 11:49:46 +020011 "priority": "1",
12 "riskType": "SampleRiskType",
13 "riskLevel": "1",
14 "guard": "False",
15 "content": {
xg353y46e7f8e2017-11-03 10:30:12 +010016 "tca_policy": {
17 "domain": "measurementsForVfScaling",
18 "metricsPerEventName": [
19 {
20 "eventName": "vFirewallBroadcastPackets",
21 "controlLoopSchemaType": "VNF",
Determe, Sebastien (sd378r)9aea2472018-04-18 17:57:09 +020022 "policyScope": "DCAE",
xg353yda4caf42017-11-03 16:16:16 +010023 "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
xg353y46e7f8e2017-11-03 10:30:12 +010024 "policyVersion": "v0.0.1",
25 "thresholds": [
26 {
Determe, Sebastien (sd378r)1ea591c2018-05-15 17:05:14 +020027 "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_0",
xg353y46e7f8e2017-11-03 10:30:12 +010028 "version": "1.0.2",
Determe, Sebastien (sd378r)1ea591c2018-05-15 17:05:14 +020029 "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value",
xg353y46e7f8e2017-11-03 10:30:12 +010030 "thresholdValue": 123,
Determe, Sebastien (sd378r)df194662018-05-18 15:52:02 +020031 "direction": "LESS_OR_EQUAL",
xg353y46e7f8e2017-11-03 10:30:12 +010032 "severity": "MAJOR",
Determe, Sebastien (sd378r)df194662018-05-18 15:52:02 +020033 "closedLoopEventStatus": "ABATED"
xg353y46e7f8e2017-11-03 10:30:12 +010034 },
35 {
Determe, Sebastien (sd378r)1ea591c2018-05-15 17:05:14 +020036 "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_0",
xg353y46e7f8e2017-11-03 10:30:12 +010037 "version": "1.0.2",
Determe, Sebastien (sd378r)1ea591c2018-05-15 17:05:14 +020038 "fieldPath": "$.event.measurementsForVfScalingFields.additionalMeasurements[*].arrayOfFields[0].value",
xg353y46e7f8e2017-11-03 10:30:12 +010039 "thresholdValue": 123,
40 "direction": "GREATER_OR_EQUAL",
41 "severity": "MAJOR",
42 "closedLoopEventStatus": "ONSET"
43 }
44 ]
45 }
46 ]
47 }
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +020048 }
49}