1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
|
{
"policies":{
"items":[
{
"type":"onap.policies.monitoring.tcagen2",
"type_version":"1.0.0",
"name":"onap.vfirewall.tca",
"version":"1.0.0",
"metadata":{
"policy-id":"onap.vfirewall.tca",
"policy-version":"1.0.0"
},
"policyName":"onap.vfirewall.tca.1-0-0.xml",
"policyVersion":"1.0.0",
"config":{
"tca.policy":{
"domain":"measurementsForVfScaling",
"metricsPerEventName":[
{
"eventName":"vFirewallBroadcastPackets",
"controlLoopSchemaType":"VM",
"policyScope":"DCAE",
"policyName":"DCAE.Config_tca-hi-lo",
"policyVersion":"v0.0.1",
"thresholds":[
{
"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",
"version":"1.0.2",
"fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta",
"thresholdValue":300,
"direction":"LESS_OR_EQUAL",
"severity":"MAJOR",
"closedLoopEventStatus":"ONSET"
},
{
"closedLoopControlName":"ControlLoop-vFirewall-d0a1dfc6-94f5-4fd4-a5b5-4630b438850a",
"version":"1.0.2",
"fieldPath":"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedTotalPacketsDelta",
"thresholdValue":700,
"direction":"GREATER_OR_EQUAL",
"severity":"CRITICAL",
"closedLoopEventStatus":"ONSET"
}
]
}
]
}
}
}
]
},
"event":{
"action":"gathered",
"timestamp":"2021-04-19T23:37:19.709Z",
"update_id":"379fb01a-cfe2-4c06-8f6b-d51f3c8504af",
"policies_count":1
},
"config":{
"keystore.path":"/var/run/security/keystore.p12",
"streams_publishes":{
"perf3gpp":{
"testArray":[
{
"testPrimitiveArray":[
"admin",
"admin_secret",
{
"nestedArray":[
"admin"
]
}
],
"testPrimitive":"admin",
"aaf_credentials":{
"username":"admin",
"password":"admin_secret"
}
}
],
"type":"kafka",
"kafka_info":{
"bootstrap_servers":"dmaap-mr-kafka:6060",
"topic_name":"HVVES_PERF3GPP"
}
},
"pnf_ready":{
"aaf_credentials":{
"username":"admin",
"password":"admin_secret"
},
"type":"message_router",
"dmaap_info":{
"topic_url":"http://message-router:3904/events/VES_PNF_READY"
}
},
"call_trace":{
"aaf_credentials":{
"username":"admin",
"password":"admin_secret"
},
"type":"kafka",
"kafka_info":{
"bootstrap_servers":"dmaap-mr-kafka:6060",
"topic_name":"HVVES_TRACE"
}
}
},
"streams_subscribes":{
"measurements":{
"type":"message_router",
"dmaap_info":{
"topic_url":"http://message-router:3904/events/VES_MEASUREMENT"
}
}
}
}
}
|