diff options
author | 2018-08-22 12:22:10 +0200 | |
---|---|---|
committer | 2018-08-22 12:30:40 +0200 | |
commit | 834e67e51f396dcc28b1798c8d2dd1fbf13fba49 (patch) | |
tree | d85827fc7c39be4001c4ff3b14970e41ccf932ac /examples/ncclient/nat | |
parent | a92966bf867f30a67a71b007bc170e0b1686efe2 (diff) |
examples/ncclient: update copyright information
This patch:
- removes copyright information from config XML files
The change is required due to ncclient bug.
If <config> embeded in <copy-config> request contains
'://', then it is treated as URL and included in <url> node
before sending to NETCONF server.
- updates licence to Apache 2.0 in other XML files.
Change-Id: I526de3c1beee6ff4cb255481fc01608beea159ff
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/ncclient/nat')
-rw-r--r-- | examples/ncclient/nat/config_nat.xml | 7 | ||||
-rw-r--r-- | examples/ncclient/nat/config_nat_update.xml | 7 | ||||
-rw-r--r-- | examples/ncclient/nat/expected_config_nat.xml | 16 | ||||
-rw-r--r-- | examples/ncclient/nat/expected_config_nat_update.xml | 16 |
4 files changed, 24 insertions, 22 deletions
diff --git a/examples/ncclient/nat/config_nat.xml b/examples/ncclient/nat/config_nat.xml index 9c41cab79..74f4020b2 100644 --- a/examples/ncclient/nat/config_nat.xml +++ b/examples/ncclient/nat/config_nat.xml @@ -1,10 +1,3 @@ -<!-- - ~ 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="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> diff --git a/examples/ncclient/nat/config_nat_update.xml b/examples/ncclient/nat/config_nat_update.xml index a6235addb..96a6e9dbe 100644 --- a/examples/ncclient/nat/config_nat_update.xml +++ b/examples/ncclient/nat/config_nat_update.xml @@ -1,10 +1,3 @@ -<!-- - ~ 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="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> <interface> diff --git a/examples/ncclient/nat/expected_config_nat.xml b/examples/ncclient/nat/expected_config_nat.xml index eaf08029c..f42eddbdb 100644 --- a/examples/ncclient/nat/expected_config_nat.xml +++ b/examples/ncclient/nat/expected_config_nat.xml @@ -1,9 +1,17 @@ <!-- - ~ Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved. + ~ Copyright (c) 2018 Cisco and/or its affiliates. ~ - ~ 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 + ~ 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. --> <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> diff --git a/examples/ncclient/nat/expected_config_nat_update.xml b/examples/ncclient/nat/expected_config_nat_update.xml index 8aa9e64d4..cf21408d2 100644 --- a/examples/ncclient/nat/expected_config_nat_update.xml +++ b/examples/ncclient/nat/expected_config_nat_update.xml @@ -1,9 +1,17 @@ <!-- - ~ Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved. + ~ Copyright (c) 2018 Cisco and/or its affiliates. ~ - ~ 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 + ~ 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. --> <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> |