napalm-automation / napalm-nxos

Apache License 2.0
9 stars 21 forks source link

Additional rollback error check #102

Closed itdependsnetworks closed 7 years ago

itdependsnetworks commented 7 years ago

Was not catching this error, this fix may be to broad, but wanted to address in some way.

NXOS1# rollback running file canidate_config.txt

ERROR: Rollback patch computation failed due to either of the following reasons
1. The checkpoint file was not created using CLI
2. The checkpoint file was created using nxos version earlier than 4.2.1

NXOS1#
ktbyers commented 7 years ago

@itdependsnetworks I incorporated this into this PR:

https://github.com/napalm-automation/napalm-nxos/pull/103

And also added a similar change into the nxos SSH module.