Provide config context on Circuits #5368

Closed
opened 2025-12-29 19:27:13 +01:00 by adam · 3 comments
Owner

Originally created by @strobus on GitHub (Sep 14, 2021).

NetBox version

v2.11

Feature type

New functionality

Proposed functionality

Circuits have config context. Config context scope can be based on provider and/or circuit type.

Use case

Frequently there are configurations associated with circuits based on providers and circuit types. In my environment the configuration of device interfaces downstream of a circuit depends on the provider and circuit type. These configuration attributes are not related to any of the current config context scopes currently available. And they do not apply to the device as a whole, only to the connection with the circuit. We have our functionality working using custom fields, but this is cumbersome because the fields appear on all circuits.

Database changes

Add provider and circuit type scopes to config context. This could be presented in a similar manner to prefixes having association to either VLAN Groups or to Sites. It's either/or, mutually exclusive. The data model would have the superset, with the mutual exclusivity enforced at the API and UI.

External dependencies

None.

Originally created by @strobus on GitHub (Sep 14, 2021). ### NetBox version v2.11 ### Feature type New functionality ### Proposed functionality Circuits have config context. Config context scope can be based on provider and/or circuit type. ### Use case Frequently there are configurations associated with circuits based on providers and circuit types. In my environment the configuration of device interfaces downstream of a circuit depends on the provider and circuit type. These configuration attributes are not related to any of the current config context scopes currently available. And they do not apply to the device as a whole, only to the connection with the circuit. We have our functionality working using custom fields, but this is cumbersome because the fields appear on all circuits. ### Database changes Add provider and circuit type scopes to config context. This could be presented in a similar manner to prefixes having association to either VLAN Groups or to Sites. It's either/or, mutually exclusive. The data model would have the superset, with the mutual exclusivity enforced at the API and UI. ### External dependencies None.
adam added the type: featurestatus: revisions needed labels 2025-12-29 19:27:13 +01:00
adam closed this issue 2025-12-29 19:27:13 +01:00
Author
Owner

@strobus commented on GitHub (Sep 14, 2021):

Note: I'd be willing to work on developing this if the feature is acceptable.

@strobus commented on GitHub (Sep 14, 2021): Note: I'd be willing to work on developing this if the feature is acceptable.
Author
Owner

@jeremystretch commented on GitHub (Oct 5, 2021):

The config content model is intended specifically for devices and virtual machines, which can be configured. Circuits cannot. IMO it would not make any sense to extend this to circuits. Maybe you could elaborate on your use case? What exactly are you trying to accomplish?

@jeremystretch commented on GitHub (Oct 5, 2021): The config content model is intended specifically for devices and virtual machines, which can be configured. Circuits cannot. IMO it would not make any sense to extend this to circuits. Maybe you could elaborate on your use case? What exactly are you trying to accomplish?
Author
Owner

@jeremystretch commented on GitHub (Oct 29, 2021):

Closing due to lack of response.

@jeremystretch commented on GitHub (Oct 29, 2021): Closing due to lack of response.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#5368