TBDMT Reference: API Mapper Service
CPS API Analyse: CPS APIs
Templates Needed
1. instantiateRANSliceAllocate
S.No | Config DB API | Template | Schema | id | JSON Payload |
---|---|---|---|---|---|
2.instantiateRANSliceModifyAllocate
S.No | Config DB API | Template | Schema | id | JSON Payload |
---|---|---|---|---|---|
1. | api/sdnc-config-db/v4/nearrtric/{ranNFNSSIId} | //attributes/ranNFNSSIIdList/element[text()={{ranNFNSSIId}}]/ancestor::NearRTRIC | cps-ran-schema-model | get-nearrtric-by-rannfnssi | |
2 | /api/sdnc-config-db/v4/cell-list/{trackingArea} | /ran-coverage-area/pLMNIdList[mcc={{mcc}}][mnc={{mnc}}]/coverage-area[coverageArea={{coverageArea}}]/coverageAreaTAList[nRTAC={{nRTAC}}] | cps-cavsta-onap-internal | get-cells-list | { "input": { "mcc": "390", "mnc": "410", "coverageArea": "Chennai", "nRTAC": 101 } } |
3 | /cps-ran-schema/NearRTRIC | /cps-ran-schema/NearRTRIC | cps-ran-schema-model | put-nearrtric | |
4 | /api/sdnc-config-db/v4/gNBCUCP | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUCPFunction | cps-ran-schema-model | put-gnbcucpfunction | |
5 | /api/sdnc-config-db/v4/gNBCUUP | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction | cps-ran-schema-model | put-gnbcuupfunction | |
6 | /api/sdnc-config-db/v4/gNBDU | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction | put-gnbdufunction | put-gnbdufunction | |
7 | /api/sdnc-config-db/v4/rrmPolicy | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUCPFunction[@idGNBCUCPFunction={{idGNBCUCPFunction}}]/NRCellCU[@idNRCellCU={{idNRCellCU}}]/attributes/RRMPolicyRatio | cps-ran-schema-model | put-nrcellcu-rrm-policy | |
8 | /api/sdnc-config-db/v4/rrmPolicy | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction[@idGNBCUUPFunction={{idGNBCUUPFunction}}]/attributes/RRMPolicyRatio | cps-ran-schema-model | put-cuup-rrm-policy | |
9 | /api/sdnc-config-db/v4/rrmPolicy | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction[@idGNBDUFunction=[[idGNBDUFunction}}]/NRCellDU[@idNRCellDU={{idNRCellDU}}]/attributes/RRMPolicyRatio | cps-ran-schema-model | put-nrcelldu-rrm-policy | |
10 | /api/sdnc-config-db/v4/ranslice-details | /ran-inventory/ran-slices | cps-ran-inventory | update-ran-inventory | |
3.activateRANSliceInstance
S.No | Config DB API | Template | Schema | id | JSON Payload | Output | Comments |
---|---|---|---|---|---|---|---|
api/sdnc-config-db/v4/nearrtric/{ranNFNSSIId} | //ranNFNSSIIdList[@RANNFNSSI =1]/ancestor::NearRTRICs | cps-ran-schema-model |
| ||||
/api/sdnc-config-db/v4/plmn/{sliceProfileId} | /ran-inventory/ran-slices/sliceProfilesList[@sliceProfileId={{sliceProfileId}}]/pLMNIdList | ran-inventory |
| based on documentation was returning "PLMNId as String" here we have a list, yang models defines that could be as much as 6 elements, hacing each one mcc and mnc |
4.instantiateRANSliceReconfigure
5.terminateRANSliceInstance
Data feed to store the templates in TBDMT
Prepare the .sql file once the templates are finalized