...
Info |
---|
|
eNB | gNB | Notes |
---|
PUT /v1/nodeb/enb/<RAN_NAME> is triggered
| PUT /v1/nodeb/gnb/<RAN_NAME> is triggered
| → Request body is validated |
Execute GetNodeb with RAN name coming from the request | → If we have a DB error or if it doesn't exist → error | Execute RemoveServedCells to remove the existing eNB cells | Execute RemoveServedNrCells to remove the existing gNB cells |
| Set the nodeb with the request's data |
| Execute UpdateEnb | Execute UpdateGnbCells | → Set cells in both Cell ID key & PCI key → Set nodeb in both RAN ID key & RAN NAME key → Execute sdl.SetAndPublish , sending the RAN_MANIPULATION channel and the <RAN_NAME>_UPDATED event. | Return with NodebInfo response. |
|
|
PUT /v1/nodeb/enb/<RAN_NAME> | PUT /v1/nodeb/gnb/<RAN_NAME> |
Code Block |
---|
| {
"enb": {
"enbType": "",
"servedCells": [{}],
"guGroupIds": [""]
}
} |
|
Code Block |
---|
| {
"servedNrCells": [
{
"servedNrCellInformation": {},
"nrNeighbourInfos": [{}]
}
]
} |
|
UpdateNodebHandler
Image Removed
Image Added
Sequence Diagram
Image Removed
Image Added
View file |
---|
name | Update eNB & Update gNB REST APIs.txt |
---|
height | 150 |
---|
|
Delete eNB REST API
Info |
---|
|
DELETE /v1/nodeb/enb/<RAN_NAME> is triggered.- Execute
GetNodeb with RAN name coming from the request.- If we have a DB error or if it doesn't exist → error
- If nodeb is of type gNB → error
- Execute
RemoveEnb - Remove cells from both Cell ID key & PCI key (call RemoveServedCells)
- Remove nodeb from both RAN ID key & RAN NAME key
- Remove nbIdentity
- Execute sdl.SetAndPublish(data,"RAN_MANIPULATION", "<RAN_NAME>_DELETED")
- Return
Status |
---|
| |
---|
colour | Green |
---|
title | 204 No Content |
---|
| response.
|
...
Code Block |
---|
title | DeleteEnbRequestHandler |
---|
|
type DeleteEnbRequestHandler struct {
logger *logger.Logger
rnibDataService services.RNibDataService
} |
Sequence Diagram
Image Removed
Image Added