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

Feature Request: Support for per user config backup based on changes detected #210

Open
ryanmerolle opened this issue Mar 19, 2020 · 0 comments

Comments

@ryanmerolle
Copy link

Workflow:

  • Detect change on device & Trigger countdown (pass username, device name, timestamp) by:
    - Some sort of trigger like a log message
  • Create & maintain a user_change_tracker dictionary with:
    - A username with active changes being tracked
    - A list of devices with changes detected
    - A default git message (that can be overwritten)
    - A countdown timer until auto-commit
  • ENMS status page for change tracking
    - Override of commit message
    - Add additional time to the commit counter
    - Add / Remove device to change for a user
    - If associated to an existing user, Warn/Alert that who it changed from
    - Show Dictionary of users with devices associated to change tracker, current commit message, & current countdown
    - Set counter for a user to 0, thus commiting the git change
  • When commit timer reaches 0:
    • Git Pull (to make sure local repo is up to date)
    • SCP or pull config using Ansible, Nornir, Salt, Napalm, etc for ALL devices in the user's dictionary
    • Git commit with the user's id & the current user dictionary's commit message
  • Email:
    • Gitlab to send group commit summary email
    • or ENMS
      Future nice to have:
  • Feature: Ability to split changes per user (Example: device-1 & device-2 associated to user-1 change-1 and device-3 associated to user-1 change-2)
    Notes: Not a super common event. Users should focus on one change at a time.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants