diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-08-22 06:59:36 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-08-22 08:13:08 +0200 |
commit | 82ced1fb275698748e1336d8c1a512ea90f52720 (patch) | |
tree | 090768972be8416f29527edafd2efe894d8dde91 /examples/ncclient/Readme.adoc | |
parent | 4a43e8b580e7634e62bfc0a2437377f349834049 (diff) |
examples: add ncclient examples of URL capability
Change-Id: Icf3bfc331548d1e0f1862bf87615f7c03a24780a
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/ncclient/Readme.adoc')
-rw-r--r-- | examples/ncclient/Readme.adoc | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/examples/ncclient/Readme.adoc b/examples/ncclient/Readme.adoc index f2a97eb72..f3fafcb9d 100644 --- a/examples/ncclient/Readme.adoc +++ b/examples/ncclient/Readme.adoc @@ -90,7 +90,7 @@ Start honeycomb NOTE: Remember that HC by default persists config and restores it after restart. You can disable this behaviour using config/honeycomb.json. -== <copy-config> examples +== <copy-config> === ACL @@ -121,7 +121,7 @@ Example configuration of NAT on loopback interface. ./acl/test_nat_updates.sh ---- -== <validate> examples +== <validate> == ACL <edit-config> + <validate> [source] @@ -129,3 +129,19 @@ Example configuration of NAT on loopback interface. ./edit_config.py --validate acl/config_invalid_acl.xml ---- +== URL capability + +Provide URL as source or target. +Source URL can use file, http, https or ftp protocol. +Target URL can use file protocol. + +When using file protocol, provided patch should correspond to a file accessible by Honeycomb. + +Example: + +[source] +---- +./copy_config_url.py "file:///home/m/hc2vpp/examples/ncclient/bd/config_bd.xml" candidate +---- + + |