Skip to content
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

Create a JobHook to mitigate circuit maintenance according to schedule #242

Open
chadell opened this issue Mar 2, 2023 · 0 comments
Open

Comments

@chadell
Copy link
Contributor

chadell commented Mar 2, 2023

Environment

  • nautobot-circuit-maintenance version: 0.6.2

Proposed Functionality

Offer a framework to trigger maintenance mitigation tasks before, and after, a circuit maintenance.

Use Case

Nautobot offers all the pieces to implement a mitigation process around a circuit maintenance event, so this app could allow to implement it.

A potential workflow could look like be:

  1. When a circuit maintenance is created a scheduled Job would be triggered to run X minutes before the event, and Y minutes after (X and Y configurable). If deleted or updated, the scheduled jobs would be removed or updated respectively. This could leverage directly on the JobHook functionality.
  2. This placeholder job would contain a logic hook where every operator would decide what does it mean the mitigation policy. For instance, someone would simply integrate with the monitoring and alerting system to mute the related alerts for the affected circuits. Someone else could like to shutdown BGP neighbors that are related to a circuit (this could be easily achieved with the Nautobot BGP app and a custom relationship).
  3. The circuits/providers could have a custom attribute to allow automatic mitigation or not.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant