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
|
{
"config": {
"pollingInterval": 20,
"aafUsername": "dcae@dcae.onap.org",
"cbsPollingInterval": 60,
"mongo.host": "192.168.225.61",
"cid": "kpi-cid",
"trust_store_pass_path": "/opt/app/kpims/etc/cert/trust.pass",
"cg": "kpi-cg",
"mongo.port": 27017,
"mongo.databasename": "datalake",
"streams_subscribes": {
"performance_management_topic": {
"aaf_password": "demo123456!",
"type": "message-router",
"dmaap_info": {
"topic_url": "https://message-router.onap.svc.cluster.local:3905/events/org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS"
},
"aaf_username": "dcae@dcae.onap.org"
}
},
"trust_store_path": "/opt/app/kpims/etc/cert/trust.jks",
"pollingTimeout": 60,
"streams_publishes": {
"kpi_topic": {
"aaf_password": "demo123456!",
"type": "message-router",
"dmaap_info": {
"topic_url": "https://message-router.onap.svc.cluster.local:3905/events/unauthenticated.DCAE_KPI_OUTPUT"
},
"aaf_username": "dcae@dcae.onap.org"
}
},
"aafPassword": "demo123456!",
"kpi.policy": "{\"domain\":\"measurementsForKpi\",\"methodForKpi\":[{\"eventName\":\"perf3gpp_CORE-AMF_pmMeasResult\",\"controlLoopSchemaType\":\"SLICE\",\"policyScope\":\"resource=networkSlice;type=configuration\",\"policyName\":\"configuration.dcae.microservice.pm-mapper.xml\",\"policyVersion\":\"v0.0.1\",\"kpis\":[{\"measType\":\"AMFRegNbr\",\"operation\":\"SUM\",\"operands\":\"RM.RegisteredSubNbrMean\"}]},{\"eventName\":\"perf3gpp_AcmeNode-Acme_pmMeasResult\",\"controlLoopSchemaType\":\"SLICE\",\"policyScope\":\"resource=networkSlice;type=configuration\",\"policyName\":\"configuration.dcae.microservice.pm-mapper.xml\",\"policyVersion\":\"v0.0.1\",\"kpis\":[{\"measType\":\"UpstreamThr\",\"operation\":\"SUM\",\"operands\":\"GTP.InDataOctN3UPF\"},{\"measType\":\"DownstreamThr\",\"operation\":\"SUM\",\"operands\":\"GTP.OutDataOctN3UPF\"}]}]}",
"dmaap.server": ["message-router"]
},
"policies": {
"items": [{
"policyName": "onap.vfirewall.tca.1-0-0.xml",
"name": "onap.vfirewall.tca",
"config": {
"tca.policy": {
"domain": "measurementsForVfScaling",
"methodForKpi": [{
"eventName": "perf3gpp_CORE_AMF_pmMeasResult",
"controlLoopSchemaType": "SLICE",
"policyScope": "resource=networkSlice;type=configuration",
"policyName": "configuration.dcae.microservice.pm-mapper.xml",
"policyVersion": "v0.0.1",
"kpis": [{
"measType": "AMFRegNbr",
"operation": "SUM",
"operands": "RM.RegisteredSubNbrMean"
}]
},
{
"eventName": "perf3gpp_AcmeNode-Acme_pmMeasResult",
"controlLoopSchemaType": "SLICE",
"policyScope": "resource=networkSlice;type=configuration",
"policyName": "configuration.dcae.microservice.pm-mapper.xml",
"policyVersion": "v0.0.1",
"kpis": [{
"measType": "UpstreamThr",
"operation": "SUM",
"operands": "GTP.InDataOctN3UPF"
},
{
"measType": "DownstreamThr",
"operation": "SUM",
"operands": "GTP.OutDataOctN3UPF"
}
]
}
]
}
},
"type_version": "1.0.0",
"version": "1.0.0",
"policyVersion": "1.0.0",
"type": "onap.policies.monitoring.cdap.tca.hi.lo.app",
"metadata": {
"policy-id": "onap.vfirewall.tca",
"policy-version": "1.0.0"
}
}]
}
}
|