Tenant, Tenant Group and VRF not submitted everywhere when adding IP Addresses #9184

Closed
opened 2025-12-29 20:46:44 +01:00 by adam · 1 comment
Owner

Originally created by @hpfried on GitHub (Feb 2, 2024).

Originally assigned to: @jeremystretch on GitHub.

Deployment Type

Self-hosted

NetBox Version

v3.7.1

Python Version

3.10

Steps to Reproduce

  1. Navigate to a prefix

  2. Under the Group Addressing click the Link First available IP
    image
    -> Only the address is submitted

  3. Navigate to a prefix

  4. Navigate to IP Addresses tab

  5. click x IPs available
    image
    -> Only the address and Tenant are submitted

Expected Behavior

When you use the Add IP Address button after navigating to IP Addresses all Values are submitted
image
The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24&vrf=&tenant_group=2&tenant=4&return_url=/ipam/prefixes/196/ip-addresses/

Expected Behavior would be that in all cases the values for vrf, tenant and tenant group are submitted in the same way

Observed Behavior

Tenant, Tenant Group and VRF are not submitted when clicking the first available IP link inside a prefix
image
The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24

Tenant Group and VRF are not submitted when clicking x IPs availabe inside a prefix under IP Addresses
The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24&tenant=13
(Tenant Group will be correctly selected for the Tenant)

Originally created by @hpfried on GitHub (Feb 2, 2024). Originally assigned to: @jeremystretch on GitHub. ### Deployment Type Self-hosted ### NetBox Version v3.7.1 ### Python Version 3.10 ### Steps to Reproduce 1. Navigate to a **prefix** 2. Under the Group **Addressing** click the Link **First available IP** ![image](https://github.com/netbox-community/netbox/assets/103257209/c010b307-5006-474f-b3ac-f1e058134bd3) -> Only the address is submitted 1. Navigate to a **prefix** 2. Navigate to **IP Addresses** tab 3. click **x IPs available** ![image](https://github.com/netbox-community/netbox/assets/103257209/aa690212-c27e-4b22-bb16-25cf766b23ca) -> Only the address and Tenant are submitted ### Expected Behavior When you use the **Add IP Address** button after navigating to **IP Addresses** all Values are submitted ![image](https://github.com/netbox-community/netbox/assets/103257209/da30bab1-00bd-4b05-80aa-f837f63d0c2d) The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24&vrf=&tenant_group=2&tenant=4&return_url=/ipam/prefixes/196/ip-addresses/ Expected Behavior would be that in all cases the values for vrf, tenant and tenant group are submitted in the same way ### Observed Behavior Tenant, Tenant Group and VRF are not submitted when clicking the _first available IP_ link inside a prefix ![image](https://github.com/netbox-community/netbox/assets/103257209/4de8dbb6-f10f-40a9-9747-24ca7ea3b5df) The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24 Tenant Group and VRF are not submitted when clicking _x IPs availabe_ inside a prefix under IP Addresses The generated link is like https://netbox/ipam/ip-addresses/add/?address=10.191.93.2/24&tenant=13 (Tenant Group will be correctly selected for the Tenant)
adam added the type: bugstatus: acceptedseverity: low labels 2025-12-29 20:46:44 +01:00
adam closed this issue 2025-12-29 20:46:44 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 5, 2024):

The prefix's VRF (if any) will be pre-populated. Only the reference to the assigned tenant is missing from the link.

@jeremystretch commented on GitHub (Feb 5, 2024): The prefix's VRF (if any) will be pre-populated. Only the reference to the assigned tenant is missing from the link.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9184