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

Config Remediation

Open itdependsnetworks opened this issue 2 years ago • 4 comments

Environment

  • Python version: 3.9
  • Nautobot version: 1.3
  • nautobot-golden-config version: 1.0

Proposed Functionality

Provide a native integrations with Hier Config for configuration remediation. Similar to config compliance, should also provide the ability for custom remediation steps.

Use Case

Golden Config currently concentrates on config compliance identification, but the ability to generate remediation plans is likely the ultimate goal for most engineers.

itdependsnetworks avatar May 11 '22 03:05 itdependsnetworks

Love it! Started this a while ago with the hopes of using it in a nautobot app, maybe it could help in some way or at least an example of the approach I took to make it a nornir plugin nornir-hier-config

h4ndzdatm0ld avatar May 11 '22 14:05 h4ndzdatm0ld

@itdependsnetworks, would hier_config need to be extended to support JunOS like syntax?

jtdub avatar Jul 26 '22 14:07 jtdub

I do not think that we need to support all things day 1. Simply providing the facility to allow hier_config to be used (meaning I can manage all of the options [sectional_overwrite, parent_allows_duplicate_child, idempotent_commands_blacklist, etc.]) in GC settings, and I can run hier_config against actual and intended would be a great start.

itdependsnetworks avatar Jul 26 '22 21:07 itdependsnetworks

Consideration into the generic facility to update configurations

  • Intended configuration only (user handles extra configuration themselves)
  • Adding hier_config
  • Adding the ability to "roll your own hier_config" like solution
  • Update Secrets on the fly
  • Address configurations that do not show up in the configurations, such as snmpv3 or some vtp configurations

itdependsnetworks avatar Aug 24 '22 13:08 itdependsnetworks