...
Manual Configuration:
SDNC:
- Create the below environment variable in the helm chart at kubernetes/sdnc/templates/statefulset.yaml (for sdnc container).
...
- 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.