IPAddresses from IPRange filter #13890
Unanswered
jscmenezes
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Is there a filter to get all IPAddresses from an IPRange?
Ex.:
nb_range4 = netbox.ipam.ip_ranges.get(start_address='192.168.1.1/32', end_address='192.168.1.13/32')
I tried:
nb_range4_ips = netbox.ipam.ip_addresses.filter(contained__in = nb_range4)
nb_range4_ips = netbox.ipam.ip_addresses.filter(parent = nb_range4)
nb_range4_ips = netbox.ipam.ip_addresses.filter(within = nb_range4)
But no success.
Is there a way to filter IPAddresses inside an IPRange?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions