Note: Please validate the TBDMT APIs with the mentioned templates
S.No | ConfigDB API | yang model | HTTP Method | Xpath Query | Template id | Schema | TBDMT Template | Payload |
---|
1 | /api/sdnc-config-db/v4/cell-list/{trackingArea} | cps-cavsta-onap-internal | GET | /ran-coverage-area/pLMNIdList[@mcc= |
"31"][@mnc="42"%27310%27%20and%20@mnc=%27410%27]/coverage-area[@coverageArea= |
"Chennai"%27Chennai%27]/coverageAreaTAList[ |
nRTAC110]onap%27101%27]&include-descendants=true | get-cells-list | cps-cavsta- |
template1onap-internal | /ran-coverage-area/pLMNIdList[mcc={{mcc}}][mnc={{mnc}}]/coverage-area[coverageArea={{coverageArea}}]/coverageAreaTAList[nRTAC={{nRTAC}}] |
|
2 | /api/sdnc-config-db/v4/nearrtric-list/{trackingArea} | cps-cavsta-onap-internal, cps-ran-schema-model
| GET | a) Run the API (1) to get the list of cells (idNRCellDU) b) /NRCellDU[@idNRCellDU=15289]/ancestor::NearRTRIC |
rn-template1 | get-nearrtric-by-cellid | ran-network | Multiple queries support is required a) API (1) b) /NRCellDU[@idNRCellDU={{idNRCellDU}}]/ancestor::NearRTRIC |
|
3 | /api/sdnc-config-db/v4/nearRTRIC |
cps-schema-modelPUT | /cps-ran-schema/NearRTRIC | rn-template2 | /cps-ran-schema/NearRTRIC-network/NearRTRIC[@idNearRTRIC=%2711%27]/attributes/pLMNInfoList[@mcc=%27310%27%20and%20@mnc=%27410%27] | put-nearrtric | ran-network | { "templateId": "put-nearrtric", "model": "ran-network", "requestType": "post", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | This field is applicable for the PUT APIs. send the payload data to be persisted in this field |
4 | /api/sdnc-config-db/v4/gNBCUCP |
cps-schema-modelcps-schemanetwork/NearRTRIC[@idNearRTRIC= |
11%2711%27]/GNBCUCPFunction |
rn-template3 | /cps-ran-schema[@idGNBCUCPFunction=%27cucpserver1%27]/NRCellCU[@idNRCellCU=%2715289%27]/attributes/pLMNInfoList[@mcc=%27310%27%20and%20@mnc=%27410%27] | put-gnbcucpfunction | ran-network | curl -k -H "Content-Type: application/json" --request PUT 'http://10.31.4.14:8080/templates' --data-raw '{ "templateId": "put-nrcellcu", "model": "ran-network", "requestType": "post", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true }' | same as above |
5 | /api/sdnc-config-db/v4/gNBCUUP |
cps-schema-modelnetwork | PUT | /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBCUUPFunction | put-gnbcuupfunction |
rntemplate4network | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction | same as above |
6 | /api/sdnc-config-db/v4/gNBDU |
cps-schema-modelnetwork | PUT | /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBDUFunction | put-gnbdufunction |
rntemplate5network | /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction | same as above |
7 | /api/sdnc-config-db/v4/rrmPolicy |
cps-schema-modelnetwork | PUT | 1) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBCUCPFunction[@idGNBCUCPFunction='cucpserver1']/NRCellCU[@idNRCellCU=15289]/attributes/RRMPolicyRatio 2) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBCUUPFunction[@idGNBCUUPFunction=1111]/attributes/RRMPolicyRatio 3) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBDUFunction[@idGNBDUFunction=110]/NRCellDU[@idNRCellDU=15700]/attributes/RRMPolicyRatio |
rn-template6 | 1) put-nrcellcu-rrm-policy 2) put-cuup-rrm-policy 3) put-nrcelldu-rrm-policy | ran-network | 1) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUCPFunction[@idGNBCUCPFunction={{idGNBCUCPFunction}}]/NRCellCU[@idNRCellCU={{idNRCellCU}}]/attributes/RRMPolicyRatio 2) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction[@idGNBCUUPFunction={{idGNBCUUPFunction}}]/attributes/RRMPolicyRatio 3) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction[@idGNBDUFunction=[[idGNBDUFunction}}]/NRCellDU[@idNRCellDU={{idNRCellDU}}]/attributes/RRMPolicyRatio | same as above |
8 | /api/sdnc-config-db/v4/ranslice-details | cps-ran-inventory | PUT | /ran-inventory/ran-slices | update-ran-inventory | cps-ran-inventory | /ran- |
info-template1inventory/ran-slices | same as above |
9 | /api/sdnc-config-db/v4/du-list/{sNSSAI} |
cps-schema-modelnetwork | GET | /NRCellDU[idNRCellDU=15700]/pLMNInfoList[@mcc="31"][@mnc="42"]/sNSSAIList[@sNssai="01-101010"]/ancestor::GNBDUFunction |
rn-template7get-gnbdufunction-by-snssai | ran-network | /NRCellDU[idNRCellDU={{idNRCellDU}}]/pLMNInfoList[mcc={{mcc}}][mnc={{mnc}}]/sNSSAIList[@sNssai={{sNssai}}]/ancestor::GNBDUFunction |
|
10 | /api/sdnc-config-db/v4/du-cell-list/{sNSSAI} |
cps-schema-modelnetwork | GET | /sNSSAIList[@sNssai="01-101010"]/ancestor::NRCellDU |
rn-template8 | get-nrcelldu-by-snssai | ran-network | /sNSSAIList[@sNssai={{sNssai}}]/ancestor::NRCellDU |
|
11 | /api/sdnc-config-db/v4/slice-config/{sNSSAI} |
cps-schema-modelnetwork | GET | /NearRTRIC[@idNearRTRIC=11]/pLMNInfoList[@mcc="31"][@mnc="42"]/sNSSAIList[@sNssai="01-101010"]/configData |
rn-template9 | get-nearrtric-config | ran-network | /NearRTRIC[idNearRTRIC={{idNearRTRIC}}]/pLMNInfoList[mcc={{mcc}}][mnc={{mnc}}]/sNSSAIList[sNssai={{sNssai}}]/configData |
|
12 | api/sdnc-config-db/v4/nearrtric/{ranNFNSSIId} |
cps-schema-modelnetwork | GET | //attributes/ranNFNSSIIdList/element[text()="ac8ca1a9-e1ec-4480-8720-c74e92566885"]/ancestor::NearRTRIC |
rn-template10 | get-nearrtric-by-rannfnssi | ran-network | //attributes/ranNFNSSIIdList/element[text()={{ranNFNSSIId}}]/ancestor::NearRTRIC |
|
13 | /api/sdnc-config-db/v4/plmn/{sliceProfileId} | cps-ran-inventory | GET | /ran-inventory/ran-slices/sliceProfilesList[@sliceProfileId="314aab80-1754-446c-bfd9-6aae5b1ae348"]/pLMNIdList | get-plmn-id | cps-ran- |
info-template2inventory | /ran-inventory/ran-slices/sliceProfilesList[sliceProfileId={{sliceProfileId}}]/pLMNIdList |
|
14 | /api/sdnc-config-db/v4/ta-list/{mcc}/{mnc}/{coverageArea} | cps-cavsta-onap-internal | GET | /ran-coverage-area/pLMNIdList[@mcc="31"][@mnc="42"]/coverage-area[@coverageArea="Chennai"]/coverageAreaTAList |
onap | get-tracking-area-list | cps-cavsta-onap- |
template2internal | /ran-coverage-area/pLMNIdList[mcc={{mcc}}][mnc={{mnc}}]/coverage-area[coverageArea={{coverageArea}}]/coverageAreaTAList |
|
15 | /api/sdnc-config-db/v4//rrmPolicy/{resourceType}/{resourceId} | ran-network | GET | 1) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBCUCPFunction[@idGNBCUCPFunction='cucpserver1']/NRCellCU[@idNRCellCU=15289]/attributes/RRMPolicyRatio 2) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBCUUPFunction[@idGNBCUUPFunction=1111]/attributes/RRMPolicyRatio 3) /cps-ran-schema/NearRTRIC[@idNearRTRIC=11]/GNBDUFunction[@idGNBDUFunction=110]/NRCellDU[@idNRCellDU=15700]/attributes/RRMPolicyRatio | 1) get-nrcellcu-rrm-policy 2) get-cuup-rrm-policy 3) get-nrcelldu-rrm-policy | ran-network | 1) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUCPFunction[@idGNBCUCPFunction={{idGNBCUCPFunction}}]/NRCellCU[@idNRCellCU={{idNRCellCU}}]/attributes/RRMPolicyRatio 2) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction[@idGNBCUUPFunction={{idGNBCUUPFunction}}]/attributes/RRMPolicyRatio 3) /cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction[@idGNBDUFunction=[[idGNBDUFunction}}]/NRCellDU[@idNRCellDU={{idNRCellDU}}]/attributes/RRMPolicyRatio |
|
|
|
|
|
|
|
|
|
|