From 6a06de9fc2a9e32a6afcfc75220ade84afbfabbf Mon Sep 17 00:00:00 2001 From: Roberto Bertó Date: Wed, 13 Dec 2023 15:44:09 -0300 Subject: Update README.md fixed path error in docs --- README.md | 4 ++-- 1 file 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 +``` -- cgit v1.2.3