-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
RICP_T1 Sprint C.P3
Requirements
After US 571 creates the RAN
Rest API
- Insert eNB – take care that new Field in the NodeB – Setup from NW = False.
- Insert eNB – reject if antenna-type = ng-enB-macro, ng-enB-shortmacro , ng-enB-longmacro
- Delete eNB – if Setup from NW =True – Reject with 400 and 402
- Update eNB - if Setup from NW = True – ignore the eNB type from REST (REST can’t change enb-type that it doesn’t create)
- Update eNB – reject if antenna-type in RNIB = ng-enB-macro, ng-enB-shortmacro , ng-enB-longmacro - Reject with 400 and 402
- Add the new fields GNB-type, Setup from NW – in the Query RNIB and in Get NodeB Response
Acceptance
- See Insert eNB, when create a new RAN, signed as Setup from NW =False
- See Insert eNB, when create a new RAN, can’t create a en-gnb* family.
- See Update eNB, can’t update any one from a en-gnb* family.
- See Update eNB, don’t influence on antenna-type when Setup from NW =True.
- See Delete eNB, is rejected when Setup from NW =True (400 with 402)
Test Plan
Note: Changes to RAN name key are not taken into consideration in this test plan- only setupFromNW & antennaType
Given | When | Then |
---|---|---|
AddEnb REST API is triggered for RAN test Antenna Type is of eNB |
HTTP 201 nodebInfo.setupFromNW = false |
|
AddEnb REST API is triggered for RAN test Antenna Type is one of ng-eNB |
HTTP 400, statusCode 402 | |
RAN test2 setupFromNw = true |
DeleteEnb REST API is triggered for RAN test2 | HTTP 400, statusCode 402 |
RAN test3 RAN's Antenna Type is one of ng-eNB |
UpdateEnb REST API is triggered for RAN test3 | HTTP 400, statusCode 402 |
RAN test4 setupFromNw = true RAN's Antenna Type is of eNB |
UpdateEnb REST API is triggered for RAN test4 AntennaType is different then the one the RAN has |
HTTP 200 AntennaType stays the same |
RAN test5 setupFromNw = false RAN's Antenna Type is of eNB |
UpdateEnb REST API is triggered for RAN test5 AntennaType is different then the one the RAN has |
HTTP 200 AntennaType is changed |
1.
|
Modify AddEnb flow | Done | Unassigned | |
2.
|
Modify UpdateEnb flow | Done | Unassigned | |
3.
|
Modify DeleteEnb flow | Done | Unassigned | |
4.
|
Add / Adjust UTs | Done | Unassigned | |
5.
|
Automation | Done | Unassigned |
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
4505,1 | [RIC-584] - Validate setup from network and antenna type in ENB REST APIs | master | ric-plt/e2mgr | Status: MERGED | +2 | +1 |
4507,1 | [RIC-587, RIC-584] Add Automation for RIC-587 | Add UTs for RIC-584 | master | ric-plt/e2mgr | Status: ABANDONED | 0 | 0 |
4508,1 | [RIC-587, RIC-584] Add Automation for RIC-587 | Add UTs for RIC-584 | master | ric-plt/e2mgr | Status: MERGED | +2 | +1 |
4520,2 | [RIC-584] reject update enb when enb type is one of ng types | master | ric-plt/e2mgr | Status: MERGED | +2 | +1 |
4522,2 | [RIC-584] - increase timeout in keepalive test | master | ric-plt/e2mgr | Status: MERGED | +2 | +1 |
4523,1 | [RIC-584] - Improve logging when enb type in add enb request is not valid | master | ric-plt/e2mgr | Status: MERGED | +2 | +1 |