...
- cps.username: cpsuser
- cps.password: cpsr0cks!
- sonhandler.clientType: CPS
- sonhandler.nearRtricUrl: "https://10.31.4.43:30294/a1-policy/v2/policies" ( URL of the a1policymanagement )
- cps.service.url: http://<cps-tbdmt-ip>:8080
- cps.get.cell.data.url: execute/cps-ran-schemaset/get-cell-data
- cps.get.nbr.list.url: execute/cps-ran-schemaset/get-nbr-list
- cps.get.pci.url: execute/ran-network-schemaset/get-pci
- cps.get.pnf.url: execute/ran-network-schemaset/get-pnf
Deployment Prerequisite/dependencies
- DCAE and DMaaP pods should be up and running.
Deployment steps ::
- Clone the OOM repo - git clone "https://gerrit.onap.org/r/oom"
- Go to the oom/kubernetes/dcaegen2-services/components directory, which has son-handler component charts
- Execute the command : make dcae-son-handler ( This will push the charts to the local repo)
- Install the component using the following command : helm install dev-son-handler dcae-son-handler --namespace onap --set global.masterPassword=guilin2021
DMAAP :
Steps for creating dmaap topics
...
- configClientType: cps
- # cps api
cps:
cpsUsername: cpsuser
cpsPassword: cpsr0cks!
cpsUrl: http://<cps-tbdmt-ip>:8080/execute
cpsCellListUrl: 'cps-ran-schemaset/get-cell'
cpsNbrListUrl: 'cps-ran-schemaset/get-nbr-list1'
RAN App :
A new RAN App module in RAN-Sim is an abstraction of the function provided by an xApp to support A1-based actions. For Kohn release, RAN App will provide the following functions to support A1-based action for the ANR SON use case:
1.Receive A1 policy message over Kafka bus from A1 Termination
2.Communicate via websocket with RAN-Sim Controller to control the CU/DU NF in the Honeycomb NF modules, to achieve an end result similar to what an xApp would have done over E2.
For Kohn release, the A1 message received has handover (HO) related kpis and RAN App will effect a change in the configuration of the NR Cell Relation property in the appropriate CU(s).
Installation:
1. To build a new ran app.
mvn clean install -Dcheckstyle.skip -Dmaven.test.skip=true -Dmaven.javadoc.skip=true
2. To build and run a new ran app container
mvn clean install -Dcheckstyle.skip -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -P docker
docker-compose up -d
Configure the application properties to connect with kafka instance, kafka dispatcher url and the websocket address (ransim IP and port) under <config/application.properties>
server.port=9091
kafka.bootstrapAddress=10.31.4.44:9092
#spring.kafka.producer.bootstrap-servers=10.31.4.44: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=testtopic
restapi.version=v1
websocketserver.address=10.31.4.44:8081
websocketserver.endpoint=/ransim/RansimAgent/ANR-xAPP:9091
ranapp.name=ANR-RanAPP:9091
ranapp.policytype=ANR
ranapp.hokpi1_threshold=100
kafkadispatcher.url=http://10.31.4.44:7075/policytypetotopicmapping/