[ACE-721] Review SRD API getFreePort Created: 10/Mar/26  Updated: 29/May/26  Due: 10/Mar/26  Resolved: 26/May/26

Status: Rejected
Project: ACE
Component/s: SRD
Affects Version/s: UCMDB 4.0.0.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Mbaye Lo Assignee: Mbaye Lo
Resolution: Not Fixed Votes: 0
Labels: Milestone2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File ACE-721.PNG     PNG File Untitled.png    
Customer:
OMAN-Tel
Planned Start:
Planned End:
Product: NEP
Rejected By: Zein Trabelsi

 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>



 Comments   
Comment by Ayed Bada [ 30/Mar/26 ]

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.

Comment by Mbaye Lo [ 11/May/26 ]

Please provide a sample in Omantel platforms 179 and 84

Comment by Zein Trabelsi [ 15/May/26 ]

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)

Comment by Mbaye Lo [ 26/May/26 ]

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

0.5s versus 1.8s

Comment by Mbaye Lo [ 26/May/26 ]

Reopends as there is some performance issue

Comment by Zein Trabelsi [ 29/May/26 ]

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>

Generated at Mon Jun 15 14:32:59 EEST 2026 using JIRA 6.1.4#6159-sha1:44eaedef2e4a625c6c7183698b2468d4719c20dc.