openbmp
openbmp copied to clipboard
Allow more specific searching
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
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