Closed bdlamprecht closed 6 years ago
Fix here: https://github.com/napalm-automation/napalm-ios/pull/207
Note, the fix is just to print a message indicating what the problem is. Basically, I think it is a mistake for napalm-ios to modify the config file in your file system (on your central server). It is better to direct the user to what the problem is and then they can make the necessary modification.
Thanks for figuring out what was causing this!
Description of Issue/Question
Missing
end
inmerge_config.txt
on IOS device causes the following error to occur:Did you follow the steps from https://github.com/napalm-automation/napalm#faq
Setup
Ubuntu 16.04.3
napalm-ios version
Steps to Reproduce the Issue
Using the automatically generated files
merge_config.txt
andcandidate_config.txt
, the following command was run on the device:When the
merge_config.txt
was modified manually to include a finalend
, the error no longer occurs:In short, this is to request that in
napalm_install_config
, a finalend
is added to themerge_config.txt
and some type of error checking be done to ignore the "end" in the output above.FYI, I noticed that
candidate_config.txt
correctly DOES have a finalend
in the last line of the file.