diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 09:40:37 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 08:12:04 +0000 |
commit | de8620bd9200cd063facabec86b51302ce2547d7 (patch) | |
tree | 39a18029fdd0d2438af809e8c0371007a8eecef3 /examples/ncclient/acl/copy_config_acl.xml | |
parent | 7d7c3e18976d22bd2dd81fa33d4fc5bd81cca43c (diff) |
Adapt ncclient examples to 18.07 ietf-nat model changesstable/1807
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.xml')
-rw-r--r-- | examples/ncclient/acl/copy_config_acl.xml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/ncclient/acl/copy_config_acl.xml b/examples/ncclient/acl/copy_config_acl.xml index d2177d643..164fd5aaa 100644 --- a/examples/ncclient/acl/copy_config_acl.xml +++ b/examples/ncclient/acl/copy_config_acl.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> |