Skip to content

Commit

Permalink
Fixing sporadic save config issues (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers authored Dec 3, 2018
1 parent e353387 commit 5811c53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions napalm/ios/ios.py
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ def commit_config(self, message=""):
raise MergeConfigException(merge_error)

# Save config to startup (both replace and merge)
output += self.device.send_command_expect("write mem")
output += self.device.send_command_expect("write mem", delay_factor=2)

def discard_config(self):
"""Discard loaded candidate configurations."""
Expand All @@ -502,7 +502,7 @@ def rollback(self):
self.device.send_command_expect(cmd)

# Save config to startup
self.device.send_command_expect("write mem")
self.device.send_command_expect("write mem", delay_factor=2)

def _inline_tcl_xfer(self, source_file=None, source_config=None, dest_file=None,
file_system=None):
Expand Down

0 comments on commit 5811c53

Please sign in to comment.