Details

    • Type: Bug Bug
    • Status: Rejected Rejected (View Workflow)
    • Priority: Normal Normal
    • Resolution: Not Fixed
    • Affects Version/s: UCMDB 4.0.0.0
    • Fix Version/s: None
    • Component/s: SRD
    • Labels:
    • Customer:
      OMAN-Tel
    • Product:
      NEP

      Description

      Review SRD API getFreePort

      <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.internal.api.srd.nep.mobinets.com/">
      <soapenv:Header/>
      <soapenv:Body>
      <ser:getFreePort>
      <!-Optional:->
      <neType>MSAN</neType>
      <!-Optional:->
      <neObjectId>ROS2_03_PVMD</neObjectId>
      <!-Optional:->
      <bandwidth>100</bandwidth>
      </ser:getFreePort>
      </soapenv:Body>
      </soapenv:Envelope>

        Activity

        Hide
        Ayed Bada added a comment -

        To get a non-null result from SRD, the neType should be either "Router" or "ONT".

        If it is "Router", SRD reads data from SRD_ROUTER_VIEW.
        Otherwise (for "ONT"), it reads from SRD_BONT_VIEW.

        Please check the attached screenshot from my local environment.

        Show
        Ayed Bada added a comment - To get a non-null result from SRD, the neType should be either "Router" or "ONT". If it is "Router", SRD reads data from SRD_ROUTER_VIEW. Otherwise (for "ONT"), it reads from SRD_BONT_VIEW. Please check the attached screenshot from my local environment.
        Hide
        Mbaye Lo added a comment -

        Please provide a sample in Omantel platforms 179 and 84

        Show
        Mbaye Lo added a comment - Please provide a sample in Omantel platforms 179 and 84
        Hide
        Zein Trabelsi added a comment -

        What it does:
        Returns the first available free port on a network element that has capacity >= requested bandwidth.

        How to construct the request:
        • neType : use "Router" or "ONT" (MSAN is not supported)
        • neObjectId : pick any Router/ONT Object ID from SRD Reporting or NEP Reporting
        • bandwidth : required capacity (example 100)

        Show
        Zein Trabelsi added a comment - What it does: Returns the first available free port on a network element that has capacity >= requested bandwidth. How to construct the request: • neType : use "Router" or "ONT" (MSAN is not supported) • neObjectId : pick any Router/ONT Object ID from SRD Reporting or NEP Reporting • bandwidth : required capacity (example 100)
        Hide
        Mbaye Lo added a comment -

        The test is successful, but there is some performance issue :

        0.5s versus 1.8s

        Show
        Mbaye Lo added a comment - The test is successful, but there is some performance issue : 0.5s versus 1.8s
        Hide
        Mbaye Lo added a comment -

        Reopends as there is some performance issue

        Show
        Mbaye Lo added a comment - Reopends as there is some performance issue
        Hide
        Zein Trabelsi added a comment -

        Find attached ss from client server where cloud performance is better , and find below the request :
        <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.internal.api.srd.nep.mobinets.com/">
        <soapenv:Header/>
        <soapenv:Body>
        <ser:getFreePort>
        <!-Optional:->
        <neType>router</neType>
        <!-Optional:->
        <neObjectId>10.240.0.46</neObjectId>
        <!-Optional:->
        <bandwidth>100</bandwidth>
        </ser:getFreePort>
        </soapenv:Body>
        </soapenv:Envelope>

        Show
        Zein Trabelsi added a comment - Find attached ss from client server where cloud performance is better , and find below the request : <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://server.internal.api.srd.nep.mobinets.com/"> <soapenv:Header/> <soapenv:Body> <ser:getFreePort> <!- Optional: -> <neType>router</neType> <!- Optional: -> <neObjectId>10.240.0.46</neObjectId> <!- Optional: -> <bandwidth>100</bandwidth> </ser:getFreePort> </soapenv:Body> </soapenv:Envelope>

          People

          • Assignee:
            Mbaye Lo
            Reporter:
            Mbaye Lo
            Rejected By:
            Zein Trabelsi
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Due:
              Created:
              Updated:
              Resolved:
              Planned Start:
              Planned End:

              Drag and Drop