...
Code Block | ||||
---|---|---|---|---|
| ||||
{ "body": { "input": { "CommonHeader": { "TimeStamp "action": "2018-11-30T09:13:37.368Zdeactivate", "APIver "payload": "1.0", "RequestID": "9d2d790e-a5f0-11e8-98d0-529269fb1459", "SubRequestID": "1", "RequestTrack": {}, "Flags": {} }, "Action": "deactivate ", "Payload": "{\"input\":{\"RANNFNSSIId\":\"\",\"sNSSAI\":\"001-100001\",\"sliceProfileId\":\"\",\"callbackURL\":\"\",\"additionalproperties\":{}}}" } }, {\"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
...
Scenarios | Action in DMaap message | RPC to invoke |
ConfigureNSSI | allocate, modify-allocate, modify-deallocate, reconfigure | instantiateRANSlice |
terminateNSSI | terminate | terminateRANSliceInstance |
activateNSSI | activate | activateRANSliceInstance |
deactivateNSSI | deactivate | deactivateRANSliceInstance 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,
...
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' for activate, 'INACTIVE' for deactivate
c) Config DB will be updated
Request: Dmaap payload as string
Action : activate
3. DeactivateRANSlice
a) Update the RAN resources status as ‘INACTIVE’. status of sNSSAI is set to INÁCTIVE. This is needed to stop the traffic flow
b) Config DB will be updated
Action: , deactivate
4. TerminateRANSliceTerminateRANSliceInstance
a) Deallocate resources for a slice subnet instance
...