-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Circuit Redundancy Groups #7025
Comments
Having given this some further thought, we can likely add a field titled "minimum circuits" to the CRG model to indicate the minimum number of circuits required to call the CRG "healthy". This will enable a few use cases such as:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Please see our contributing guide. |
After revisiting this, it needs a more detailed implementation proposal. What specifically should this model look like? @tardoe can you provide some more detail? |
@jeremystretch What additional details do you require that's not been specified in the original outline? I'd expect the CRG model to be similar to the Location model, likely with an added field for "failover type" - this could either be user defined or a pre-defined list, e.g.: "active-passive", "active-active", "at-least-one" etc. etc. |
What fields does the proposed CRG model have? Which of those are required? What are its unique constraints and ordering logic? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide. |
My 2ct on this: I would like to show an example where CRG could be useful to define which impact an outage could have. Our branches are dependent on cloud software that have to be always available.
I would define a higher-level CRG for the site. In our case, 2 further CRGs are subordinated to this one. We also have custom fields to identify information such as physical location of the circuit handover point, ID of the electrical box, access contacts, etc. Today we fill in these fields for each circuit. It would make more sense to assign these fields to the CRG to maintain them in one place only. I hope this helps when considering a solution. |
This could be a good candidate for 3.6 |
Adding some more thoughts on this while I make time to actually implement it:
I'd like to have a go at implementing this in the coming weeks, time permitting. I feel from an initial, basic cut I can have a better idea of how this model might work. |
NetBox version
v2.11.12
Feature type
New functionality
Proposed functionality
This proposal adds a new model for defining the relationship between circuits to track a designed redundancy between them.
A Circuit Redundancy Group (CRG) should contain two or more circuits that provide redundancy to one another. For example, two circuits exist from A to B, when added as members of a CRG, it is then easy to determine the impact of various failure scenarios. Optionally, circuits can be given a priority to indicate their primary, secondary, tertiary etc. status within the group.
Use case
A common use case is for dual circuits between two sites or devices. E.g.:
In this case the two circuits linking DAL and NYC sites would be added to the same CRG to indicate they protect each other. One of the most useful example use-cases for this information might be evaluating maintenance notifications. If both circuits have overlapping maintenance events, the user would know to expect an outage. These types of scenarios could be determined well ahead of time given the designed redundancy is documented.
Database changes
An addition of a CRG model and any associated models required to track a many-to-many relationship between CRG and Circuit. It might also be worth considering CRG nesting (similar to how Locations models operate) where redundancy design are more complicated.
External dependencies
None
The text was updated successfully, but these errors were encountered: