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.

Treat circuit terminations as pass-through terminations when tracing cables

See original GitHub issue

NetBox version

v2.10.8

Feature type

Change to existing functionality

Proposed functionality

NetBox v2.10 introduced a significant overhaul to its cable tracing functionality to address several long-standing bugs. One of the most significant changes is that a trace now halts when it encounters a circuit termination. This change was made to ensure that traces which end at a circuit whose far end termination is not defined do not display as open-ended paths.

This issue proposes altering the behavior of a cable trace to treat circuit termination as pass-through nodes (e.g. like front and rear pass-through ports) instead of terminating at them. NetBox v2.11 introduces a new cloud model (see #5986) which can be used to represent the boundary of an unknown network. In NetBox v2.11, a circuit termination can attach directly to either a site or to a cloud, which should address the original concern of unterminated traces for single-termination circuits.

The ramifications of the proposed change are discussed in greater detail below.

Use case

Making this change will allow NetBox to trace a complete end-to-end path across both cables and circuits.

Database changes

Remove the _path field from the circuits.CircuitTermination model

External dependencies

No response

The drawing below illustrates four distinct topologies in which a circuit can be connected.

Cable traces

In scenario A, two complete cable paths are built: one from interface 1 to interface 2, and one from interface 2 to interface 1. Tracing from either origin point or from any intermediate node will show a complete end-to-end path.

In scenarios B and C, only a single cable path is built: from interface 1 to the cloud or site attached to the far end circuit termination. When tracing from interface 1, the cloud or site will be show as the terminating endpoint. Note that this is also true when viewing device A’s interface list: The far end termination for interface 1 will show the cloud or site object, not the intermediate circuit.

In scenario D, only a single partial path is built. Interface 1 will show no terminating endpoint. (This is the situation that the current implementation avoids by treating all circuit terminations as path endpoints.)

It should be noted that this approach does not allow for the direct association of an originating interface to a circuit or circuit termination. If adopted, it will no longer be possible to show, for example, all connected circuits when viewing a device’s interface list. Instead, users would be encouraged to always attach a second termination to every circuit utilizing the cloud model. This would at least convey the connected network if not the circuit by which it is reached.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:9
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jeremystretchcommented, Apr 1, 2021

FYI I’ve renamed Cloud to ProviderNetwork in d5722232.

1reaction
dejantepcommented, Apr 1, 2021

i welcome end-to-end visibility but loosing option to connect circuit to an interface is unfortunate. In an environment where you connect unknown devices to interfaces this is essential to keep track of used ports.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ELECTRIC RESISTANCE HEAT-TRACING - CED Engineering
Electric trace heating cable can be divided into four distinct product classifications: 1. Series circuit ... When terminated the last 2-foot heater ...
Read more >
The BEST Way To Trace Wires Hidden Inside Your Walls! DIY ...
ITEMS I USED ON THIS VIDEO:- Klein Tools Cable Tracer & Probe Tone - https://amzn.to/3jFMiBSALTERNATE CABLE TRACER OPTION:- Electric Circuit ...
Read more >
self-regulating - heater cable - Heating and Process
Connections and terminations for installation with the LLT heating cable series shall be certified according to the requirements of the applicable standards ...
Read more >
MIQ™ - Thermon
Thermon MIQ cable sets are available in four factory ... tracing for pipes up to 1 mile (1.6 km) long from a single...
Read more >
9 Chapter 1 General Definitions - NFPA
installations are outside a building or terminate immedi- ately inside a building wall. ... sidered to be divided equally between the track circuits....
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