...
- CoverageArea: curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request POST 'http://<ipaddress>:8883/cps/api/v1/dataspaces/E2EDemo/anchors/coverage-area-onap/nodes' \
--header 'Content-Type: application/json' -d @cavstareq.json cavstareq.json - RAN Network: curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request PUT POST 'http://<ipaddress>:8883/cps/api/v1/dataspaces/E2EDemo/anchors/11/nodes' \
--header 'Content-Type: application/json' -d @ran-network-initial-data.json ran-network-initial-data.json - RAN inventory: curl -H "Authorization: Basic Y3BzdXNlcjpjcHNyMGNrcyE=" --request PUT POST 'http://<ipaddress>:8883/cps/api/v1/dataspaces/E2EDemo/anchors/ran-inventory-anchor/nodes' \
--header 'Content-Type: application/json' -d @ran-inventory-sample-data-raw '{
".json ran-inventory":{
}
}'-sample-data.json
Schemaset-anchor mapping:
...
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"]/sNSSAIList[@sNssai="1000-1012"] | { "templateId": "delete-nssai-from-rtric", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNSSAIList}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-rtric | { "inputParameters": { |
5 | /api/sdnc-config-db/v4/gNBCUCP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUCPFunction[@idGNBCUCPFunction="cucpserver1"]/NRCellCU[@idNRCellCU="15289"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"]/sNSSAIList[@sNssai=01-500004"] | { "templateId": "delete-nssai-from-cucp-plmninfo", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNSSAIList}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-cucp-plmninfo | { "inputParameters": { "idNearRTRIC": "11", "idGNBCUCPFunction":"cucpserver1", "idNRCellCU":"15289", "mcc":"310", "mnc":"410", "sNSSAIList":"01-500004" } } |
6 | /api/sdnc-config-db/v4/gNBCUCP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUCPFunction[@idGNBCUCPFunction="cucpserver1"]/NRCellCU[@idNRCellCU="15289"]/attributes/RRMPolicyRatio[@id="55"]/attributes/rRMPolicyMemberList[@idx="8"] | { "templateId": "delete-nssai-from-cucp-rrmpolicy", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes/rRMPolicyMemberList[@idx='\''{{idx}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-cucp-rrmpolicy | { "inputParameters": { "idNearRTRIC": "11", "idGNBCUCPFunction":"cucpserver1", "idNRCellCU":"15289", "id":"55", "idx":"8" } } |
7 | /api/sdnc-config-db/v4/gNBCUUP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUUPFunction[@idGNBCUUPFunction="1111"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"]/sNSSAIList[@sNssai="01-500004"] | { "templateId": "delete-nssai-from-cuup-plmninfo", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNSSAIList}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-cuup-plmninfo | { "inputParameters": { "idNearRTRIC": "11", "idGNBCUUPFunction":"1111", "mcc":"310", "mnc":"410", "sNSSAIList":"01-500004" } } |
8 | /api/sdnc-config-db/v4/gNBCUUP | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBCUUPFunction[@idGNBCUUPFunction="1111"]/attributes/RRMPolicyRatio[@id="35"]/attributes/rRMPolicyMemberList[@idx="35"] | { "templateId": "delete-nssai-from-cuup-rrmpolicy", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes/rRMPolicyMemberList[@idx='\''{{idx}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-cuup-rrmpolicy | { |
9 | /api/sdnc-config-db/v4/gNBDU | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBDUFunction[@idGNBDUFunction="110"]/NRCellDU[@idNRCellDU="15289"]/attributes/pLMNInfoList[@mcc="310" and @mnc="410"]/sNSSAIList[@sNssai="01-500004"] | { "templateId": "delete-nssai-from-du-plmninfo", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']/sNSSAIList[@sNssai='\''{{sNSSAIList}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-du-plmninfo | { "inputParameters": { "idNearRTRIC": "11", "idGNBDUFunction":"110", "idNRCellDU":"15289", "mcc":"310", "mnc":"410", "sNSSAIList":"01-500004" } } |
10 | /api/sdnc-config-db/v4/gNBDU | /ran-network/NearRTRIC[@idNearRTRIC="11"]/GNBDUFunction[@idGNBDUFunction="110"]/NRCellDU[@idNRCellDU="15289"]/attributes/RRMPolicyRatio[@id="34"]/attributes/rRMPolicyMemberList[@idx="6"] | { "templateId": "delete-nssai-from-du-rrmpolicy", "model": "ran-network", "requestType": "delete-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes/rRMPolicyMemberList[@idx='\''{{idx}}'\'']", "includeDescendants": true } | ran-network | delete-nssai-from-du-rrmpolicy | { "inputParameters": { "idNearRTRIC": "11", "idGNBDUFunction":"110", "idNRCellDU":"15289", "id":"34", "idx":"6" } } |
11 | /api/sdnc-config-db/v4/ranslice-details | /ran-inventory/ran-slices[@rannfnssiid="ac8ca1a9-e1ec-4480-8720-c74e92566885"] | { "templateId": "delete-rannfnssi", "model": "ran-inventory", "requestType": "delete-list-node", "xpathTemplate": "/ran-inventory/ran-slices[@rannfnssiid='\''{{rannfnssiid}}'\'']", "includeDescendants": true } | ran-network | delete-rannfnssi | { "inputParameters": { "rannfnssiid": "4039ce18-7f8f-44d7-9822-6cb6cb7227d4" } } |
12 | /api/sdnc-config-db/v4/ranslice-details//{rannfnssiid}/{sliceProfileId} | /ran-inventory/ran-slices[@rannfnssiid="ac8ca1a9-e1ec-4480-8720-c74e92566885"]/sliceProfilesList[@sliceProfileId="314aab80-1754-446c-bfd9-6aae5b1ae348"] | { "templateId": "delete-slice-profile", "model": "ran-inventory", "requestType": "delete-list-node", "xpathTemplate": "/ran-inventory/ran-slices[@rannfnssiid='\''{{rannfnssiid}}'\'']/sliceProfilesList[@sliceProfileId='\''{{sliceProfileId}}'\'']", "includeDescendants": true } | ran-network | delete-slice-profile | { "sliceProfileId": "e75a8b68-0dee-4a9c-9a61-b0893e03ca45" |
13 | /api/sdnc-config-db/v4/ranslice-details | /ran-inventory/ran-slices[@rannfnssiid="ac8ca1a9-e1ec-4480-8720-c74e92566885"] | { "templateId": "get-ran-slices", "model": "ran-inventory", "requestType": "get", "xpathTemplate": "/ran-inventory/ran-slices[@rannfnssiid='\''{{rannfnssiid}}'\'']", "includeDescendants": true } | ran-network | get-ran-slices | { "inputParameters": { "rannfnssiid": "4039ce18-7f8f-44d7-9822-6cb6cb7227d4" } } |
...