openbmp icon indicating copy to clipboard operation
openbmp copied to clipboard

Allow more specific searching

Open kruisdraad opened this issue 6 years ago • 1 comments

You are not required to know the exact prefix when searching. However if you don't know the exact CIDR but an IP, you'd like to have the GUI/API return the most specific CIDR related to the IP given. Would that be possible? Or am i overlooking an feature

kruisdraad avatar Mar 07 '18 10:03 kruisdraad

Hi,

I'm not sure, but are you looking for this resource (/lookup/{IP}) on the API? Check details here... https://github.com/OpenBMP/db_rest/blob/master/src/main/java/org/openbmp/db_rest/resources/Rib.java#L724

FYI... it's also posible to do it by peer

3fr61n avatar May 30 '18 13:05 3fr61n