IPAddresses from IPRange filter #588
jscmenezes
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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