Interface selector for Interface-type Custom Fields? #15095
Unanswered
jof
asked this question in
Help Wanted!
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Netbox community. I am working to model an Internet Exchange (https://sfmix.org/) into Netbox, and we pretty far along our journey.
I am hitting one user experience sticking point that I could use some input from the community on.
We make extensive use of Custom Fields to model data that doesn't mesh well with the built-in models inside of Netbox.
One example of this is mapping of Internet Exchange Participant IP Addresses to the interfaces that participants use to connect to our exchange with.
We have a variety of similar-model switches, which are modeled as Netbox Devices with a set of Interfaces. Since the participant devices are not within our administrative domain, we do not model these as Netbox Devices. And since the IP addresses that we are allocating inside of Netbox are not assigned to our Netbox Device Interfaces (they are assigned on participant routers, connected to our switches), I have defined an additional Netbox Custom Field on IP Addresses of type DCIM/Interface to track which participant Interface is associated with the IP Address we have assigned.
The challenge I am facing is that when there is a Netbox Custom Field of type DCIM/Interface, the selector for the Interface in the Web UI is a bit challenging to use: it only shows a drop-down list of Interface names, but without any information about which Device these Interfaces are associated with.
Since we have many similar-model Switches, it is difficult to properly select the correct interface in the list.
Comparing to the Interface field of IP Address objects, these present a useful modal selector window ("Select Interface") that makes the process far easier.
Would it make sense or be possible to extend Custom Fields of type DCIM/Interface to also use this modal selector window?
For now, I am working around this by manually looking up Interface and IP Address IDs and submitting an HTTP PATCH request with cURL, but it is not the best experience for less-technical members of our team.
Beta Was this translation helpful? Give feedback.
All reactions