Follow the manual configurations mentioned in Install Minimum Scope for Option 1. As closed loop related directed graphs in SDN-R for CPS integration is moved to J-release, an E2E closed loop scenario with Config DB is accomplished in Istanbul release.
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.
Deployment Prerequisite/dependencies
DMaaP, Policy, SO and SDNC pods should be up and running.
- VES, PM mapper and DataFile Collector service should be running.
- CPS and CPS-TBDMT containers should be running.
- Create the below subscriber permission in dmaap for the authenticated topic if not present.
curl -X POST -k https://dmaap-bc:8443/webapi/mr_clients -H "Content-Type:application/json" --data '{
"dcaeLocationName": "san-francisco",
"fqtn": "org.onap.dmaap.mr.PERFORMANCE_MEASUREMENTS",
"clientIdentity": "dcae@dcae.onap.org",
"action": ["sub"]
}'
Slice Analysis MS
Edit the below configurations in slice-analysis helm chart oom/kubernetes/dcaegen2-services/components/dcae-slice-analysis-ms/values.yaml
sliceanalysisms.configDbEnabled: false
sliceanalysisms.cps.url: http://<configDBIP>:<port>/execute/ran-network"
Make the chart and deploy slice-analysis
Policies for Slice Analysis MS:
Execute these curl requests from any of the running pods.
Policy Creation:
curl -k --silent --user 'healthcheck:zb!XztG34' -X POST "https://policy-api:6969/policy/api/v1/policytypes/onap.policies.controlloop.operational.common.Drools/versions/1.0.0/policies" -H "Accept: application/json" -H "Content-Type: application/json" -d @modifynssi.json
where modifynssi.json is,
SLA MS - Policy
|
To push the policy:
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 @push_modifynssi.json
where push_modifynssi.json is,
SLA MS - Push the Policy
|
RANSIM and Honeycomb setup:
For Setup steps refer Core & RAN Simulators
1. Run the following command to start the RAN network slice simulation
curl -X POST http://localhost:8081/ransim/api/StartRanSliceSimulation -i
3. Run the following command to generate Closed Loop PM data:
curl -X POST http://localhost:8081/ransim/api/generateClosedLoopPmData -i
Check the folder(where SFTP setup is done) to view the generated PM data files.