...
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
...
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:
...