Trace not working over a circuit
See original GitHub issueEnvironment
- Python version: from docker-compose
- Nautobot version: 52847736a40e (v1.0.0b1)
Steps to Reproduce
- connect cable between interface and front port
- connect circuit between two rear ports
- connect another cable between remote front port and interface
Expected Behavior
I expecteded the connection trace to go over a circuit, which is described in the documentation https://nautobot.readthedocs.io/en/latest/core-functionality/devices/#cables
I expected the circuit to appear in cable overview as one single cable, however it appears as two cables. See screenshot of what happened, and my paint-job as to what I wanted to achive.
Observed Behavior
When tracing the connection (cable id 411e2ca8-0e95-47a4-95ad-5ba3abb8a2e0
), it stops at the circuit. Also the circuit appears as two cables in the cable overview.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Tips & Tricks: Troubleshooting Traces - myArcFM
Check out these tips for getting your trace results back on track. Tip 1: Set the traceable network on the Utility Network Analyst...
Read more >Troubleshooting Electric Heat Tracing Systems - AIChE
The most common problem in a heat tracing system is a circuit breaker tripping. This type of fault can occur in two ways:...
Read more >Circuit Tracing Best Practices - EC&M
This setup is dependent on what you're looking for. If you are tracing conduit, data cable, or coaxial cables, use alligator clips to...
Read more >How to Trace a Wire with No Power - Express Electrical Services
To find a wiring problem or perform an electrical remodel, you may have to trace a wire. When working with electrical wiring, the...
Read more >How To Trace A Wire With No Power - Krueger Electric
One of the other key ways to trace your wiring is through the use of your circuit breaker. This method particularly helps if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I was able to replicate this in my instance of Nautobot as well. Cable tracing will find all cables in a path until it hits a PathEndpoint. The CircuitTermination model inherits the PathEndpoint. In some cases, a Circuit could be considered an Endpoint, say DSL or Cable/Fiber Broadband. While in other instances such as Ethernet Private Line, Dark Fiber or Transit you would not want the Circuit to be a PathEndpoint.
Because the trace path is stored these days it should actually be easy to make the trace continue all the way to the end (through circuits). Then depending on what you want to show in the user interface and API you can choose to stop at the first circuit termination, or not. I actually had that implemented for Nautobot’s predecessor, but it was decided that tracing through circuits was not a supported feature (although it worked find in 2.8/2.9) so breaking it in 2.10 was not a problem.
I never understood that decision and would be happy to extend the trace functionality to what it was in 2.9 and store the whole path in the cache, with the option to choose to stop at circuit terminations on retrieval.