Manual Configuration:
This configuration is required to enable the ranSlice features in SDN-R.
SDNC:
- Create the below environment variable in the helm chart at kubernetes/sdnc/templates/statefulset.yaml (for sdnc container).
+ - name: SDNR_NORTHBOUND
+ value: "{{ .Values.config.sdnr.enabled | default "false"}}"
- Make the SDNC chart and then deploy.
- Execute the following command to log into the sdnc container
- kubectl exec -it dev-sdnc-0 bash
- Once in the docker container, edit the properties file /opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties
- update the following flag to true.
- ransim-mounted=true
- configdb-deployed=false (set to true if configDB is used)
- cps-deployed=true (set to true if cps is used)
- Update IP address for ConfigDB:
- configdb.url=${CONFIG_DB_URL:-http://<IPAddress>:8086/api/sdnc-config-db/v4}
- Update IP address for CPS-TBDMT:
- restapi.cps.anchors.endpoint=${CPS_URL:-http://<IPAddress>:8883}/cps/api/v1/dataspaces/E2EDemo/anchors
- update the following flag to true.
POLICY:
- Login to the policy-drools-pdp container and check if the value 'actor.service.SO.operations.Modify\ NSSI.path=3gppservices/v1/modify' is present in the below file:
- kubectl exec -ti -n onap dev-policy-drools-pdp-0 sh
- /opt/app/policy/config/event-manager.properties
- If value not present update the policy-drools-pdp-image to this version'/onap/policy-pdpd-cl:1.10.2-20220413T1305' or any version after '1.10.2'
Policies needed:
Execute these curl requests from any of the running pods.
...
- git clone "https://gerrit.onap.org/r/cps/cps-tbdmt"
- cd cps-tbdmt/
- mvn clean install
- cd docker-compose/
- update cps & ncmp ip-address in application.yml
- cps-tbdmt/docker-compose/application.yml should have the below mapping under the section schemaToAnchor:
- schemaToAnchor:
ran-coverage-area: coverage-area-onap
e2e-cavsta-schemaset: e2e-cavsta1
CSIT-SchemaSet: CSIT-Anchor
ns-schemaset: ns-anchor
ran-network: 11
ran-inventory: ran-inventory-anchor
- schemaToAnchor:
- docker-compose up (use the image built using the above steps in the docker-compose file)
...
2. Give chmod 777 to upload folder which will be created automatically in the home dir.
ML-prediction-ms:
- git clone "https://gerrit.onap.org/r/dcaegen2/services"(use patchset ml-prediction-ms if code not merged)
- cd services/components/ml-prediction-ms
- Update Ransim, Dmaap and ConfigDB IPAddress/Port details in ml-prediction-ms.config
- Build docker image using: 'docker build -t ml-prediction-ms:latest .'
- Run the ml-prediction-ms container.
- docker run -d --name ml-prediction-ms -p "5000:5000" ml-prediction-ms:latest
- To view the logs:
- docker exec -ti ml-prediction-ms bash
- tail -f IntelligentSliceMl.log
NOTE: Use sample data attached under CONFIGDB, RANSIM and CPS if E2E communication service is not done.