Checkbox to assign OOB on IP address creation #10419

Closed
opened 2025-12-29 21:31:12 +01:00 by adam · 3 comments
Owner

Originally created by @remchuk on GitHub (Oct 29, 2024).

Originally assigned to: @pl0xym0r on GitHub.

NetBox version

v3.6.6

Feature type

New functionality

Triage priority

N/A

Proposed functionality

This is a duplicate of #14594.

I propose adding a checkbox labeled "Make this the Out-of-band IP for a device, just as we have with "Make this the Primary IP"

Use case

It a small change in favor of QoL.
This will save us a lot of time and double work.
I allows a much better work with bulk editing when it comes to a lot of IP Addresses.

Database changes

No response

External dependencies

No response

Originally created by @remchuk on GitHub (Oct 29, 2024). Originally assigned to: @pl0xym0r on GitHub. ### NetBox version v3.6.6 ### Feature type New functionality ### Triage priority N/A ### Proposed functionality This is a duplicate of [#14594](https://github.com/netbox-community/netbox/discussions/14594). I propose adding a checkbox labeled "Make this the Out-of-band IP for a device, just as we have with "Make this the Primary IP" ### Use case It a small change in favor of QoL. This will save us a lot of time and double work. I allows a much better work with bulk editing when it comes to a lot of IP Addresses. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: featurenetboxcomplexity: low labels 2025-12-29 21:31:12 +01:00
adam closed this issue 2025-12-29 21:31:13 +01:00
Author
Owner

@bctiemann commented on GitHub (Oct 31, 2024):

I agree this seems like a good addition, though I would note that the "make primary IP" checkbox isn't a simple BooleanField; it triggers a code path of creating a primary_ip4 and/or primary_ip6 relation to the IPAddress when saving the Interface. It would need to be changed on VMInterface as well (probably handled in the BaseInterface class).

I'll mark it as "low complexity" since there's a pattern to follow although there are more changes necessary than might meet the eye.

@bctiemann commented on GitHub (Oct 31, 2024): I agree this seems like a good addition, though I would note that the "make primary IP" checkbox isn't a simple BooleanField; it triggers a code path of creating a `primary_ip4` and/or `primary_ip6` relation to the IPAddress when saving the Interface. It would need to be changed on VMInterface as well (probably handled in the `BaseInterface` class). I'll mark it as "low complexity" since there's a pattern to follow although there are more changes necessary than might meet the eye.
Author
Owner

@jeremystretch commented on GitHub (Dec 9, 2024):

@pl0xym0r could you leave a comment here so I can assign this FR to you please?

@jeremystretch commented on GitHub (Dec 9, 2024): @pl0xym0r could you leave a comment here so I can assign this FR to you please?
Author
Owner

@pl0xym0r commented on GitHub (Dec 9, 2024):

fixed by #18057

@pl0xym0r commented on GitHub (Dec 9, 2024): fixed by #18057
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#10419