From 498be1107120dd7a9a8df5443b74689fbe95f61a Mon Sep 17 00:00:00 2001 From: Michal Cmarada Date: Wed, 23 Jan 2019 11:41:26 +0100 Subject: Update ncclient examples - added optional parameter host for copy_config, get_config and edit-config. - added basic tests for interfaces: - loopback interface - af-packet interface - tap interface - added diff_xml.py to find differences between two sets of config. It supports both full xml comparison and comparison based on xPath - added example diff between running and candidate config (interfaces) - fixed formatting and namespaces Change-Id: If6dd7a76fab538735ab92c67f9457326fbcba7ec Signed-off-by: Michal Cmarada --- .../ncclient/nat/expected_config_nat_update.xml | 24 +++++++++++----------- 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'examples/ncclient/nat/expected_config_nat_update.xml') diff --git a/examples/ncclient/nat/expected_config_nat_update.xml b/examples/ncclient/nat/expected_config_nat_update.xml index cf21408d2..426e6bc79 100644 --- a/examples/ncclient/nat/expected_config_nat_update.xml +++ b/examples/ncclient/nat/expected_config_nat_update.xml @@ -23,19 +23,19 @@ loop1 for testing purposes - x:loopback - + x:loopback + 01:ff:ff:ff:ff:ff loop2 for testing purposes - x:loopback - + x:loopback + 02:ff:ff:ff:ff:ff - + true false @@ -45,11 +45,11 @@ loop3 for testing purposes - x:loopback - + x:loopback + 03:ff:ff:ff:ff:ff - + true @@ -58,8 +58,8 @@ loop0 for testing purposes - x:loopback - + x:loopback + 00:ff:ff:ff:ff:ff @@ -76,7 +76,7 @@ 6 1.2.3.4/32 - nat64 + nat64 5 @@ -85,7 +85,7 @@ 3 10.10.10.1/30 - nat64 + nat64 2 -- cgit 1.2.3-korg