Assign devices to rack from rack view #7372

Closed
opened 2025-12-29 20:22:34 +01:00 by adam · 5 comments
Owner

Originally created by @fabi125 on GitHub (Dec 16, 2022).

NetBox version

v3.4.0

Feature type

New functionality

Proposed functionality

Allow racking an existing device from the rack view (in addition to being able to create a new device via that flow).

This can easily be achieved when modelling after the "Assign existing IP address to interface" flow. I'll put up a PR for it shortly.

Use case

This makes it a lot easier to rack existing devices when doing rack work.

Database changes

n/a

External dependencies

n/a

Originally created by @fabi125 on GitHub (Dec 16, 2022). ### NetBox version v3.4.0 ### Feature type New functionality ### Proposed functionality Allow racking an existing device from the rack view (in addition to being able to create a new device via that flow). This can easily be achieved when modelling after the "Assign existing IP address to interface" flow. I'll put up a PR for it shortly. ### Use case This makes it a lot easier to rack existing devices when doing rack work. ### Database changes n/a ### External dependencies n/a
adam added the type: featurepending closurestatus: under review labels 2025-12-29 20:22:34 +01:00
adam closed this issue 2025-12-29 20:22:34 +01:00
Author
Owner

@jeremystretch commented on GitHub (Dec 16, 2022):

This functionality was originally proposed in #1830, though it was determined at the time that the development effort required would not be worthwhile.

This can easily be achieved when modelling after the "Assign existing IP address to interface" flow.

This workflow unfortunately is a snowflake, and needs to be rearchitected to function in a scalable manner. We want to avoid replicating it prior to that because it would only generate additional future work. (FYI this is why we ask contributors to wait for an FR to be accepted before beginning work on a PR.)

@jeremystretch commented on GitHub (Dec 16, 2022): This functionality was originally proposed in #1830, though it was determined at the time that the development effort required would not be worthwhile. > This can easily be achieved when modelling after the "Assign existing IP address to interface" flow. This workflow unfortunately is a snowflake, and needs to be rearchitected to function in a scalable manner. We want to avoid replicating it prior to that because it would only generate additional future work. (FYI this is why we ask contributors to wait for an FR to be accepted before beginning work on a PR.)
Author
Owner

@fabi125 commented on GitHub (Dec 16, 2022):

I saw the comment in #1830, which is also why I added a PR to this, to show that the development effort (at least when duplicating the assign ip workflow) is minimal.

Do you have any pointers how that workflow could be rearchitected so we can add this?

@fabi125 commented on GitHub (Dec 16, 2022): I saw the comment in #1830, which is also why I added a PR to this, to show that the development effort (at least when duplicating the assign ip workflow) is minimal. Do you have any pointers how that workflow could be rearchitected so we can add this?
Author
Owner

@github-actions[bot] commented on GitHub (Feb 15, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Feb 15, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@fabi125 commented on GitHub (Feb 15, 2023):

It looks like there has been repeated requests for this feature. We are happy to contribute code here if someone could give us some pointers on how you would like this workflow for this and "assign existing ip to interface" to look like.

@fabi125 commented on GitHub (Feb 15, 2023): It looks like there has been repeated requests for this feature. We are happy to contribute code here if someone could give us some pointers on how you would like this workflow for this and "assign existing ip to interface" to look like.
Author
Owner

@jeremystretch commented on GitHub (Mar 17, 2023):

Closing this for inactivity. @fabi125 I encourage you to explore how we're leveraging HTMX in recent NetBox releases, which may provide some guidance for devising a feasible workflow. Happy to re-open this if you can come up with something.

@jeremystretch commented on GitHub (Mar 17, 2023): Closing this for inactivity. @fabi125 I encourage you to explore how we're leveraging HTMX in recent NetBox releases, which may provide some guidance for devising a feasible workflow. Happy to re-open this if you can come up with something.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7372