summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Bertó <roberto.berto@gmail.com>2023-12-13 15:44:09 -0300
committerGitHub <noreply@github.com>2023-12-13 15:44:09 -0300
commit6a06de9fc2a9e32a6afcfc75220ade84afbfabbf (patch)
tree7977149e22111c06e59461ac434b46adcb3766c7
parent1241b73ac689972b5743bc4b9c3c3baa28fbe095 (diff)
downloadpyvyos-6a06de9fc2a9e32a6afcfc75220ade84afbfabbf.tar.gz
pyvyos-6a06de9fc2a9e32a6afcfc75220ade84afbfabbf.zip
Update README.md
fixed path error in docs
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 1a19b4b..4f1ebb5 100644
--- a/README.md
+++ b/README.md
@@ -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
+```