openBackhaul / AccessPlanningToolProxy

Interface towards the AutomatedLinkAcceptanceProxy implementation in LinkVis
Apache License 2.0
2 stars 2 forks source link

Clarification required in the regular expression for link-id #234

Open PrathibaJee opened 2 weeks ago

PrathibaJee commented 2 weeks ago

For the link-id , the regular expression pattern is ^\d{3}55\d{4}$ As per my understanding , this means \d{3} matches [0-9] exactly 3 times 55 matches the characters 55 literally (case sensitive) \d{4} matches a digit (equivalent to [0-9]) means , [3 digits]55[4 digits]

For example , the following link ids will be accepted , 123559876 123556544 but the following will not be , 123129876 123346544

Kindly please let me know whether the link ids have this restriction because of which we have this "55" hardcoded. (Asking this to understand whether I’m unaware of something)

on a side note , this pattern of link-id makes a tight coupling and in future there is a change in the link-id format , then APTP application have to be updated accordingly

openBackhaul commented 1 week ago

In my opinion, this restriction is reliable. The pattern ^\d{3}55\d{4}$ is valid for PDH/Ethernet microwave links since more than 20 years. Potentially, Ana to verify with Axel Lauer or Frank Timpert after her return.