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

Config plan list view and config plan re-deployments #761

Open
mzbroch opened this issue May 14, 2024 · 0 comments
Open

Config plan list view and config plan re-deployments #761

mzbroch opened this issue May 14, 2024 · 0 comments

Comments

@mzbroch
Copy link
Contributor

mzbroch commented May 14, 2024

Environment

Proposed Functionality

  1. Allow for permanent / sticky manual config plans.
    As of today, a manual config plan has to be created per each individual device configuration change.

  2. Modified list view for config plans - this should introduce tabs for config plans with different statuses, making UI navigation much easier and faster.

A "workflow" like experience would be added. Proposed tabs could be similar to statuses :

  • Pending Approval
  • Pending Deployment
  • Running
  • Completed
  • Permanent
Screenshot 2024-05-14 at 10 10 25

Use Case

Allow network operators to re-use config-plans in a "job" manner.

Common use cases could be BGP peering flap, interface flap, where a pre-defined scenario is saved permanently.

As of today, this is not possible because of config_deployment method :

    if config_plan_qs.filter(status__name="Completed").exists():
        error_msg = "`E3026:` Cannot deploy configuration(s). One or more config plans are already completed."
        logger.error(error_msg)
        raise NornirNautobotException(error_msg)

Solution

Introduce a bool flag on ConfigPlan object that would allow for re-deployments.
Modify list view for config plans.

@mzbroch mzbroch changed the title Config plan re-deployments Config plan list view and config plan re-deployments May 14, 2024
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