TBDMT Reference: API Mapper Service
CPS API Analyse: CPS APIs
Templates Needed
1. instantiateRANSliceAllocate
...
2.instantiateRANSliceModifyAllocate
...
TBDMT Reference: CPS-TBDMT Service
CPS API Analyse: CPS APIs
Templates Needed
1. instantiateRANSliceAllocate
S.No | Config DB API | Template | Schema | id | JSON Payload |
---|---|---|---|---|---|
2.instantiateRANSliceModifyAllocate (Templates and payloads are verified)
S.No | Config DB API | Template (Payload to Create Template API) | Schema | id | JSON Payload |
---|---|---|---|---|---|
1. | api/sdnc-config-db/v4/nearrtric/{ranNFNSSIId} | { "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": "ac8ca1a9-e1ec-4480-8720-c74e92566885" } } |
2 | /api/sdnc-config-db/v4/cell-list/{trackingArea} | { "templateId": "get-cells-list", "model": "ran-coverage-area", "requestType": "query-cps-path", "xpathTemplate": "//coverageAreaTAList[@nRTAC={{nRTAC}}]", "includeDescendants": true }' | cps-cavsta-onap-internal | get-cells-list | { "inputParameters": { "nRTAC":101 } } |
3 | /api/sdnc-config-db/v4/nearRTRIC | { "templateId": "put-nearrtric", "model": "ran-network", "requestType": "post-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", "includeDescendants": true } | ran-network | put-nearrtric | { { |
4 | /api/sdnc-config-db/v4/gNBCUCP | { [@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", | ran-network | put-nrcellcu | { "idGNBCUCPFunction":"cucpserver1", "idNRCellCU":"15289 { |
5 | /api/sdnc-config-db/v4/gNBCUUP | { pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", | ran-network | put-gnbcuupfunction | { "inputParameters":{ "idNearRTRIC":"11", "mcc":"310", "mnc":"410", "idGNBCUUPFunction":1111 }, "payload": { "sNSSAIList":[ { "sNssai":"1000-100111", "status":"ACTIVE", "configData": [ { "configParameter":"maxNumberOfConns", "configValue":200 } ] } ] } } |
6 | /api/sdnc-config-db/v4/gNBDU | { [@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']", | ran-network | put-nrcelldu | { "inputParameters":{ "idNearRTRIC":"11", "mcc":"310", "mnc":"410", "idGNBDUFunction":110, "idNRCellDU":15289 }, "payload": { "sNSSAIList":[ { "sNssai":"1000-100111", "status":"ACTIVE", "configData": [ { "configParameter":"dLThptPerSlice", "configValue":30 }, { "configParameter":"uLThptPerSlice", "configValue":30 } ] } ] } } |
7 | /api/sdnc-config-db/v4/rrmPolicy | '{ [@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']", | ran-network | put-nrcellcu-rrm-policy | { "inputParameters":{ "idNearRTRIC":"11", "id":"55", "idGNBCUCPFunction":"cucpserver1", "idNRCellCU":15289 }, "payload": { "attributes":{ "rRMPolicyMaxRatio":13, "rRMPolicyMinRatio":13, "rRMPolicyDedicatedRatio":13 } } } |
8 | /api/sdnc-config-db/v4/rrmPolicy | { attributes/RRMPolicyRatio[@id='\''{{id}}'\'']", | ran-network | put-cuup-rrm-policy | { "inputParameters":{ "idNearRTRIC":"11", "id":"35", "idGNBCUUPFunction":1111 }, "payload": { "attributes":{ "rRMPolicyMaxRatio":13, "rRMPolicyMinRatio":13, "rRMPolicyDedicatedRatio":13 } } } |
9 | /api/sdnc-config-db/v4/rrmPolicy | { [@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']", | ran-network | put-nrcelldu-rrm-policy | { "inputParameters":{ "idNearRTRIC":"11", "id":"34", "idGNBDUFunction":110, "idNRCellDU":15289 }, "payload": { "attributes":{ "rRMPolicyMaxRatio":13, "rRMPolicyMinRatio":13, "rRMPolicyDedicatedRatio":13 } } } |
10 | /api/sdnc-config-db/v4/ranslice-details | { "templateId": "update-ran-inventory", "model": "ran-inventory", "requestType": "post-list-node", "xpathTemplate": "/ran-inventory/ran-slices[@rannfnssiid='\''{{rannfnssiid}}'\'']", "includeDescendants": true } | cps-ran-inventory | update-ran-inventory | { "inputParameters":{ "rannfnssiid":"566036bf-8941-473c-be9c-e9962af05b99" }, "payload": { "sliceProfilesList": [ { "sliceProfileId": "111dd8-ae51-4acf-8073-c00000", "sNSSAI": "001-11000", "maxNumberofUEs": 300, "latency": 5, "uLThptPerSlice": 40, "dLThptPerSlice": 50, "maxNumberofConns": 500, "uEMobilityLevel": "FULLY MOBILITY", "coverageAreaList": ["Washington"], "resourceSharingLevel": "Shareable", "pLMNIdList": [ { "mcc": "310", "mnc": "410" } ] } ] } } |
11 | /api/sdnc-config-db/v4/ |
"inputParameters": {
"mcc": "390",
"mnc": "410",
"coverageArea": "Chennai",
"nRTAC": 101
}
}
"payload": {
"NearRTRIC": [
/rrmPolicy/{resourceType}/{resourceId} | { NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']", | ran-network | get-nrcellcu-rrm-policy | { "inputParameters":{ "idNearRTRIC": |
11 |
, " |
idGNBCUCPFunction": |
"cucpserver1", " |
idNRCellCU": |
"ac8ca1a9-e1ec-4480-8720-c74e92566885"
],
"pLMNInfoList":[
{
"mcc":"310",
"mnc":"410",
"sNSSAIList":[
{
"sNssai":"001-00110",
"status":"ACTIVE",
"configData": [
{
"configParameter":dLThptPerSlice,
"configValue":40
},
{
"configParameter":uLThptPerSlice,
"configValue":40
},
{
"configParameter":maxNumberOfConns,
"configValue":300
}
]
}
]
}
]
}
}
]
}
}
15826 } } | |||||
12 | /api/sdnc-config-db/v4//rrmPolicy/{resourceType}/{resourceId} | { "templateId": "get-cuup-rrm-policy", "model": "ran-network", "requestType": "get", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']", "includeDescendants": true } | ran-network | get-cuup-rrm-policy | { "inputParameters":{ "idNearRTRIC": 11, "idGNBCUUPFunction": 1111 } } |
13 | /api/sdnc-config-db/v4/ |
"inputParameters":{
"idNearRTRIC": "11"
},
"payload":{
"GNBCUCPFunction": [
{
"idGNBCUCPFunction": "cucpserver1",
"attributes": {
"gNBCUName": "cucpserver1",
"gNBIdLength": 32,
"gNBId": 98763
},
"NRCellCU": [
{
"idNRCellCU": "15826",
"attributes": {
"cellLocalId": 15826
"pLMNInfoList":[
{
"mcc":"310",
"mnc":"410",
"sNSSAIList":[
{
"sNssai":"001-00110",
"status":"ACTIVE",
"configData": [
{
"configParameter":maxNumberOfConns,
"configValue":300
}
]
}
]
}
]
}
}
]
}
]
}
}
/rrmPolicy/{resourceType}/{resourceId} | { NRCellDU[@idNRCellDU='\''{{idNRCellDU}}'\'']", | ran-network | get-nrcelldu-rrm-policy | { "inputParameters":{ "idNearRTRIC": 11, "idGNBDUFunction": 110, "idNRCellDU": 15826 } } | |
14 | update NRCellCU RRM Policy member | { [@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes", | ran-network | put-nrcelldu-rrm-policy-member | { "inputParameters":{ "idNearRTRIC":"11" |
}
, " |
id": |
"GNBCUUPFunction": [
{
"idGNBCUUPFunction": "2222
"34", " |
idGNBDUFunction": |
"gNBId": 98763
"gNBCUUPId":2222
110, " |
idNRCellDU": |
{
"mcc":"310"
15289 }, " |
payload": |
{ " |
rRMPolicyMemberList":[ { " |
idx": |
57, " |
mcc":" |
310", " |
mnc": |
{
" |
410" |
, " |
sNSSAI": |
"1000-10001" } ] } |
} |
}
}
]
}
}
"inputParameters":{
"idNearRTRIC": "11"
},
"payload":{
"GNBCUCPFunction": [
{
"idGNBCUCPFunction": "110",
"attributes": {
"gNBDUId": 110,
"gNBIdLength": 32,
"gNBId": 98763
},
"NRCellCU": [
{
"idNRCellCU": "15826",
"attributes": {
"cellLocalId": 15826
"pLMNInfoList":[
{
15 | update CUUP RRM Policy member | { attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes", | ran-network | put-cuup-rrm-policy-member | { "inputParameters":{ "idNearRTRIC":"11", "id":"35", "idGNBCUUPFunction":1111 }, "payload": { "rRMPolicyMemberList":[ { "idx":57, "mcc":"310", "mnc":"410", " |
sNSSAI": |
"1000-100011" } ] } } | ||
16 | update NRCellDU RRM Policy member | { |
templateId": " |
"status":"ACTIVE
put-nrcellcu-rrm-policy-member", |
model": |
{
"configParameter":dLThptPerSlice
"ran-network", |
requestType": |
},
{
"configParameter":uLThptPerSlice
"post-list-node", |
}
]
}
]
}
]
}
}
]
}
]
}
}
xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/ NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/RRMPolicyRatio |
"payload":{
"ran-slices":[
{
"rannfnssiid":"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd82",
"sliceProfilesList":[
[@id='\''{{id}}'\'']/attributes", | ran-network | put-nrcellcu-rrm-policy-member | { "inputParameters":{ "idNearRTRIC":"11", "id":"55", "idGNBCUCPFunction":"cucpserver1", "idNRCellCU":15289 }, "payload": { "rRMPolicyMemberList":[ { "idx":57, "mcc":"310", "mnc":"410", "sNSSAI":"1000-1000" } ] } } | ||
17 | add new Slice Profile under NearRTRIC | { "templateId": "add-slice-profile", "model": "ran-network", "requestType": "post-list-node", "xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes" } | ran-network | add-slice-profile | { "inputParameters":{ "idNearRTRIC":"11" }, "payload": { "sliceProfilesList":[{ "sliceProfileId": " |
12212dsda- |
9bf1- |
461e- |
8ab0- |
b4644d166cd2", " |
"uLThptPerSlice
sNSSAI": |
"maxNumberofConns":3000
"01-1111001", " |
resourceSharingLevel": " |
shared", " |
uLThptPerSlice": |
1600000, |
" |
maxNumberofConns": |
12000, " |
latency": |
}
]
}
]
5, " |
maxNumberofUEs": |
200, " |
dLThptPerSlice": |
1920000 } ] } } | |||||
3.activateRANSliceInstance
...