summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-08-22 12:22:10 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-08-22 12:30:40 +0200
commit834e67e51f396dcc28b1798c8d2dd1fbf13fba49 (patch)
treed85827fc7c39be4001c4ff3b14970e41ccf932ac /examples
parenta92966bf867f30a67a71b007bc170e0b1686efe2 (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')
-rw-r--r--examples/ncclient/acl/config_acl.xml7
-rw-r--r--examples/ncclient/acl/config_acl_update.xml7
-rw-r--r--examples/ncclient/acl/config_invalid_acl.xml7
-rw-r--r--examples/ncclient/acl/expected_config_acl.xml16
-rw-r--r--examples/ncclient/acl/expected_config_acl_update.xml16
-rw-r--r--examples/ncclient/bd/config_bd.xml7
-rw-r--r--examples/ncclient/bd/expected_config_bd.xml16
-rw-r--r--examples/ncclient/nat/config_nat.xml7
-rw-r--r--examples/ncclient/nat/config_nat_update.xml7
-rw-r--r--examples/ncclient/nat/expected_config_nat.xml16
-rw-r--r--examples/ncclient/nat/expected_config_nat_update.xml16
11 files changed, 60 insertions, 62 deletions
diff --git a/examples/ncclient/acl/config_acl.xml b/examples/ncclient/acl/config_acl.xml
index 5c6c09403..ed4d9b4e5 100644
--- a/examples/ncclient/acl/config_acl.xml
+++ b/examples/ncclient/acl/config_acl.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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
<instances>
diff --git a/examples/ncclient/acl/config_acl_update.xml b/examples/ncclient/acl/config_acl_update.xml
index db4fd8bb5..379e4f42d 100644
--- a/examples/ncclient/acl/config_acl_update.xml
+++ b/examples/ncclient/acl/config_acl_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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
<instances>
diff --git a/examples/ncclient/acl/config_invalid_acl.xml b/examples/ncclient/acl/config_invalid_acl.xml
index b86a11924..f1ea8035e 100644
--- a/examples/ncclient/acl/config_invalid_acl.xml
+++ b/examples/ncclient/acl/config_invalid_acl.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: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>
diff --git a/examples/ncclient/acl/expected_config_acl.xml b/examples/ncclient/acl/expected_config_acl.xml
index 024c1b30a..54e3d914e 100644
--- a/examples/ncclient/acl/expected_config_acl.xml
+++ b/examples/ncclient/acl/expected_config_acl.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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
diff --git a/examples/ncclient/acl/expected_config_acl_update.xml b/examples/ncclient/acl/expected_config_acl_update.xml
index cc88ffcf3..eefef19a5 100644
--- a/examples/ncclient/acl/expected_config_acl_update.xml
+++ b/examples/ncclient/acl/expected_config_acl_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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
diff --git a/examples/ncclient/bd/config_bd.xml b/examples/ncclient/bd/config_bd.xml
index 255ad3e5e..17f221b7a 100644
--- a/examples/ncclient/bd/config_bd.xml
+++ b/examples/ncclient/bd/config_bd.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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
<instances>
diff --git a/examples/ncclient/bd/expected_config_bd.xml b/examples/ncclient/bd/expected_config_bd.xml
index 98632159b..3ad69d872 100644
--- a/examples/ncclient/bd/expected_config_bd.xml
+++ b/examples/ncclient/bd/expected_config_bd.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">
<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
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">