diff options
author | Roberto Bertó <roberto.berto@gmail.com> | 2023-12-13 15:44:09 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-13 15:44:09 -0300 |
commit | 6a06de9fc2a9e32a6afcfc75220ade84afbfabbf (patch) | |
tree | 7977149e22111c06e59461ac434b46adcb3766c7 | |
parent | 1241b73ac689972b5743bc4b9c3c3baa28fbe095 (diff) | |
download | pyvyos-6a06de9fc2a9e32a6afcfc75220ade84afbfabbf.tar.gz pyvyos-6a06de9fc2a9e32a6afcfc75220ade84afbfabbf.zip |
Update README.md
fixed path error in docs
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -125,7 +125,7 @@ The configure_set method sets a VyOS configuration: ``` # Set a VyOS configuration -response = device.configure_set(path=["interfaces ethernet eth0 address '192.168.1.1/24'"]) +response = device.configure_set(path=["interfaces", "ethernet", "eth0", "address", "192.168.1.1/24"]) # Check for errors and print the result if not response.error: @@ -148,4 +148,4 @@ response = device.config_file_save(file="/config/test300.config") ``` # Load VyOS configuration from a specific file response = device.config_file_load(file="/config/test300.config") -```
\ No newline at end of file +``` |