mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Add "add IP range" button to prefix IP ranges view
This commit is contained in:
@@ -488,6 +488,7 @@ class PrefixIPRangesView(generic.ObjectChildrenView):
|
||||
return {
|
||||
'bulk_querystring': f"vrf_id={instance.vrf.pk if instance.vrf else '0'}&parent={instance.prefix}",
|
||||
'active_tab': 'ip-ranges',
|
||||
'first_available_ip': instance.get_first_available_ip(),
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user