Create the dataspace, schemaset and anchor using the below CPS-Core APIs:
...
instantiateRANSlice - reconfigure
View file name Preload-instantiateRanSliceReconfigure.json height 250
activateRANSlice
View file name activation-CPS-templates.txt height 250
S.No | Config DB API | xPath | Template | Schema | id | JSON Payload |
---|---|---|---|---|---|---|
1 | api/sdnc-config-db/v4/nearrtric/{ranNFNSSIId} | //attributes/ranNFNSSIIdList/element[text()="ac8ca1a9-e1ec-4480-8720-c74e92566885"]/ancestor::NearRTRIC | { "templateId": "get-nearrtric-by-rannfnssi", "model": "ran-network", "requestType": "query-cps-path", "xpathTemplate": "//attributes/rANNFNSSIList[text()='\''{{rANNFNSSIId}}'\'']/ancestor::NearRTRIC", "includeDescendants": true } | ran-network | get-nearrtric-by-rannfnssi | { "inputParameters": { "rANNFNSSIId": "4039ce18-7f8f-44d7-9822-6cb6cb7227d4" } } |
2 | /api/sdnc-config-db/v4/plmn/{sliceProfileId}} | //attributes/sliceProfilesList[@sliceProfileId="314aab80-1754-446c-bfd9-6aae5b1ae348"]/ancestor::NearRTRIC | { "templateId": "get-plmnmccid-by-sliceprofileid", "model": "ran-network", "requestType": "query-cps-path", "xpathTemplate": "//attributes/sliceProfilesList[@sliceProfileId='\''{{sliceProfileId}}'\'']/ancestor::NearRTRIC", "includeDescendants": true, "transformParam":"attributes,pLMNInfoList,mcc" } | ran-network | get-plmnmccid-by-sliceprofileid | { "inputParameters": { |
3 | /api/sdnc-config-db/v4/plmn/{sliceProfileId} | //attributes/sliceProfilesList[@sliceProfileId="314aab80-1754-446c-bfd9-6aae5b1ae348"]/ancestor::NearRTRIC | { "templateId": "get-plmnmncid-by-sliceprofileid", "model": "ran-network", "requestType": "query-cps-path", "xpathTemplate": "//attributes/sliceProfilesList[@sliceProfileId='\''{{sliceProfileId}}'\'']/ancestor::NearRTRIC", "includeDescendants": true, "transformParam":"attributes,pLMNInfoList,mnc" } | ran-network | get-plmnmncid-by-sliceprofileid | { "inputParameters": { |
4 | /api/sdnc-config-db/v4/nearRTRIC | /ran-network/NearRTRIC[@idNearRTRIC="11"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"] | { "templateId": "put-status-nearrtric", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | ran-network | put-status-nearrtric | { "inputParameters":{ |
5 | /api/sdnc-config-db/v4/gNBCUUP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUUPFunction[@idGNBCUUPFunction="22"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"] | { "templateId": "put-status-gnbcuup", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | ran-network | put-status-gnbcuup | { "inputParameters":{ |
6 | /api/sdnc-config-db/v4/gNBDU | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBDUFunction[@idGNBDUFunction="22"]/NRCellDU[@idNRCellDU="15299"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"] | { "templateId": "put-status-nrcelldu", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | ran-network | put-status-nrcelldu | { "inputParameters":{ |
7 | /api/sdnc-config-db/v4/gNBCUCP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUCPFunction[@idGNBCUCPFunction="32"]/NRCellCU[@idNRCellCU="15199"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"] | { "templateId": "put-status-nrcellcu", "model": "ran-network", "requestType": "patch", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | ran-network | put-status-nrcellcu | { "inputParameters":{ |
...