Additional "Primary IP" assignment option for OOBM/IDRAC/ILO etc #6302

Closed
opened 2025-12-29 19:39:06 +01:00 by adam · 8 comments
Owner

Originally created by @ITJamie on GitHub (Apr 6, 2022).

NetBox version

v3.2.0

Feature type

New functionality

Proposed functionality

UI Changes:

  • Create another checkbox for marking an IP as OOBM(Out Of Band Management)/ILO/DRAC/OPENBMC etc (specific term to be chosen). to the assignment view / edit ip view / edit device view

Config:

  • maybe an option in the configuration.py to define if "Primary" ip is OS or is OOBM.

Models:
devices / ipam- additional "primary" ip assignment. lets call this the secondary management ip for now

Use case

Servers (and some newer switches) generally have two types of management.

  • BMC/OOBM/ILO/DRAC/OPENBMC - for directly managing the hardware health, installing new os's etc
  • OS Management IP - the primary ip to connect to the OS / OS Mgmt context

Right now we have to assign one or the other as the "primary" ip.
It would be really useful to have a "secondary" option to allow folks to decide on which suits them more.
For Dedi/Server rental companies the primary would probably be the DRAC/OOBM.
For ISP's / Networking orgs it would probably be the OS Mgmt ip.

Example of newer networking gear coming with drac/ilo style oob mgmt (openbmc): https://www.edge-core.com/productsInfo.php?cls=1&cls2=5&cls3=181&id=334

Database changes

No response

External dependencies

No response

Originally created by @ITJamie on GitHub (Apr 6, 2022). ### NetBox version v3.2.0 ### Feature type New functionality ### Proposed functionality UI Changes: - Create another checkbox for marking an IP as OOBM(Out Of Band Management)/ILO/DRAC/OPENBMC etc (specific term to be chosen). to the assignment view / edit ip view / edit device view Config: - maybe an option in the configuration.py to define if "Primary" ip is OS or is OOBM. Models: devices / ipam- additional "primary" ip assignment. lets call this the secondary management ip for now ### Use case Servers (and some newer switches) generally have two types of management. - BMC/OOBM/ILO/DRAC/OPENBMC - for directly managing the hardware health, installing new os's etc - OS Management IP - the primary ip to connect to the OS / OS Mgmt context Right now we have to assign one or the other as the "primary" ip. It would be really useful to have a "secondary" option to allow folks to decide on which suits them more. For Dedi/Server rental companies the primary would probably be the DRAC/OOBM. For ISP's / Networking orgs it would probably be the OS Mgmt ip. Example of newer networking gear coming with drac/ilo style oob mgmt (openbmc): https://www.edge-core.com/productsInfo.php?cls=1&cls2=5&cls3=181&id=334 ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: duplicate labels 2025-12-29 19:39:06 +01:00
adam closed this issue 2025-12-29 19:39:07 +01:00
Author
Owner

@gleeblezoid commented on GitHub (Apr 6, 2022):

This would be super useful and seems like a really elegant small change.

@gleeblezoid commented on GitHub (Apr 6, 2022): This would be super useful and seems like a really elegant small change.
Author
Owner

@corriganalan commented on GitHub (Apr 6, 2022):

This would be great, putting more important info on the front device page.

@corriganalan commented on GitHub (Apr 6, 2022): This would be great, putting more important info on the front device page.
Author
Owner

@martinum4 commented on GitHub (Apr 6, 2022):

https://github.com/netbox-community/netbox/issues/8864 this was already proposed, see my comments there on how to do it with custom links.
You could also work with Tags or services instead, if you want.

@martinum4 commented on GitHub (Apr 6, 2022): https://github.com/netbox-community/netbox/issues/8864 this was already proposed, see my comments there on how to do it with custom links. You could also work with Tags or services instead, if you want.
Author
Owner

@gifnotgif commented on GitHub (Apr 6, 2022):

Yes Please! This would be a fantastic QoL improvement.

@gifnotgif commented on GitHub (Apr 6, 2022): Yes Please! This would be a fantastic QoL improvement.
Author
Owner

@jeremystretch commented on GitHub (Apr 6, 2022):

As noted under #8864, whether an IP address has been designated for our-of-band management depends on the interface to which it has been assigned. NetBox provides the option to designate an interface as a management interface via the mgmt_only boolean: Any IPs assigned to management interfaces can be considered management IPs.

It sounds like you want what has already been proposed under #8137, which would add to the device and VM models a new field designating a particular IP address for out-of-band management.

@jeremystretch commented on GitHub (Apr 6, 2022): As noted under #8864, whether an IP address has been designated for our-of-band management depends on the interface to which it has been assigned. NetBox provides the option to designate an interface as a management interface via the `mgmt_only` boolean: Any IPs assigned to management interfaces can be considered management IPs. It sounds like you want what has already been proposed under #8137, which would add to the device and VM models a new field designating a particular IP address for out-of-band management.
Author
Owner

@ITJamie commented on GitHub (Apr 6, 2022):

That makes sense. Right now internally our teams are split on which is the correct primary ip to assign. The oob ip or the os management ip.
I personally view that the current primary ip is the os mgmt ip and that an oob would be another.

While a computed custom field or link could be a way to work around this. It does feel a bit hacky vs extending the model to account for a pretty common usecase.

Tangent: It would be interesting to be able to attach different "services" to the primary ip vs the oobm ip.

@ITJamie commented on GitHub (Apr 6, 2022): That makes sense. Right now internally our teams are split on which is the correct primary ip to assign. The oob ip or the os management ip. I personally view that the current primary ip is the os mgmt ip and that an oob would be another. While a computed custom field or link could be a way to work around this. It does feel a bit hacky vs extending the model to account for a pretty common usecase. Tangent: It would be interesting to be able to attach different "services" to the primary ip vs the oobm ip.
Author
Owner

@DanSheps commented on GitHub (Apr 6, 2022):

Duplicate of #8137

@DanSheps commented on GitHub (Apr 6, 2022): Duplicate of #8137
Author
Owner

@DanSheps commented on GitHub (Apr 6, 2022):

We should keep all discussion under #8137. I am going to close this out as a duplicate.

@DanSheps commented on GitHub (Apr 6, 2022): We should keep all discussion under #8137. I am going to close this out as a duplicate.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6302