diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 15:19:11 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 15:28:57 +0200 |
commit | 579bc2fc74a764a149afa30291d734f6ebe18b94 (patch) | |
tree | a848a0febc977a9673f555b4d3ceb8a3c6b18dab /examples/ncclient/acl/config_invalid_acl.xml | |
parent | 160ba2a4f7586e48ff1e53caed871b0010660c73 (diff) |
examples/ncclient: update readme with <validate> example
Change-Id: Id5aa173292d00aee0dd37d0853d46cb98e2cce05
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/ncclient/acl/config_invalid_acl.xml')
-rw-r--r-- | examples/ncclient/acl/config_invalid_acl.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/ncclient/acl/config_invalid_acl.xml b/examples/ncclient/acl/config_invalid_acl.xml new file mode 100644 index 000000000..b86a11924 --- /dev/null +++ b/examples/ncclient/acl/config_invalid_acl.xml @@ -0,0 +1,15 @@ +<!-- + ~ Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved. + ~ + ~ This program and the accompanying materials are made available under the + ~ terms of the Eclipse Public License v1.0 which accompanies this distribution, + ~ and is available at http://www.eclipse.org/legal/epl-v10.html + --> +<config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0"> + <access-lists xmlns="urn:ietf:params:xml:ns:yang:ietf-access-control-list" xc:operation="create"> + <acl> + <acl-name>acl0</acl-name> + <acl-type>ipv4-acl</acl-type> + </acl> + </access-lists> +</config> |