summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/acl/copy_config_acl_update.xml
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-08-21 09:40:37 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-08-21 10:11:04 +0200
commitc7425cb71413ed8f60493e2603ec9376137eadc2 (patch)
tree4cdf51254b71e72ba5be429a0e6ff509a6b6e85a /examples/ncclient/acl/copy_config_acl_update.xml
parent16d190d24cfb3286ffd941d690c656d7e5d73928 (diff)
Adapt ncclient examples to 18.07 ietf-nat model changes
The ietf-nat model was updated by HC2VPP-226 and HC2VPP-367. Change-Id: I1bf8bfdbc0a106c933a565b5f11032e802598fbb Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/ncclient/acl/copy_config_acl_update.xml')
-rw-r--r--examples/ncclient/acl/copy_config_acl_update.xml15
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/ncclient/acl/copy_config_acl_update.xml b/examples/ncclient/acl/copy_config_acl_update.xml
index 1a30ece94..5b99994c3 100644
--- a/examples/ncclient/acl/copy_config_acl_update.xml
+++ b/examples/ncclient/acl/copy_config_acl_update.xml
@@ -6,13 +6,16 @@
~ and is available at http://www.eclipse.org/legal/epl-v10.html
-->
<config>
- <nat-config xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
- <nat-instances>
- <nat-instance>
+ <nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
+ <instances>
+ <instance>
<id>0</id>
- </nat-instance>
- </nat-instances>
- </nat-config>
+ <policy>
+ <id>0</id>
+ </policy>
+ </instance>
+ </instances>
+ </nat>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface>
<name>local0</name>