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 --- examples/ncclient/nat/expected_config_nat.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'examples/ncclient/nat/expected_config_nat.xml') diff --git a/examples/ncclient/nat/expected_config_nat.xml b/examples/ncclient/nat/expected_config_nat.xml index f42eddbdb..55d15a274 100644 --- a/examples/ncclient/nat/expected_config_nat.xml +++ b/examples/ncclient/nat/expected_config_nat.xml @@ -23,11 +23,11 @@ loop1 for testing purposes - x:loopback - + x:loopback + 01:ff:ff:ff:ff:ff - + true @@ -36,11 +36,11 @@ loop0 for testing purposes - x:loopback - + x:loopback + 00:ff:ff:ff:ff:ff - + true false @@ -60,7 +60,7 @@ 3 10.10.10.1/30 - nat64 + nat64 2 -- cgit 1.2.3-korg