nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

Config plan list view and config plan re-deployments

Open mzbroch opened this issue 1 month ago • 0 comments

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 avatar May 14 '24 08:05 mzbroch