Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.NoConfig DB APITemplateSchemaidJSON Payload




































2.instantiateRANSliceModifyAllocate (Templates and payloads are verified)

S.NoConfig DB APITemplate (Payload to Create Template API)SchemaidJSON 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-networkget-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-internalget-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-networkput-nearrtric

{
"inputParameters":{
"idNearRTRIC":"11",
"mcc":"310",
"mnc":"410"
},
"payload": {
"sNSSAIList":[
{
"sNssai":"1111-00110",
"status":"ACTIVE",
"configData": [
{
"configParameter":"dLThptPerSlice",
"configValue":30
},
{
"configParameter":"uLThptPerSlice",
"configValue":30
},

{
"configParameter":"maxNumberOfConns",
"configValue":200
}
]
}
]
}
}

4/api/sdnc-config-db/v4/gNBCUCP

{
"templateId": "put-nrcellcu",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU

[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']",
"includeDescendants": true
}

ran-networkput-nrcellcu

{
"inputParameters":{
"idNearRTRIC":"11",
"mcc":"310",
"mnc":"410".

"idGNBCUCPFunction":"cucpserver1",

"idNRCellCU":"15289
},
"payload": {
"sNSSAIList":[
{
"sNssai":"1111-00110",
"status":"ACTIVE",
"configData": [
{
"configParameter":"dLThptPerSlice",
"configValue":30
},
{
"configParameter":"uLThptPerSlice",
"configValue":30
},

{
"configParameter":"maxNumberOfConns",
"configValue":200
}
]
}
]
}
}

5/api/sdnc-config-db/v4/gNBCUUP

{
"templateId": "put-gnbcuupfunction",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/attributes/

pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']",
"includeDescendants": true
}

ran-networkput-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

{
"templateId": "put-nrcelldu",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU

[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/pLMNInfoList[@mcc='\''{{mcc}}'\'' and @mnc='\''{{mnc}}'\'']",
"includeDescendants": true
}

ran-networkput-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

'{
"templateId": "put-nrcellcu-rrm-policy",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/NRCellCU

[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']",
"includeDescendants": true
}

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

{
"templateId": "put-cuup-rrm-policy",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/

attributes/RRMPolicyRatio[@id='\''{{id}}'\'']",
"includeDescendants": true
}

ran-networkput-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

{
"templateId": "put-nrcelldu-rrm-policy",
"model": "ran-network",
"requestType": "patch",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU

[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']",
"includeDescendants": true
}

ran-networkput-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-inventoryupdate-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/
cell-list/{trackingArea}/ran-coverage-area/pLMNIdList[mcc={{mcc}}][mnc={{mnc}}]/coverage-area[coverageArea={{coverageArea}}]/coverageAreaTAList[nRTAC={{nRTAC}}]cps-cavsta-onap-internalget-cells-list{
"inputParameters": {
"mcc": "390",
"mnc": "410",
"coverageArea": "Chennai",
"nRTAC": 101
}
}3/cps-ran-schema/NearRTRIC/cps-ran-schema/NearRTRICcps-ran-schema-modelput-nearrtric{
"payload": {
"NearRTRIC": [
/rrmPolicy/{resourceType}/{resourceId}

{
"templateId": "get-nrcellcu-rrm-policy",
"model": "ran-network",
"requestType": "get",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/

NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']",
"includeDescendants": true
}

ran-networkget-nrcellcu-rrm-policy{
"inputParameters":{
"idNearRTRIC":
"
11
"
,
"
attributes
idGNBCUCPFunction":
{
"cucpserver1",
"
ranNFNSSIIdList
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
}
]
}
]
}
]
}
}
]
}

}

