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
New matching case for related devices UI #1180
Comments
The current approach of looking for devices with similar names was a "good enough" hack for when it was implemented. It should really be replaced with something more robust, but I don't have anything in mind. |
Coincidentally I ran across the python built in |
It's one way to go. We'd have to pull in the names from all devices from the database and then do the matching in Python, but that might not be too bad if we limit it to devices assigned to the same site. |
|
…ed devices when viewing a device
Issue type: feature request
There was some discussion on the networktocode slack the other day about how related devices are correlated. I know @jeremystretch mentioned wanting revisit this in a larger fashion but I was wondering if you would be open to adding one more case for matching in the mean time.
This stems from the way I am currently representing switch stacks in netbox. Each member of the stack is named like so:
Access-Stack-1F--RE-N1
. In this scheme,Access-Stack-1F
is the name of the stack and this node's role isRE
and it is node 1 in the stack. This is denoted after the delimiter--
.I really like the related devices feature but it obviously cannot match all members of a stack in this case when we factor in multiple roles (RE, LC, etc). Would it be possible to add a case to match anything up to a delimiter of
--
?The text was updated successfully, but these errors were encountered: