-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Request cable tag field for all connection types #923
Comments
+1, but this is a duplicate... |
My apologies, I did look for this feature request before posting mine but didn't spot any. Must have missed it. |
look at #20 |
This is indeed covered by the mega-feature request of #20, but I'll comment: The reason we don't include a cable label field on a connection is that a connection will likely comprise more than one physical cable. For example, an interface might connect to a patch panel, which connects to another patch panel, and finally to the peer interface. We want to ensure that we can support this model in the future, so we omit the concept of labeling for now to avoid future confusion. |
Hi @jeremystretch, I understand, but a first "simple" solution would be to allow the naming of connections, without consideration for "patch panels". |
Unfortunately, today's "simple" solution inevitably becomes tomorrow's technical debt. If cable labeling is a must-have feature for you, NetBox simply isn't the right solution (yet).
There are two concepts in which we consider links: logically and physically. The logical concept entails the end-to-end connection as an atomic unit; e.g. eth0 on device A connected to ge-0/0/12 on device B. This is what NetBox models today. The physical concept exists in parallel as a sort of underlay. In this model, we'd track individual cables, patch panels, etc. It would be extremely inefficient to have to parse the physical model only to determine the two logical endpoints of a connection, so we want to model it separately. Additionally, we need a model capable of expressing the many nuances of a cabling plant. For example, we should be able to define a patch panel which has LC fiber connections on the front, and MPO trunks on the back, and still be able to trace a single pair through it. |
I understand, then would it be possible to give an ID to each connection, in a logical point of view ? Thanks a lot for your work ;) |
Thanks for the responses. How about the option of adding a custom field to the connection? In this way it is not directly tied to netbox development, yet allows us to manage cable tags. BTW, in our company, if a cable connects from a server to a switch to another switch to a server, these are counted as 3 separate cables , each cable with a unique tag (identical at it's own two ends). In any case, netbox is awesome, and without it - we'd be using xls and txt files. Great work ! |
indeed, a custom field would be enough :) |
I'm liking the idea of a custom field. What's better - Should I open a new issue for this request, or should this thread be reopened ? Thanks. Together we'll make a good thing even better ! |
We will not be adding custom fields to interface connections. As discussed, support for labels will be added as part of #20. |
@quentindavid If your really want the Cable ID (now), just fork this project and change this files: Made with Version 2.3.1
some lines below change
You will get this: |
Thanks for the tip. I'll try that out. |
Thank you for the workaround, works great. |
our use case would be mark connections created by script so script does not delete manually created connections, manually created connections in our case is cause not all our devices provide LLDP |
Propper adoption of the Cable ID is the only thing stopping us rolling this out for all data centres. It really is becoming an important component of DC management. |
Firstly, thanks for a wonderful program that is so useful to all of us who work in data centers.
Secondly, thanks for making it open source for us to share and improve.
In our data center we tag each cable with a unique code (same code at both ends of the cable), so that any engineer can lookup the code and instantly knows where it connects.
It's worked great for us while our DC maps were in txt and xls files. Now we're moving to netbox and we really miss cable tag functionality that we'd like to associate with connections.
I've added a custom cable-tag field to "circuits" , but as far as I see, there's no way to add a custom field to any of the "connections" . At present we're inserting the cable tag into the connection name (interfaces, power, etc).
I request a feature where either the connections already have a "Cable Tag" text field (about 8+ alphanumeric is enough for us, but other might want longer).
Alternatively, can you add an option to "Custom fields" where this field may be added to Connections ?
Searchable field please.
If the above two are two hard, can you add an option to search the connections names ? Then we'll continue putting the cable tag into the name field.
Finally, is there a way for me to manually configure this ? Like edit some config file ?
I'm not a programmer, so editing the code is beyond my ability :(
Thanks
The text was updated successfully, but these errors were encountered: