How to get a parent prefix for the ip address using netbox API?

337 views
Skip to first unread message

Blez Pascal

unread,
Nov 24, 2017, 7:09:14 AM11/24/17
to NetBox
Hello.
Who knows how to get the closest parent prefix for an IP address using API?

Thanks.
ближайший
G
M
T
ближайший
Звуковая функция ограничена 200 символами

Jeremy Stretch

unread,
Nov 27, 2017, 11:20:40 AM11/27/17
to Blez Pascal, NetBox
I don't think there's a way to do that. I suppose we could add a "containing" filter to the prefixes endpoint. Want to open a feature request?

Jeremy

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/123331e4-737d-44ae-af11-9496c5543ef7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Blez Pascal

unread,
Nov 28, 2017, 4:24:53 AM11/28/17
to NetBox
I opened a feature request: https://github.com/digitalocean/netbox/issues/1737
Thank you.


понедельник, 27 ноября 2017 г., 19:20:40 UTC+3 пользователь Jeremy Stretch написал:
I don't think there's a way to do that. I suppose we could add a "containing" filter to the prefixes endpoint. Want to open a feature request?

Jeremy
On Fri, Nov 24, 2017 at 7:09 AM, Blez Pascal <pro...@gmail.com> wrote:
Hello.
Who knows how to get the closest parent prefix for an IP address using API?

Thanks.
ближайший
G
M
T
ближайший
Звуковая функция ограничена 200 символами

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages