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

[RFE] use NetworkManager's Checkpoint feature to rollback on error #33

Closed
thom311 opened this issue Mar 7, 2018 · 0 comments · Fixed by #119
Closed

[RFE] use NetworkManager's Checkpoint feature to rollback on error #33

thom311 opened this issue Mar 7, 2018 · 0 comments · Fixed by #119
Assignees

Comments

@thom311
Copy link
Contributor

thom311 commented Mar 7, 2018

NetworkManager's Checkpoint feature allows to record the current configuration (snapshot), together with a timeout. Commonly, the user/script then would go ahead and change the networking configuration. If the timeout expires without the checkpoint being expired, the configuration of the snapshot is restored. The user can also manually issue a rollback before the timeout expires, or just cancel the timeout (in which case the snapshot is forgotten).

This can be used for two cases:

  • if the module operates and notices an issue in the middle of the operation, it can manually issue a rollback to restore the previous (working) setup.
  • if the module succeeds, but the user is unable to reach the host afterwards -- that is, the new configuration cut the host off the network -- then the role won't be able to cancel the checkpoint, and the timeout will hit -- to restore the previously working configuration.
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

Successfully merging a pull request may close this issue.

2 participants