Pcornel
Browse topics
Options
Recent
Favorites
Automation · Technical reference

Circuits

Direct answer

Circuits in NetBox model WAN and internet links from providers, with circuit ID, type, commit rate and terminations at sites or devices, useful for tracking carriers and contracts.

When to use this

Use this when tracking provider circuits in NetBox.

First 30 seconds

1. Circuits model WAN/ISP links: provider, type, terminations (sites/interfaces).

2. Link to interfaces.

3. Contract and support data.

4. Used for documentation and monitoring.

5. Keep status current.

Operational verification

provider → circuit → terminations → interfaces

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
NetBox circuit inventory automation
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformNetBox circuit inventory automation · Automation implementations are tool and platform specific. Use the adjacent Domain for the technology being automated and this Domain for automation behavior.
Scope / prerequisiteUse this when tracking provider circuits in NetBox.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

The primary procedure is: Query a known circuit by provider/circuit ID, inspect both terminations and traced paths, make one bounded metadata update, then GET the circuit/termination objects again by ID. Exercise failure-oriented cases such as duplicate provider circuit IDs, only one termination populated, stale status, wrong tenant/site, mismatched cable path and using free-text descriptions as stable identity so the test covers failure cases, not only the happy path.

Step 2 Common mistakes Narrow the fault
  • Circuits without provider or termination data.
Step 3 Where it fails Narrow the fault

Failure analysis for NetBox → Circuits should follow the path through the components: external carrier/source data → NetBox circuit object → terminations/cabling → API selection → downstream provisioning/documentation. Tests should include edge cases such as duplicate provider circuit IDs, only one termination populated, stale status, wrong tenant/site, mismatched cable path and using free-text descriptions as stable identity. Recovery should preserve the existing object IDs and path data, correct the smallest wrong relationship/attribute, then query both circuit and terminations before allowing downstream changes.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Provider, circuit ID, type, commit rate.
  • Terminations at sites or devices.
  • Useful for incidents and contracts.
Key checks
  • curl -s -H 'Authorization: Token <t>' https://<netbox>/api/circuits/circuits/ — circuits
  • Providers, circuit types, terminations — structure
  • Commit rates/contract data — business info
ReferenceWhy it matters1 section · depth on demand

In depth

In NetBox, circuits model connectivity bought from providers — internet, MPLS, dark fibre — with the provider, circuit ID, type, commit rate and the two terminations (A and Z sides) connected to sites or interfaces.

ObjectContent
ProviderCarrier name, accounts, contacts
Circuit typeInternet, MPLS, transport
CircuitCircuit ID, commit rate, status
TerminationSite/location and connected interface

Automation can use circuit data for interface descriptions, monitoring thresholds based on commit rate, and incident tickets with the right circuit ID and provider contact.

ReferenceImportant terms & boundaries1 section · depth on demand

Mechanics

Circuits in NetBox is owned at runtime by NetBox circuit/provider/termination models and the API client selecting or mutating them. The durable intent is authoritative circuit inventory containing provider, circuit ID, type, status, tenant, terminations and cable/path relationships. Reliable automation must carry stable identity across the path: NetBox object ID plus provider/circuit ID and termination side/object IDs. The consumer-visible target is the specific circuit record and its A/Z terminations/path relationships consumed by network automation. The key invariants are provider+circuit identity is unambiguous, terminations reference correct site/device/interface/provider network, lifecycle status is current and automation does not infer physical path from labels alone.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
ReferenceConfiguration & state1 section · depth on demand

Lifecycle

Store and review authoritative circuit inventory containing provider, circuit ID, type, status, tenant, terminations and cable/path relationships; pin or at least record implementation/model versions and keep environment-specific identity outside reusable logic where possible. The stable identity contract is NetBox object ID plus provider/circuit ID and termination side/object IDs.

Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docNetBox circuit inventory automation current

Authoritative/upstream documentation reviewed for bounded claims in NetBox > Circuits. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://netboxlabs.com/docs/netbox/models/circuits/ · confidence 94%
Embedded reference data

Quick lookup tables

NetBox → Circuits · operational reference

Context-specific ownership, verification, output and failure-boundary lookup for NetBox → Circuits.

LayerNetBox → Circuits operational reference
Runtime/ownershipNetBox circuit inventory automation · NetBox circuit/provider/termination models and the API client selecting or mutating them
Persistent intentauthoritative circuit inventory containing provider, circuit ID, type, status, tenant, terminations and cable/path relationships
VerificationQuery a known circuit by provider/circuit ID, inspect both terminations and traced paths, make one bounded metadata update, then GET the circuit/termination objects again by ID.
Expected interpretationExactly one intended circuit resolves, its provider/type/status and A/Z terminations match physical documentation, and downstream automation uses stable object IDs and current relationships.
Recovery boundarypreserve the existing object IDs and path data, correct the smallest wrong relationship/attribute, then query both circuit and terminations before allowing downstream changes
Depth when you need it

Deep reference

Healthy vs suspicious evidence

Output interpretation

At minimum retain circuit ID/object ID, provider, type/status, tenant, termination A/Z IDs, site/device/interface/provider-network targets, path trace IDs and last-updated timestamp. The useful output makes ambiguity visible, links to the target identity from NetBox object ID plus provider/circuit ID and termination side/object IDs, and provides enough context to safely decide whether a retry is permitted.

Confirmation

Confirm action

Continue?