diff options
-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 +``` |