examples/ncclient: update copyright information 13/14413/1
authorMarek Gradzki <[email protected]>
Wed, 22 Aug 2018 10:22:10 +0000 (12:22 +0200)
committerMarek Gradzki <[email protected]>
Wed, 22 Aug 2018 10:30:40 +0000 (12:30 +0200)
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 <[email protected]>
examples/ncclient/acl/config_acl.xml
examples/ncclient/acl/config_acl_update.xml
examples/ncclient/acl/config_invalid_acl.xml
examples/ncclient/acl/expected_config_acl.xml
examples/ncclient/acl/expected_config_acl_update.xml
examples/ncclient/bd/config_bd.xml
examples/ncclient/bd/expected_config_bd.xml
examples/ncclient/nat/config_nat.xml
examples/ncclient/nat/config_nat_update.xml
examples/ncclient/nat/expected_config_nat.xml
examples/ncclient/nat/expected_config_nat_update.xml

index 5c6c094..ed4d9b4 100644 (file)
@@ -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>
index db4fd8b..379e4f4 100644 (file)
@@ -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>
index b86a119..f1ea803 100644 (file)
@@ -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>
index 024c1b3..54e3d91 100644 (file)
@@ -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">
index cc88ffc..eefef19 100644 (file)
@@ -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">
index 255ad3e..17f221b 100644 (file)
@@ -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>
index 9863215..3ad69d8 100644 (file)
@@ -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">
index 9c41cab..74f4020 100644 (file)
@@ -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>
index a6235ad..96a6e9d 100644 (file)
@@ -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>
index eaf0802..f42eddb 100644 (file)
@@ -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">
index 8aa9e64..cf21408 100644 (file)
@@ -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">