nautobot-app-ssot icon indicating copy to clipboard operation
nautobot-app-ssot copied to clipboard

Move custom tags to advanced tab and include them using `template_content.py`

Open qduk opened this issue 1 year ago • 0 comments

Environment

  • Nautobot version: 1.6.2 and 2.0.3
  • nautobot-ssot version: 1.6.0 and 2.0.1

Proposed Functionality

I propose we move custom tags generated by signals.py to the advanced tab and use template_content.py to show the tags based on a given resource based on some attribute rather than show the custom tags on all devices. A concrete example would be for the Arista integration. We could only include the custom fields generated from that integration if the manufacturer of the device is Arista

Use Case

Currently, when I install SSoT and include the Arista integration, I get a number of custom fields that show up on all devices regardless of if they are Arista manufactured or not. I'd like a way to remove those custom fields from the device detail page if they don't apply.

qduk avatar Nov 07 '23 16:11 qduk