summaryrefslogtreecommitdiffstats
path: root/ANR-App/config
diff options
context:
space:
mode:
authorvvarvate <vv00489503@techmahindra.com>2022-09-14 18:04:56 +0530
committervvarvate <vv00489503@techmahindra.com>2022-10-28 12:02:19 +0530
commitf94d8ec01991c9cfc8e4c74de2e763e72d4fbbbf (patch)
treed950078ceff5d702e263d965257643ce9ecd5eca /ANR-App/config
parent746cc0a4aa1ada72d98ed161322fb2bd1e359637 (diff)
Create RAN App in RAN-Sim to support A1-based action for SON Use Case
Issue-ID: INT-2129 Signed-off-by: vvarvate <vv00489503@techmahindra.com> Change-Id: Iba1bd825a612ea93ea5611dda818330bb399642c
Diffstat (limited to 'ANR-App/config')
-rw-r--r--ANR-App/config/RanInputMSG.txt34
-rw-r--r--ANR-App/config/RanOutputMSG.txt59
-rw-r--r--ANR-App/config/application.properties14
3 files changed, 107 insertions, 0 deletions
diff --git a/ANR-App/config/RanInputMSG.txt b/ANR-App/config/RanInputMSG.txt
new file mode 100644
index 0000000..befc04c
--- /dev/null
+++ b/ANR-App/config/RanInputMSG.txt
@@ -0,0 +1,34 @@
+{"closedLoopControlName":"ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61","closedLoopAlarmStart":1606805921693,"closedLoopEventClient":"microservice.PCI","closedLoopEventStatus":"ONSET","target":"pnf.pnf-name","from":"PCIMS","version":"1.0.2","policyName":"PCI","policyVersion":"1.0.2","target_type":"PNF","requestID":"82feb01e-4f3e-40e2-b8df-683adabae893","AAI":{"generic-vnf.prov-status":"ACTIVE","generic-vnf.is-closed-loop-disabled":"false","pnf.pnf-name":"ncserver1"},
+"Action":"CreateA1Policy",
+"payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"ric1",
+"policy_data":{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0014","neighbours":[{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0000","ho-kpi1":100},
+{"PNFName":"ncserver1","PLMNID":"ran-1","CellID":"Chn0001","ho-kpi1":90}]}}}
+{"action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..","payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"22","policy_data":{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15549","neighbours":[{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"14427","ho-kpi1":100},{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15548","ho-kpi1":90}]}},"policy_type_id":"String / {"name":"","version":"")","policy_id": "string(unique id)"}
+{"action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..","payload":{"action":"CreatePolicy","policy_id":1,"policy_type_id":1,"ric_id":"22","policy_data":{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15549","neighbours":[{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"14427","ho-kpi1":100},{"PNFName":"cucpserver2","PLMNID":"ran-1","CellID":"15548","ho-kpi1":90}]}},"policy_type_id":"String","policy_id": "string(unique id)"}
+{
+ "action": "CreatePolicy/DeletePolicy/GetPolicyStatus/..",
+ "payload": {
+ "action": "CreatePolicy",
+ "policy_id": 1,
+ "policy_type_id": 1,
+ "ric_id": "22",
+ "policy_data": {
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "15549",
+ "neighbours": [{
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "14427",
+ "ho-kpi1": 100
+ }, {
+ "PNFName": "cucpserver2",
+ "PLMNID": "ran-1",
+ "CellID": "15548",
+ "ho-kpi1": 90
+ }]
+ }
+ },
+ "policy_type_id": "String",
+ "policy_id": "string(unique id)"
+}
diff --git a/ANR-App/config/RanOutputMSG.txt b/ANR-App/config/RanOutputMSG.txt
new file mode 100644
index 0000000..8c9b4ef
--- /dev/null
+++ b/ANR-App/config/RanOutputMSG.txt
@@ -0,0 +1,59 @@
+{
+ "closedLoopControlName":"ControlLoop-vSONH-7d4baf04-8875-4d1f-946d-06b874048b61",
+ "closedLoopAlarmStart":1606805921693,
+ "closedLoopEventClient":"microservice.PCI",
+ "closedLoopEventStatus":"ONSET",
+ "target":"pnf.pnf-name",
+ "from":"PCIMS",
+ "version":"1.0.2",
+ "policyName":"PCI",
+ "policyVersion":"1.0.2",
+ "payload":{
+ "Configurations":[
+ {
+ "data":{
+ "ric_id": "ric1",
+ "FAPService":{
+ "alias":"Chn0014",
+ "CellConfig":{
+ "LTE":{
+ "RAN":{
+ "Common":{
+ "CellIdentity":"Chn0014"
+ },
+ "NeighborListInUse":{
+ "LTECell":[
+ {
+ "PNFName":"ncserver1",
+ "PLMNID":"ran-1",
+ "CID":"Chn0000",
+ "PhyCellID":0,
+ "isHOAllowed":"true"
+ },
+ {
+ "PNFName":"ncserver1",
+ "PLMNID":"ran-1",
+ "CID":"Chn0001",
+ "PhyCellID":0,
+ "isHOAllowed":"true"
+ }
+ ],
+ "LTECellNumberOfEntries":"2"
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ ]
+ },
+ "target_type":"PNF",
+ "requestID":"82feb01e-4f3e-40e2-b8df-683adabae893",
+ "AAI":{
+ "generic-vnf.prov-status":"ACTIVE",
+ "generic-vnf.is-closed-loop-disabled":"false",
+ "pnf.pnf-name":"ncserver1"
+ },
+ "Action":"ModifyConfigANR"
+} \ No newline at end of file
diff --git a/ANR-App/config/application.properties b/ANR-App/config/application.properties
new file mode 100644
index 0000000..947987e
--- /dev/null
+++ b/ANR-App/config/application.properties
@@ -0,0 +1,14 @@
+server.port=9091
+kafka.bootstrapAddress=localhost:9092
+spring.kafka.producer.bootstrap-servers=localhost:9092
+spring.kafka.producer.key-serializer=org.apache.kafka.common.serialization.StringSerializer
+spring.kafka.producer.value-serializer=org.springframework.kafka.support.serializer.JsonSerializer
+ranapp.testing.topic.name=xapptest-topic
+ranapp.testing.topic.id=group1
+restapi.version=v1
+websocketserver.address=43.204.239.187:8081
+websocketserver.endpoint=/ransim/RansimAgent/ANR-xAPP:9091
+ranapp.name=ANR-RanAPP:9091
+ranapp.policytype=ANR
+ranapp.hokpi1_threshold=100
+kafkadispatcher.url=http://localhost:7075/policytypetotopicmapping/