question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Trace not working over a circuit

See original GitHub issue

Environment

  • Python version: from docker-compose
  • Nautobot version: 52847736a40e (v1.0.0b1)

Steps to Reproduce

  1. connect cable between interface and front port
  2. connect circuit between two rear ports
  3. 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.

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
smk4664commented, Mar 4, 2021

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.

2reactions
steffanncommented, Mar 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found