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 | |
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')
-rw-r--r-- | examples/ncclient/acl/config_acl.xml (renamed from examples/ncclient/acl/copy_config_acl.xml) | 0 | ||||
-rw-r--r-- | examples/ncclient/acl/config_acl_update.xml (renamed from examples/ncclient/acl/copy_config_acl_update.xml) | 0 | ||||
-rw-r--r-- | examples/ncclient/acl/config_invalid_acl.xml (renamed from examples/ncclient/acl/copy_config_unsupported-acl-type.xml) | 0 | ||||
-rwxr-xr-x | examples/ncclient/acl/test_acl.sh | 2 | ||||
-rwxr-xr-x | examples/ncclient/acl/test_acl_update.sh | 4 | ||||
-rwxr-xr-x | examples/ncclient/acl/test_invalid_acl.sh | 18 |
6 files changed, 3 insertions, 21 deletions
diff --git a/examples/ncclient/acl/copy_config_acl.xml b/examples/ncclient/acl/config_acl.xml index 164fd5aaa..164fd5aaa 100644 --- a/examples/ncclient/acl/copy_config_acl.xml +++ b/examples/ncclient/acl/config_acl.xml diff --git a/examples/ncclient/acl/copy_config_acl_update.xml b/examples/ncclient/acl/config_acl_update.xml index 5b99994c3..5b99994c3 100644 --- a/examples/ncclient/acl/copy_config_acl_update.xml +++ b/examples/ncclient/acl/config_acl_update.xml diff --git a/examples/ncclient/acl/copy_config_unsupported-acl-type.xml b/examples/ncclient/acl/config_invalid_acl.xml index b86a11924..b86a11924 100644 --- a/examples/ncclient/acl/copy_config_unsupported-acl-type.xml +++ b/examples/ncclient/acl/config_invalid_acl.xml diff --git a/examples/ncclient/acl/test_acl.sh b/examples/ncclient/acl/test_acl.sh index aedb842af..e55296ebd 100755 --- a/examples/ncclient/acl/test_acl.sh +++ b/examples/ncclient/acl/test_acl.sh @@ -15,4 +15,4 @@ DIR_NAME=$(dirname $0) -${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/copy_config_acl.xml ${DIR_NAME}/expected_config_acl.xml +${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_acl.xml ${DIR_NAME}/expected_config_acl.xml diff --git a/examples/ncclient/acl/test_acl_update.sh b/examples/ncclient/acl/test_acl_update.sh index 6dedbfeaa..cb62c183e 100755 --- a/examples/ncclient/acl/test_acl_update.sh +++ b/examples/ncclient/acl/test_acl_update.sh @@ -15,6 +15,6 @@ DIR_NAME=$(dirname $0) -${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/copy_config_acl.xml ${DIR_NAME}/expected_config_acl.xml +${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_acl.xml ${DIR_NAME}/expected_config_acl.xml -${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/copy_config_acl_update.xml ${DIR_NAME}/expected_config_acl_update.xml +${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_acl_update.xml ${DIR_NAME}/expected_config_acl_update.xml diff --git a/examples/ncclient/acl/test_invalid_acl.sh b/examples/ncclient/acl/test_invalid_acl.sh deleted file mode 100755 index aedb842af..000000000 --- a/examples/ncclient/acl/test_invalid_acl.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash -# -# Copyright (c) 2018 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -DIR_NAME=$(dirname $0) - -${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/copy_config_acl.xml ${DIR_NAME}/expected_config_acl.xml |