blob: b71328dd9f26c9767e072d1bcf7c4a6ea053c2fa [file] [log] [blame]
Determe, Sebastien (sd378r)0ad329e2017-09-28 15:25:59 +02001{
xg353y46e7f8e2017-11-03 10:30:12 +01002 "service": "tca_policy",
xg353y1de34662017-10-24 11:49:46 +02003 "version": "1.0.0",
4 "location": "SampleServiceLocation",
5 "configName": "SampleConfigName",
6 "uuid": "test",
7 "policyScope": "resource=SampleResource,service=SampleService,type=SampleType,closedLoopControlName=ControlLoop-vCPE-48f0c2c3-a172-4192-9ae3-052274181b6e",
8 "templateVersion": "OpenSource.version.1",
xg353yda4caf42017-11-03 16:16:16 +01009 "policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
xg353y1de34662017-10-24 11:49:46 +020010 "description": "MicroService vCPE Policy",
11 "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",
22 "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 {
27 "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
28 "version": "1.0.2",
29 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
30 "thresholdValue": 123,
31 "direction": "GREATER_OR_EQUAL",
32 "severity": "MAJOR",
33 "closedLoopEventStatus": "ONSET"
34 },
35 {
36 "closedLoopControlName": "ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_null",
37 "version": "1.0.2",
38 "fieldPath": "$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedDiscardedPacketsDelta",
39 "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}