diff options
Diffstat (limited to 'ansible_collections/arista/eos/plugins/cliconf/eos.py')
-rw-r--r-- | ansible_collections/arista/eos/plugins/cliconf/eos.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ansible_collections/arista/eos/plugins/cliconf/eos.py b/ansible_collections/arista/eos/plugins/cliconf/eos.py index 9c6fb753c..847ca8e0c 100644 --- a/ansible_collections/arista/eos/plugins/cliconf/eos.py +++ b/ansible_collections/arista/eos/plugins/cliconf/eos.py @@ -328,6 +328,12 @@ class Cliconf(CliconfBase): responses.append(out) return responses + def restore(self, filename=None, path=""): + if not filename: + raise ValueError("'file_name' value is required for restore") + cmd = f"configure replace {path}{filename} best-effort" + return self.send_command(cmd) + def get_diff( self, candidate=None, |