45/api/sdnc-config-db/v4/gNBCUUP/cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunctioncps-ran-schema-modelput-gnbcuupfunction
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-networkget-cuup-rrm-policy{
"inputParameters":{
"idNearRTRIC": 11,
"idGNBCUUPFunction": 1111
}
}
13/api/sdnc-config-db/v4/
gNBCUCP/cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUCPFunctioncps-ran-schema-modelput-gnbcucpfunction{
"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}

{
"templateId": "get-nrcelldu-rrm-policy",
"model": "ran-network",
"requestType": "get",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/

NRCellDU[@idNRCellDU='\''{{idNRCellDU}}'\'']",
"includeDescendants": true
}

ran-networkget-nrcelldu-rrm-policy{
"inputParameters":{
"idNearRTRIC": 11,
"idGNBDUFunction": 110,
"idNRCellDU": 15826
}
}
14update NRCellCU RRM Policy member

{
"templateId": "put-nrcelldu-rrm-policy-member",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBDUFunction[@idGNBDUFunction='\''{{idGNBDUFunction}}'\'']/NRCellDU

[@idNRCellDU='\''{{idNRCellDU}}'\'']/attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes",
"includeDescendants": true
}

ran-networkput-nrcelldu-rrm-policy-member{
"inputParameters":{
"idNearRTRIC":"11"

}
,
"
payload
id":
{
"GNBCUUPFunction": [
{
"idGNBCUUPFunction": "2222
"34",
"
attributes
idGNBDUFunction":
{
"gNBId": 98763
"gNBCUUPId":2222
110,
"
pLMNInfoList
idNRCellDU":
[
{
"mcc":"310"
15289
},
"
mnc
payload":
"410",
{
"
sNSSAIList
rRMPolicyMemberList":[
{
"
sNssai
idx":
"001-00110"
57,
"
status
mcc":"
ACTIVE
310",
"
configData
mnc":
[
{
"
configParameter
410"
:maxNumberOfConns
,
"
configValue
sNSSAI":
300
"1000-10001"
}
]
}
]
}
]
}
}
]
}
}6/api/sdnc-config-db/v4/gNBDU/cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunctionput-gnbdufunctionput-gnbdufunction{
"inputParameters":{
"idNearRTRIC": "11"
},
"payload":{
"GNBCUCPFunction": [
{
"idGNBCUCPFunction": "110",
"attributes": {
"gNBDUId": 110,
"gNBIdLength": 32,
"gNBId": 98763
},
"NRCellCU": [
{
"idNRCellCU": "15826",
"attributes": {
"cellLocalId": 15826
"pLMNInfoList":[
{
15update CUUP RRM Policy member

{
"templateId": "put-cuup-rrm-policy-member",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUUPFunction[@idGNBCUUPFunction='\''{{idGNBCUUPFunction}}'\'']/

attributes/RRMPolicyRatio[@id='\''{{id}}'\'']/attributes",
"includeDescendants": true
}

ran-networkput-cuup-rrm-policy-member{
"inputParameters":{
"idNearRTRIC":"11",
"id":"35",
"idGNBCUUPFunction":1111
},
"payload": {
"rRMPolicyMemberList":[
{
"idx":57,
"mcc":"310",
"mnc":"410",
"
sNSSAIList
sNSSAI":
[
"1000-100011"
}
]
}
}
16update NRCellDU RRM Policy member

{
"

sNssai

templateId": "

001-00110",
"status":"ACTIVE

put-nrcellcu-rrm-policy-member",
"

configData

model":

[
{
"configParameter":dLThptPerSlice

"ran-network",
"

configValue

requestType":

40
},
{
"configParameter":uLThptPerSlice

"post-list-node",
"

configValue":40
}
]
}
]
}
]
}
}
]
}
]
}
}7/api/sdnc-config-db/v4/rrmPolicy/cps-ran-schema

xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/GNBCUCPFunction[@idGNBCUCPFunction='\''{{idGNBCUCPFunction}}'\'']/

NRCellCU[@idNRCellCU='\''{{idNRCellCU}}'\'']/attributes/RRMPolicyRatio

cps-ran-schema-model put-nrcellcu-rrm-policy8/api/sdnc-config-db/v4/rrmPolicy/cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBCUUPFunction[@idGNBCUUPFunction={{idGNBCUUPFunction}}]/attributes/RRMPolicyRatiocps-ran-schema-modelput-cuup-rrm-policy9/api/sdnc-config-db/v4/rrmPolicy/cps-ran-schema/NearRTRIC[@idNearRTRIC={{idNearRTRIC}}]/GNBDUFunction[@idGNBDUFunction=[[idGNBDUFunction}}]/NRCellDU[@idNRCellDU={{idNRCellDU}}]/attributes/RRMPolicyRatiocps-ran-schema-modelput-nrcelldu-rrm-policy10/api/sdnc-config-db/v4/ranslice-details/ran-inventory/ran-slicescps-ran-inventoryupdate-ran-inventory{
"payload":{
"ran-slices":[
{
"rannfnssiid":"3f2f23fa-c567-4dd8-8f15-f95ae3e6fd82",
"sliceProfilesList":[

[@id='\''{{id}}'\'']/attributes",
"includeDescendants": true
}

ran-networkput-nrcellcu-rrm-policy-member{
"inputParameters":{
"idNearRTRIC":"11",
"id":"55",
"idGNBCUCPFunction":"cucpserver1",
"idNRCellCU":15289
},
"payload": {
"rRMPolicyMemberList":[
{
"idx":57,
"mcc":"310",
"mnc":"410",
"sNSSAI":"1000-1000"
}
]
}
}
17add new Slice Profile under NearRTRIC{
"templateId": "add-slice-profile",
"model": "ran-network",
"requestType": "post-list-node",
"xpathTemplate": "/ran-network/NearRTRIC[@idNearRTRIC='\''{{idNearRTRIC}}'\'']/attributes"
}
ran-networkadd-slice-profile{
"inputParameters":{
"idNearRTRIC":"11"
},
"payload": {
"sliceProfilesList":[{
"sliceProfileId": "
878f32c0
12212dsda-
3699
9bf1-
4dbd
461e-
95a3
8ab0-
1f01d6c763fd
b4644d166cd2",
"
dLThptPerSlice": 25,
"uLThptPerSlice
sNSSAI":
30,
"maxNumberofConns":3000
"01-1111001",
"
sNSSAI
resourceSharingLevel": "
001-010000
shared",
"
pLMNIdList
uLThptPerSlice":
[
1600000,
{
"
mcc
maxNumberofConns":
"310"
12000,
"
mnc
latency":
"410"
}
]
}
]
5,
"
subnetStatus
maxNumberofUEs":
"ACTIVE"
200,
"
sliceType
dLThptPerSlice":
"eMBB"
1920000
}
]
}
}






3.activateRANSliceInstance

...