-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Description
NetBox version
v4.4.2
Feature type
Change to existing functionality
Proposed functionality (Edited)
I would like to be able to select which attribute is returned when matching an object with custom fields. Currently when I match on a VLAN object the name attribute is returned with the VID in parentheses behind it. I would love to have the option to return only the VID without including the name.
Use case
I have a handful of custom fields that I use to match on multiple VLANs. We have a number of circuits that utilize multiple VLANs and in order to track those I have created a custom field utilizing the "Object" type in order to link existing VLANs to the circuit. Our VLAN naming structure is longer than the simple VLAN ID and for ease of display and reporting purposes it would be ideal to display only the VID for some of these purposes.
Another use potential use case: In circuit terminations I can select a Site for one of my termination points, this returns the Site name. I would love to be able to also return the site address without having to drill down into the linked object.
Database changes
I do not believe that any database schema changes would be necessary for this, but admittedly I do not have strong database skills.
External dependencies
No response