Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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:

  1. git clone "https://gerrit.onap.org/r/dcaegen2/services"
  2. cd services/components/ml-prediction-ms
  3. Update Ransim, Dmaap and ConfigDB IPAddress/Port details in services/components/ml-prediction-ms/ml-prediction-ms.config
  4. Build docker image using: 'docker build -t ml-prediction-ms:latest .'
  5. Run the ml-prediction-ms container.

...