...
curl --location --request POST \
http://$CPS_TBDMT_IP:8080/templates \
--header 'Content-Type: application/json' \
--data-raw '{"templateId": "get-nrcelldu-by-snssai","model": "ran-network","requestType": "query-cps-path","xpathTemplate": "//sNSSAIList[@sNssai='\''{{sNssai}}'\'']/ancestor::NearRTRIC","includeDescendants": true,"transformParam":"NearRTRIC"}'
curl --location --request POST\
http://$CPS_TBDMT_IP:8080/templates \
--header 'Content-Type: application/json'\
--data-raw '{
"templateId": "get-plmnid","model": "ran-inventory","requestType": "query-cps-path","xpathTemplate":
"//sliceProfilesList[@sliceProfileId='\''{{sliceProfileId}}'\'']","includeDescendants": true,"transformParam":"sliceProfilesList,pLMNIdList"}'
curl --location --request POST\
http://$CPS_TBDMT_IP:8080/templates\
--header 'Content-Type: application/json'\
--data-raw '{"templateId": "put-configData","model": "ran-network","requestType": "put","xpathTemplate":
"/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNssai}}'\'']","includeDescendants": true}'
RANSIM and Honeycomb setup:
...
2. Give chmod 777 to upload folder which will be created automatically in the home dir.
Smart Intent Guarantee based on Closed-loop (In Progress - will be updated soon)
ML-prediction-ms:
- git clone "https://gerrit.onap.org/r/dcaegen2/services"
- cd services/components/ml-prediction-ms
- Update Ransim, Dmaap and ConfigDB IPAddress/Port details in services/components/ml-prediction-ms/ml-prediction-ms.config
- Build docker image using: 'docker build -t ml-prediction-ms:latest .'
- Run the ml-prediction-ms container.
...