XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Cherry-R5
    • None
    • e2mgr
    • None

      Requirements

      See the R4 AID - https://wiki.o-ran-sc.org/pages/viewpage.action?pageId=20874584

      • Check that the Mandatory fields exist - RAN Name, RAN ID (Both PLMN & ID), in the ENB Node Object and in each of the Served Cells array (this array is mandatory also) - otherwise 400 Bad Request with 402 error
      • Check that RAN doesn't exist - otherwise 400 Bad Request with 406 error (New Error)
      • Note that we enlarge the Cell Object with Additional Cell Information. all are optional.
      • If fail RNIB - 500 with 500 error
      • Also Insert into the Cell "Table" the Cells - take care to fill all tables as we received X2 Setup Request + Response 
      • We will put Disconnect in the Connection Status w/out sending SDL Notification.
      • Add new SDL Notification "Channel"  (RAN NAME + action. In this case,. Action = Added)  (different then the one for Connection Status Channel).
      • RAN ID Points also on RAN Object
      • If succeed - 201 Created with the same response as Get NodeB.
      • In this occasion - Fix the Query RNIB (and the response of Get NodeB REST) =  By RAN Name, By RAN ID, by Cell ID, maybe other query.  

       

       

      Test Plan

       

      Given When Then
      RAN name is missing in request body
      OR
      globalNbId is missing in request body
      OR
      enb is missing in request body
      OR
      enbType is missing in enb field in request body
      POST /v1/nodeb/enb received  400 Bad Request
       
      {"errorCode": 402, "errorMessage": "Validation error"}

       
       
       

      DB is down POST /v1/nodeb/enb received with a valid request body (all mandatory fields exist)  500 Internal Server Error
       
      {"errorCode": 500, "errorMessage": "RNIB error"}

       
       

      RAN name from request already exists in DB  POST /v1/nodeb/enb received with a valid request body   400 Bad Request
       
      {"errorCode": 406, "errorMessage": "Node already exists"}
       RAN doesn't exist in DB  POST /v1/nodeb/enb received with a valid request body  201 Created 
      NodebInfo{}
      • All RAN / cells keys are populated in DB
      • SetAndPublish is called with RAN_MANIPULATION channel and <RAN_NAME>_ADDED event
         

       

        # Subject Branch Project Status CR V

            avinoambernstein Avinoam Bernstein
            avinoambernstein Avinoam Bernstein
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 week, 1 day, 2 hours
                1w 1d 2h