Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix command checking of echo in _gen_rollback_cfg #26

Merged
merged 1 commit into from
Aug 24, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion napalm_dellos10/dellos10.py
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ def _xfer_file(self, source_file=None, source_config=None, dest_file=None,
def _gen_rollback_cfg(self):
"""Save a configuration that can be used for rollback."""
cfg_file = self.rollback_cfg
cmd = 'copy running-config home://{}'.format(cfg_file)
cmd = 'copy running-configuration home://{}'.format(cfg_file)
self.device.send_command_expect(cmd)

def get_facts(self):
Expand Down