Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e7dd009d authored by Baptiste Jonglez's avatar Baptiste Jonglez Committed by JONGLEZ Baptiste
Browse files

dell: fix save_config for Dell OS9 devices

On a Dell S4048-ON switch running OS9 version 9.14(2.5), the current
save_config() implementation does not work:

    sw#copy running-configuration startup-configuration
    % Error: The source file does not exist.

There are two ways to save on OS9: either "copy running-config
startup-config" (but it requires a confirmation), or "write memory".
We use the latter to avoid dealing with the confirmation prompt.
parent 4e0928e0
Branches g5k_develop
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@ class DellForce10SSH(CiscoSSHConnection):
def save_config(
self,
cmd: str = "copy running-configuration startup-configuration",
cmd: str = "write memory",
confirm: bool = False,
confirm_response: str = "",
) -> str:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment