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
I would argue this is incorrect. It should save the running configuration, not the startup configuration.
There is no guarantee that the configuration was recently saved/written and therefore the running config could be completely different from the startup config.
I believe it should either save the running config for rollback or do a write before the change, like:
NAPALM on commit_config() should always save the running-config to the startup-config and the startup-config is the permanent config (i.e. is the "durable" state of things wrt ACID transactions i.e. it is what the system will revert to in a reboot event).
So I think NAPALM is doing this correctly.
There is no guarantee that the configuration was recently saved/written and therefore the running config could be completely different from the startup config.
You can always separately call write mem (if you are not confident in your sync state between running-config and startup-config).
If changes came from outside NAPALM, I don't think it is correct for NAPALM to just sync them i.e. the person or process that made the changes should ensure they are synced.
Description of Issue/Question
The code in the commit_config method of the eos driver uses the following commands:
src:
napalm/napalm/eos/eos.py
Line 520 in 50ab9f7
I would argue this is incorrect. It should save the running configuration, not the startup configuration.
There is no guarantee that the configuration was recently saved/written and therefore the running config could be completely different from the startup config.
I believe it should either save the running config for rollback or do a write before the change, like:
Setup
napalm version
Network operating system version
The text was updated successfully, but these errors were encountered: