Skip to content

Conversation

@nkeulen
Copy link
Contributor

@nkeulen nkeulen commented Feb 27, 2021

Fixes: #5703

With this commit behavior of the "+ add new ip address" button and clicking the ".. IPs available" button is now the same (you get to the add IP page where VRF and tenant fields are populated already if the prefix was assigned a VRF or Tenant).

The ".. IPs available" rows of the table overview of IP addresses for a prefix is also fixed (it now displays the VRF of the prefix if it has one instead of incorrectly displaying "Global" and it displays the tenant if the prefix was assigned one).

@DanSheps DanSheps merged commit 18ab114 into netbox-community:develop Mar 1, 2021
jeremystretch added a commit that referenced this pull request Mar 18, 2021
glennmatthews added a commit to nautobot/nautobot that referenced this pull request Jul 14, 2021
glennmatthews added a commit to nautobot/nautobot that referenced this pull request Jul 14, 2021
* When creating a child Prefix, inherit the parent Prefix's VRF/Tenant/etc values.

Port of netbox-community/netbox@d18652f by @jeremystretch

* When creating a child IPAddress from a Prefix, inherit the VRF/Tenant from the parent Prefix.

Port of netbox-community/netbox#5896 by @nkeulen
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Set VRF for available IPs to same VRF as parent prefix

2 participants