Add location to power feeds #8676

Closed
opened 2025-12-29 20:39:45 +01:00 by adam · 4 comments
Owner

Originally created by @dreng on GitHub (Sep 26, 2023).

NetBox version

v3.6.2

Feature type

Data model extension

Proposed functionality

I propose to add a field "location" to power feeds.

Use case

Since power feeds are physical devices in a physical environment, it is a logical consequence to relate them to a location (like devices, power panels, racks etc).

Database changes

New foreign key field is needed for the power feed model.

External dependencies

No response

Originally created by @dreng on GitHub (Sep 26, 2023). ### NetBox version v3.6.2 ### Feature type Data model extension ### Proposed functionality I propose to add a field "location" to power feeds. ### Use case Since power feeds are physical devices in a physical environment, it is a logical consequence to relate them to a location (like devices, power panels, racks etc). ### Database changes New foreign key field is needed for the power feed model. ### External dependencies _No response_
adam added the type: featurepending closure labels 2025-12-29 20:39:45 +01:00
adam closed this issue 2025-12-29 20:39:45 +01:00
Author
Owner

@cpmills1975 commented on GitHub (Sep 27, 2023):

PowerFeeds can already be located in a rack. I guess it makes sense that a feed could exist outside of a rack, but if in a rack, the location is presumably derivable from that?

If a rack is defined, the location should be unset in order to prevent issues if a rack location is updated. But if no rack is defined, perhaps the feed could reference a location?

@cpmills1975 commented on GitHub (Sep 27, 2023): PowerFeeds can already be located in a rack. I guess it makes sense that a feed could exist outside of a rack, but if in a rack, the location is presumably derivable from that? If a rack is defined, the location should be unset in order to prevent issues if a rack location is updated. But if no rack is defined, perhaps the feed could reference a location?
Author
Owner

@dreng commented on GitHub (Sep 28, 2023):

PowerFeeds can already be located in a rack. I guess it makes sense that a feed could exist outside of a rack, but if in a rack, the location is presumably derivable from that?

If a rack is defined, the location should be unset in order to prevent issues if a rack location is updated. But if no rack is defined, perhaps the feed could reference a location?

This is a very common scenario, e.g. with devices. So this is just a copy/paste of an already implemented idea.

@dreng commented on GitHub (Sep 28, 2023): > PowerFeeds can already be located in a rack. I guess it makes sense that a feed could exist outside of a rack, but if in a rack, the location is presumably derivable from that? > > If a rack is defined, the location should be unset in order to prevent issues if a rack location is updated. But if no rack is defined, perhaps the feed could reference a location? This is a very common scenario, e.g. with devices. So this is just a copy/paste of an already implemented idea.
Author
Owner

@github-actions[bot] commented on GitHub (Dec 28, 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 (Dec 28, 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

@github-actions[bot] commented on GitHub (Jan 27, 2024):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jan 27, 2024): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8676