1. OOF
OOF has to be configured with the config DB urls and redeployed.
Edit the oom/kubernetes/oof/values.yaml
configDbUrl: http://<ip>:<port>
configDbUserName:
configDbPassword:
configDbGetCellListUrl: 'api/sdnc-config-db/v3/getCellList'
configDbGetNbrListUrl: 'api/sdnc-config-db/v3/getNbrList'
2. DCAE
2.1. SON-Handler MS
<Mention image version, charts updates, config file updates, etc.>Refer SON-Handler (PCI Usecase) for setting up SON-Handler MS in the DCAE.
2.2. VES-Collector
<Mention image version, charts updates, config file updates, etc.>
3. Policy
<Mention image version, charts updates, config file updates, etc.>The usecase uses measurement domain for sending PM data to ONAP. So "measurement" domain must be added to the VES. It can be added via consul UI. Add the following to the VES configuration in the consul UI. VES collector will use the new Configuration during runtime.
measurement=ves-measurement
3. Policy
There are two control policies that are being used in the usecase. Those two control loop policies has to be created and pushed into the policy.
Login to pdp container and execute the following commands
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
Create and push Modify Config policy
Code Block | ||||
---|---|---|---|---|
| ||||
curl -k --silent --user 'healthcheck:zb!XztG34' -X POST "https://policy-api:6969/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @pci.json
curl --silent -k --user 'healthcheck:zb!XztG34' -X POST "https://policy-pap:6969/policy/pap/v1/pdps/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @pci_push.json |
Create and push Modify Config ANR policy
Code Block | ||||
---|---|---|---|---|
| ||||
curl -k --silent --user 'healthcheck:zb!XztG34' -X POST "https://policy-api:6969/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @son.json
curl --silent -k --user 'healthcheck:zb!XztG34' -X POST "https://policy-pap:6969/policy/pap/v1/pdps/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @son_push.json |
4. SDN-C/SDN-R
<Mention image version, charts updates, config file updates, any other config steps, etc.>
5. RAN-Simulator
...
Use the following or later docker images:
- sdnc: onap/sdnc-image:1.6.0-SNAPSHOT-latest
- dmaap-listener: onap/sdnc-dmaap-listener-image:1.6.0-SNAPSHOT-latest
The configuration changes to the DG properties file are required based on the environment:
- Properties file: /opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties
- SSH into rancher node (or NFS/rancher node in El Alto)
- sudo su
- kubectl get pods -n onap -o wide | grep sdnc
- Execute the following command to all sdnc POD's to update properties file
- kubectl exec -it dev-sdnc-sdnc-x bash (x=0, 1, 2, depending upon number of sdnc replicas in the setup)
- Once in the docker, edit the properties file (/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties)
- Make following configuration changes per setup
- If you are using RAN simulator per below in the setup, and performing Netconf mount, update the following flag to true
- ransim-mounted=true
- If ConfigDB is deployed, update the following flag to true
- configdb-deployed=true
- Update IP address for ConfigDB (a.b.c.d below)
- configdb.url=http://a.b.c.d:8080/api/sdnc-config-db/v3
- If you are using RAN simulator per below in the setup, and performing Netconf mount, update the following flag to true
The following is a temporary fix for dmaap-listener library files, and please do the following for the dmaap-listener docker:
- Execute the following command to all dmaap-listener POD's to copy relevant template map files
- kubectl exec -it -n onap dev-sdnc-sdnc-dmaap-listener-5b8d94959b-27mwf -- /bin/bash
- Once in the docker, create folder : /opt/app/dmaap-listener/lib/
- Copy following files to the above folder (/opt/app/dmaap-listener/lib/)
cp /opt/onap/sdnc/dmaap-listener/lib/pci-changes-from-policy-to-sdnr.map /opt/app/dmaap-listener/lib/.
cp /opt/onap/sdnc/dmaap-listener/lib/anr-changes-from-policy-to-sdnr.map /opt/app/dmaap-listener/lib/.
cp /opt/onap/sdnc/dmaap-listener/lib/anr-pci-changes-from-policy-to-sdnr.vt /opt/app/dmaap-listener/lib/.
5. RAN-Simulator
Steps to build the RAN-Sim Controller setup:
...
Note: Use docker compose version 1.6.0 or above.
Once the ransim and mariadb containers are started, you can see logs similar to below image
9. Access the GUI using the following url in the web browser:
...