-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "site" column to power feed list #13743
Comments
I just realized I can acheive this with a Custom Link, so that's a workaround for now. If anyone else needs this, just import the following Custom Link using this YAML in the bulk importer: ---
name: Site
content_types: dcim.powerfeed
weight: 1000
button_class: ghost-dark
link_text: '{{ object.rack.site.name }}'
link_url: '{{ object.rack.site.url }}'
enabled: true Once the Custom Link is created, it can then be used as a field in the table view (which is essentialy what the FR here is asking for.) The downside to this is that you'll get an extra link on the power feed view to the site, but... I guess that might be considered useful? Anyway, I still think it should be in Netbox from the start but given it's easy enough to customize Netbox and get the same result this probably doesn't need to be prioritized. |
NetBox version
v3.6.1
Feature type
Change to existing functionality
Proposed functionality
I propose adding "Site" as a selectable column for the power feed view. The power feed model doesn't directly have a "Site" field, so the "Site" column would be populated from the associated Rack.
Use case
When looking at a list of power feeds, it's helpful to, at a glance, know what site the power feed belongs to. This is especially useful if you have duplicate rack names across sites.
Database changes
None.
External dependencies
None.
The text was updated successfully, but these errors were encountered: