...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "action": "allocate", "payload": "{ \"input\": "CommonHeader{ \"sliceProfile\": { "TimeStamp": "2018-11-30T09:13:37.368Z", "APIver": "1.0", "RequestID": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "SubRequestID": "1", "RequestTrack": {}, "Flags": {} }, "Action": "allocate”, "payload": "{ \"input\": { \"sliceProfile\": { \"sliceProfileId\": \"1002\", \"sNSSAI\": \"100-10000\", \"maxNumberofUEs\": 20000, \"latency\": 10, \"uLThptPerSlice\": 3000, \"dLThptPerSlice\": 3000, \"maxNumberofConns\": 4000, \"coverageAreaList\": [\"Lavelle\"], \"uEMobilityLevel\": \"\", \"resourceSharingLevel\": \"\", \"pLMNIdList\": [\"310-410\"] }, \"RANNSSIId\": \"\", \"RANNFNSSIId\": \"\", \"callbackURL\": \"\", \"additionalproperties\": { } } }" } }, \"sliceProfileId\": \"1002\", \"sNSSAI\": \"2002\", \"maxNumberofUEs\": 20000, \"latency\": 10, \"uLThptPerSlice\": 3000, \"dLThptPerSlice\": 3000, \"maxNumberofConns\": 4000, \"coverageAreaList\": [\"Kingston\"], \"uEMobilityLevel\": \"\", \"resourceSharingLevel\": \"\", \"pLMNIdList\": [\"310-410\"] }, \"RANNSSIId\": \"\", \"RANNFNSSIId\": \"\", \"callbackURL\": \"\", \"additionalproperties\": { } } }", "common-header": { "timestamp": "2020-09-30T09:13:37.368Z", "api-ver": "1.0", "originator-id": "testing", "request-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "sub-request-id": "", "flags": { "mode": "EXCLUSIVE", "force": "TRUE", "ttl": "0" } } } }, "version": "1.0", "rpc-name": "instantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } |
RAN NF NSSI Modification
Requests available for below actions:
- modify-allocate
- modify-deallocate
- closed loop
- intelligent slicing
Code Block | ||||
---|---|---|---|---|
| ||||
modify-allocate { "body": { "input": { "action": "modify-allocate", "versionpayload": "1.0", "rpc-name": " InstantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } |
RAN NF NSSI Modification
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "CommonHeader": { "TimeStamp": "2018-11-30T09:13:37.368Z", "APIver": "1.0", "RequestID": "{\"input\":{\"sliceProfile\":{\"sliceProfileId\":\"b594-e98r-c7f2-ij78\",\"sNSSAI\":\"101-10000\",\"maxNumberofUEs\": 5000, \"uLThptPerSlice\":3000,\"dLThptPerSlice\":3000,\"maxNumberofConns\":4000},\"RANNFNSSIId\":\"ab9af40f13f721b5f13539d87484098\",\"callbackURL\":\"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/AsyncSdnrResponse/9d2d790e-a5f0-11e8-98d0-529269fb1459\", "SubRequestID": "1", "RequestTrack": {}, "Flags": {} }, "Action": "modify-allocate,modify-deallocate,reconfigure", "Payload": "{\"input\":{\"sliceProfile\":{\"sliceProfileId\":\"\",\"sNSSAI\":\"001-100001\",\"maxNumberofUEs\": 5000, \"uLThptPerSlice\":3000,\"dLThptPerSlice\":3000,\"maxNumberofConns\":4000},\"RANNFNSSIId\":\"\",\"callbackURL\":\"\",\"globalCustomerId\":\"5GCustomer\",\"serviceType\":\"5G\",\"additionalproperties\":{\"resourceConfig\":{}}}}" } }, \"globalSubscriberId\":\"5GCustomer\",\"subscriptionServiceType\":\"5G\",\"additionalproperties\":{\"resourceConfig\":{}}}}", "common-header": { "timestamp": "2020-09-30T09:13:37.368Z", "api-ver": "1.0", "originator-id": "testing", "request-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "sub-request-id": "", "flags": { "mode": "EXCLUSIVE", "force": "TRUE", "ttl": "0" } } } }, "version": "1.0", "rpc-name": " InstantiateRANSlice instantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } where, resourceConfig: Closed Loop: modify-deallocate { "1body": { "dLThptPerSliceinput":50, { "uLThptPerSliceaction":40 }, "2":{"modify-deallocate", "dLThptPerSlicepayload":50, "uLThptPerSlice":30 } } Intelligent Slicing: { "snssai":"0001-0111", "data":[ { "gNBCUName":"cucpName", "nearRTRICId":"NearRTRIC1", "cellCUList":[ "{\"input\":{\"sliceProfile\":{\"sliceProfileId\":\"b594-e98r-c7f2-ij78\",\"sNSSAI\":\"001-100001\",\"maxNumberofUEs\": 5000, \"uLThptPerSlice\":3000,\"dLThptPerSlice\":3000,\"maxNumberofConns\":4000},\"RANNFNSSIId\":\"ab9af40f13f721b5f13539d87484098\",\"callbackURL\":\"\",\"globalSubscriberId\":\"5GCustomer\",\"subscriptionServiceType\":\"5G\",\"additionalproperties\":{\"resourceConfig\":{}}}}", "common-header": { "cellLocalId":111timestamp": "2020-09-30T09:13:37.368Z", "configDataapi-ver":{ "1.0", "maxNumberofConnsoriginator-id": "20testing", "predictedMaxNumberofConnsrequest-id":"25 "9d2d790e-a5f0-11e8-98d0-529269fb1459", "lastUpdatedTSsub-request-id":"yyyy/MM/dd HH:mm:ss" "", } "flags": { }, "mode": "EXCLUSIVE", {"force": "TRUE", "ttl": "0" } } } }, "version": "1.0", "rpc-name": "instantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } Closed Loop { "body": { "input": { "action": "reconfigure", "payload": "{ \"input\": { \"sliceProfile\": { \"sliceProfileId\": \"b594-e98r-c7f2-ij78\", \"sNSSAI\": \"100-10000\" }, \"RANNFNSSIId\": \"\", \"callbackURL\": \"http:\/\/so-bpmn-infra.onap:8081\/mso\/WorkflowMessage\/AsyncSdnrResponse\/9d2d790e-a5f0-11e8-98d0-529269fb1459\", \"additionalproperties\": { \"resourceConfig\": { \"data\": [{ \"nearRTRICId\": \"11\", \"dLThptPerSlice\": 50, \"uLThptPerSlice\": 40 }, { \"nearRTRICId\": \"22\", \"dLThptPerSlice\": 50, \"uLThptPerSlice\": 30 } ] } } } }", "common-header": { "timestamp": "2020-09-30T09:13:37.368Z", "api-ver": "1.0", "originator-id": "testing", "request-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "sub-request-id": "", "flags": { "mode": "EXCLUSIVE", "force": "TRUE", "ttl": "0" } } } }, "version": "1.0", "rpc-name": "instantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } Intelligent Slicing { "body": { "input": { "action": "reconfigure", "payload": "{ \"input\": { \"sliceProfile\": { \"sliceProfileId\": \"b594-e98r-c7f2-ij78\" }, \"RANNFNSSIId\": \"\", \"callbackURL\": \"http:\/\/so-bpmn-infra.onap:8081\/mso\/WorkflowMessage\/AsyncSdnrResponse\/9d2d790e-a5f0-11e8-98d0-529269fb1459\", \"additionalproperties\": { \"resourceConfig\": { \"snssai\": \"cellLocalId":112, "configData":{ "maxNumberofConns":"20", "predictedMaxNumberofConns":"25", "lastUpdatedTS":"yyyy/MM0001-0111\", \"data\": [{ \"gNBCUName\": \"cucpName\", \"nearRTRICId\": \"NearRTRIC1\", \"cellCUList\": [{ \"cellLocalId\": 111, \"configData\": { \"maxNumberofConns\": \"20\", \"predictedMaxNumberofConns\": \"25\", \"lastUpdatedTS\": \"yyyy\/MM\/dd HH:mm:ss\" } } ] }, { "gNBCUName":"cucpName2", "nearRTRICId":"NearRTRIC2", "cellCUList":[ { "cellLocalId":113, "configData":{ "maxNumberofConns":"20", "predictedMaxNumberofConns":"25", "lastUpdatedTS":"yyyy/MM} }, { \"cellLocalId\": 112, \"configData\": { \"maxNumberofConns\": \"20\", \"predictedMaxNumberofConns\": \"25\", \"lastUpdatedTS\": \"yyyy\/MM\/dd HH:mm:ss\" } } ] }, { \"gNBCUName\": \"cucpName2\", \"nearRTRICId\": \"NearRTRIC2\", \"cellCUList\": [{ \"cellLocalId\": 113, \"configData\": { \"maxNumberofConns\": \"20\", \"predictedMaxNumberofConns\": \"25\", \"lastUpdatedTS\": \"yyyy\/MM\/dd HH:mm:ss\" } }, { \"cellLocalId\": 114, \"configData\": { \"maxNumberofConns\": \"20\", \"predictedMaxNumberofConns\": \"25\", \"lastUpdatedTS\": \"yyyy\/MM\/dd HH:mm:ss\" } } } }, { "cellLocalId":114, "configData":{ "maxNumberofConns":"20", "predictedMaxNumberofConns":"25", "lastUpdatedTS":"yyyy/MM/dd HH:mm:ss" } } ] } ] } ] } ] } } } }", "common-header": { "timestamp": "2020-09-30T09:13:37.368Z", "api-ver": "1.0", "originator-id": "testing", "request-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "sub-request-id": "", "flags": { "mode": "EXCLUSIVE", "force": "TRUE", "ttl": "0" } } } }, "version": "1.0", "rpc-name": "instantiateRANSlice", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } |
RAN NF NSSI Termination
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "CommonHeader": { "TimeStamp": "2018-11-30T09:13:37.368Z", "APIver": "1.0", "RequestID": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "SubRequestID": "1", "RequestTrack": {}, "Flags": {} }, "Action": " deallocate ", "Payload": "{\"input\":{\"RANNFNSSIId\":\"79f2ce09-3de3-44cb-aa05-cae0cbe8f778\",\"callbackURL\":\"\",\"sNSSAI\":\"001-100001\",\"sliceProfileId\":\"4b7c3c8f-eb79-401a-b40b-290d74f5b189\",\"additionalproperties\":{}}}" } }, "version": "1.0", "rpc-name": "terminateRANSliceInstance", "correlation-id": "9d2d790e-a5f0-11e8-98d0-529269fb1459-1", "type": "request" } |
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "Action "action": "activate", "Payload "payload": "{\"input\":{\"sliceProfileId\":\"4b7c3c8f-eb79-401a-b40b-290d74f5b1891002\",\"RANNFNSSIId\":\"79f2ce09ccb2f161-3de3f1a7-44cb4f9e-aa05aa2b-cae0cbe8f7789e2965e3c8a0\",\"callbackURL\":\"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/SDNRActivateResponse/ecf745ab-167d-49b3-8f62-8218f2e6eb8a\",\"sNSSAI\":\"001101-10000110000\"}}", "CommonHeader": { "TimeStamp "common-header": { "timestamp": "20212020-0209-24T1130T09:2713:3337.033368Z", "APIver": "1.0", "RequestID" "api-ver": "1.0", "request-id": "ecf745ab-167d-49b3-8f62-8218f2e6eb8a", "SubRequestID "sub-request-id": "1" } } }, } } }, "version": "1.0", "rpc-name": "activateRANSliceactivateRANSliceInstance", "correlation-id": "ecf745ab-167d-49b3-8f62-8218f2e6eb8a", "type": "request" } |
RAN NF NSSI Deactivation
...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "CommonHeader": { "TimeStamp": "2018-11-30T09:13:37.368Z", "APIver": "1.0", "RequestID": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "SubRequestID": "1", "RequestTrack": {}, "Flags": {} }, "Action": "deactivate ", "Payload": "{\"input\":{\"RANNFNSSIId\":\"\",\"sNSSAI\":\"001-100001\",\"sliceProfileId\":\"\",\"callbackURL\":\"\",\"additionalproperties\":{}}}" } }, { "body": { "input": { "action": "deactivate", "payload": "{\"input\":{\"sliceProfileId\":\"1002\",\"RANNFNSSIId\":\"ccb2f161-f1a7-4f9e-aa2b-9e2965e3c8a0\",\"callbackURL\":\"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/SDNRActivateResponse/ecf745ab-167d-49b3-8f62-8218f2e6eb8a\",\"sNSSAI\":\"101-10000\"}}", "common-header": { "timestamp": "2020-09-30T09:13:37.368Z", "api-ver": "1.0", "request-id": "ecf745ab-167d-49b3-8f62-8218f2e6eb8a", "sub-request-id": "1" } } }, "version": "1.0", "rpc-name": "deactivateRANSliceInstanceactivateRANSliceInstance", "correlation-id": "9d2d790eecf745ab-a5f0167d-11e849b3-98d08f62-529269fb1459-18218f2e6eb8a", "type": "request" } |
Callback :
...
response to SO is sent through REST API.Callback:
EndPoint URL: Comes in SO request
...
DMaap Consumer – RPC Mapping
Scenarios | Action in DMaap message | RPC to invoke |
ConfigureNSSI | allocate, modify-allocate, modify-deallocate, reconfigure | instantiateRANSlice |
terminateNSSI | terminate | terminateRANSliceInstance |
activateNSSI | activate | activateRANSliceInstance |
deactivateNSSI | deactivate |
activateRANSliceInstance |
RPCs Supported
- configureNearRTRIC
- configureCU
- configureDU
- configureRANSliceInstance
- instantiateRANSlice
- terminateRANSliceInstance
- determineRANSliceResources - Not covered in G-release
- activateRANSliceInstance
- deactivateRANSliceInstance - As this RPC repeats most of the actions of activateRANSliceInstance, it is clubbed with activateRANSliceInstance
- CMNotify - Not covered in G-release
RPCs 1,2,3, & 4 are grouped and implemented as a single RPC 'instantiateRANSlice'.
...
RPCs in detail
1. InstantiateRANSlice
This RPC,
...
c) Updates Slice details in Config DB
Request: Dmaap payload as string
Actions supported: allocate, modify-allocate, modify-deallocate, reconfigure
allocate - new RAN SliceRAN Slice created across RAN manged elements covered in the Tracking Area (TA) in the DMAAP request. Managed elements for TA is obtained from ConfigDB.
modify-allocate - sharing existing RAN slice for a new sNSSAI
modify-deallocate - sNSSAI is removed from the existing RAN Slice when the RAN Slice is shared among more than one sNSSAI and itit cannot be terminated. terminateRANSliceInstance RPC is used to cannot be terminatedhandle this action.
reconfigure - indicates closed loop or intelligent slicing. It is differentiated, based on the resourceConfig received in the Dmaap payload.
2. ActivateRANSliceActivateRANSliceInstance
a) Update the RAN resources status as ‘activated’. This is needed to enable the traffic flow
b) Currently, the status of sNSSAI is set to ÁCTIVE
c) Config DB will be updated
Action : activate
3. DeactivateRANSlice flow
ab) Update the RAN resources status as ‘INACTIVE’. Currently, the status of sNSSAI is set to INÁCTIVE. This is needed to stop the traffic flow'ÁCTIVE' for activate, 'INACTIVE' for deactivate
bc) Config DB will be updated
Request: Dmaap payload as string
ActionAction : activate, deactivate
4. TerminateRANSliceTerminateRANSliceInstance
a) Deallocate resources for a slice subnet instance
...
c) Remove RAN slice from Config DB
Request: Dmaap payload as string
Action: terminate
Config DB updates
RPC | Entities to update |
instantiateRANSlice | NearRTRIC, GNBDUFunction, NRCellDU, RRMPolicy, GNBCUCPFunction, GNBCUUPFunction, NRCellCU, RANSliceInventory, SliceProfile |
terminateRANSlice | NearRTRIC, GNBDUFunction, NRCellDU, RRMPolicy, GNBCUCPFunction, GNBCUUPFunction, NRCellCU, RANSliceInventory, SliceProfile |
Refer Config DB for schema details.