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

revert_in with napalm_configure #155

Open
milan2655 opened this issue Apr 16, 2024 · 0 comments
Open

revert_in with napalm_configure #155

milan2655 opened this issue Apr 16, 2024 · 0 comments
Assignees

Comments

@milan2655
Copy link

milan2655 commented Apr 16, 2024

Hallo!

if revert_in is used in next method :

napalm_confirm_commit needs to be used to actually confirm the commit:

from nornir_napalm.plugins.tasks import napalm_confirm_commit
if revert_in is not None:
    confirm_result = task.run(task= napalm_confirm_commit)

otherwise, the system will rollback to the backup config every 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

3 participants