diff options
| author | anusajith <88121157+anusajith@users.noreply.github.com> | 2024-05-20 10:08:26 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-20 10:08:26 +1000 |
| commit | ac03cf884fade1c6945763b6d399e758d706a02b (patch) | |
| tree | 62b898e8c26c97b91412c9493d95a0085ce06aa3 | |
| parent | f0d26d17c0260cc3444a1a8ba78f841d746f0c5c (diff) | |
| download | pyvyos-ac03cf884fade1c6945763b6d399e758d706a02b.tar.gz pyvyos-ac03cf884fade1c6945763b6d399e758d706a02b.zip | |
Update device.py
| -rw-r--r-- | pyvyos/device.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyvyos/device.py b/pyvyos/device.py index 0fc4a7b..d0ee654 100644 --- a/pyvyos/device.py +++ b/pyvyos/device.py @@ -315,16 +315,16 @@ class VyDevice: def configure_multiple_op(self, op_path=[]): """ - Set configuration based on the given path for multiple operation. + Set configuration based on the given {operation : path} for multiple operation. Args: - op_path (list): The path elements for configuration deletion or/and setting alongwith operations specific to them. + op_path (list): The path elements for configuration deletion or/and setting. eg: [{'op': 'delete', 'path': [...]}, {'op': 'set', 'path': [...]}] Returns: ApiResponse: An ApiResponse object representing the API response. """ - return self._api_request(command="configure", op=None, path=op_path) + return self._api_request(command="configure", op="", path=op_path) def config_file_save(self, file=None): """ |
