Show 'asset_tag' in the rack view #8018

Closed
opened 2025-12-29 20:31:15 +01:00 by adam · 7 comments
Owner

Originally created by @PieterL75 on GitHub (May 8, 2023).

NetBox version

v3.4.10

Feature type

Data model extension

Proposed functionality

Add 'Asset tag' to the dropdown of the 'rack view'
image

Use case

In our datacenter, we only have the assettags labeled on the devices, not the hostnames.
Currently we can see the assettag if we 'hover' over the name of the device, but it would be better to see the asset in the view direct

Database changes

No response

External dependencies

No response

Originally created by @PieterL75 on GitHub (May 8, 2023). ### NetBox version v3.4.10 ### Feature type Data model extension ### Proposed functionality Add 'Asset tag' to the dropdown of the 'rack view' ![image](https://user-images.githubusercontent.com/74899468/236801478-9a921c9a-62ed-4005-96c2-7b54fc623583.png) ### Use case In our datacenter, we only have the assettags labeled on the devices, not the hostnames. Currently we can see the assettag if we 'hover' over the name of the device, but it would be better to see the asset in the view direct ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurepending closurestatus: under review labels 2025-12-29 20:31:15 +01:00
adam closed this issue 2025-12-29 20:31:15 +01:00
Author
Owner

@PieterL75 commented on GitHub (May 12, 2023):

I have a Branch ready that will implement this feature.
https://github.com/PieterL75/netbox/tree/issue12518_addassettagtorackview
can I create a PR for review ?

@PieterL75 commented on GitHub (May 12, 2023): I have a Branch ready that will implement this feature. https://github.com/PieterL75/netbox/tree/issue12518_addassettagtorackview can I create a PR for review ?
Author
Owner

@jeremystretch commented on GitHub (May 12, 2023):

This probably isn't something we can support without the introduction of a customization mechanism for the device label. It wouldn't make sense to add "asset tags" as an alternative directly to the images/labels dropdown.

@jeremystretch commented on GitHub (May 12, 2023): This probably isn't something we can support without the introduction of a customization mechanism for the device label. It wouldn't make sense to add "asset tags" as an alternative directly to the images/labels dropdown.
Author
Owner

@PieterL75 commented on GitHub (May 22, 2023):

The Assettag is the unique physical identifier of an Asset. The little sticker (actually a pretty big one on front and back) that we put on the device, to identify it in the datacenter, without the burden of (changing) naming standards.
Having a RackView with Assettag is pretty logical to me..

The PR I have takes care of that, and provides 2 means of creating that view

  • with the dropdown
  • with an extra parameter "use_assettag=true" to the vsg generating url

That allows us to get that view in automation and in the gui

Pieter

@PieterL75 commented on GitHub (May 22, 2023): The Assettag is the unique physical identifier of an Asset. The little sticker (actually a pretty big one on front and back) that we put on the device, to identify it in the datacenter, without the burden of (changing) naming standards. Having a RackView with Assettag is pretty logical to me.. The PR I have takes care of that, and provides 2 means of creating that view - with the dropdown - with an extra parameter "use_assettag=true" to the vsg generating url That allows us to get that view in automation and in the gui Pieter
Author
Owner

@PieterL75 commented on GitHub (May 30, 2023):

@jeremystretch Shall I submit the PR ? then you can review how it works.
This FR will only add an extra view pane to the racks, nothing more.

@PieterL75 commented on GitHub (May 30, 2023): @jeremystretch Shall I submit the PR ? then you can review how it works. This FR will only add an extra view pane to the racks, nothing more.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 29, 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 (Aug 29, 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 (Sep 28, 2023):

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 (Sep 28, 2023): 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.
Author
Owner

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

Can this be reviewed again ?
I would very much like to see that 'asset_tag' as labels in the view, rather than the 'devicename'
In our datacenters, the physical world works only with 'asset tags' and not with devicenames.

@PieterL75 commented on GitHub (Sep 28, 2023): Can this be reviewed again ? I would very much like to see that 'asset_tag' as labels in the view, rather than the 'devicename' In our datacenters, the physical world works only with 'asset tags' and not with devicenames.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8018