napalm-automation-community / napalm-dellos10

NAPALM Driver for Dell EMC OS10 Enterprise
http://dellos10-napalm.readthedocs.io/en/latest/
Apache License 2.0
10 stars 11 forks source link

Fix command checking of echo in _gen_rollback_cfg #26

Closed tmshlvck closed 4 years ago

tmshlvck commented 4 years ago

Fix generated pattern for command "copy running-config ..." in _gen_rollback_cfg. The command has to be explicit in the full form "copy running-configuration ..." to avoid breakage when the command echo (which is full form in case of OS10 10.5.1.3) is compared with the short form patern and fails the check.

The resulting exception was: netmiko.ssh_exception.NetmikoTimeoutException: Timed-out reading channel, data not available.

This fixes issue https://github.com/napalm-automation-community/napalm-dellos10/issues/24

neuahouse commented 1 year ago

@javeedf Can you release a new version that includes this fix?