You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if commit and changes:
self.logger.debug(f"commiting configuration on {self.hostname}")
device.commit_config()
else:
self.logger.debug(f"discarding configuration on {self.hostname}")
device.discard_config()
Observed Behavior
Commit history getting filled with hourly revisions with empty commits
The text was updated successfully, but these errors were encountered:
Peering Manager version
1.7.4
Python version
3.9
Steps to Reproduce
calling
set_napalm_configuration(cfg, commit=True)
will trigger a commit even if there are no changes.Expected Behavior
Ideally, no commit should get triggered. Test if changes is not empty before committing in set_napalm_configuration
peering/models/models.py#L1289
Observed Behavior
Commit history getting filled with hourly revisions with empty commits
The text was updated successfully, but these errors were encountered: