From: Robert Varga Date: Sun, 26 Jan 2014 16:29:35 +0000 (+0100) Subject: Add copyright headers to test models X-Git-Tag: yangtools-0.6.0~18 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F08%2F4808%2F2;p=yangtools.git Add copyright headers to test models Change-Id: I6e7fdbeb90532a4bf6b47a59055a73b37a3920d8 Signed-off-by: Robert Varga --- diff --git a/code-generator/binding-java-api-generator/src/test/resources/abstract-topology.yang b/code-generator/binding-java-api-generator/src/test/resources/abstract-topology.yang index 7e78f3be47..29e3603465 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/abstract-topology.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/abstract-topology.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ // vi: set smarttab sw=4 tabstop=4: module abstract-topology { yang-version 1; diff --git a/code-generator/binding-java-api-generator/src/test/resources/bit_and_union_in_leaf.yang b/code-generator/binding-java-api-generator/src/test/resources/bit_and_union_in_leaf.yang index bf13c4f38f..4146b13081 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/bit_and_union_in_leaf.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/bit_and_union_in_leaf.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bit-and-union-in-leaf { namespace "urn:bit:union:in:leaf"; @@ -52,4 +59,4 @@ module bit-and-union-in-leaf { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/bar.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/bar.yang index 231bb420f1..90ce18a109 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/bar.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/bar.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bar { yang-version 1; namespace "urn:opendaylight:bar"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/baz.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/baz.yang index f10762c462..d3fad40627 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/baz.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/baz.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module baz { yang-version 1; namespace "urn:opendaylight:baz"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/foo.yang index 502b29b212..af19e06303 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-of-augment/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight:foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/bar.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/bar.yang index e1735b4082..940b491c8d 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/bar.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/bar.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bar { yang-version 1; namespace "urn:opendaylight:bar"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/foo.yang index e0d60ac85f..58df3ca67d 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-under-uses/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight:foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/bar.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/bar.yang index 38e71d04f5..0b41762aeb 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/bar.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/bar.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bar { yang-version 1; namespace "urn:opendaylight.bar"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/baz.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/baz.yang index 0cf07cb4f6..99e66a155a 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/baz.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/baz.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module baz { yang-version 1; namespace "urn:opendaylight.baz"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/foo.yang index e98201139b..a20749d56d 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/augment-uses-to-augment/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight.foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/bar.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/bar.yang index 5f409b91a8..17daeb89f5 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/bar.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/bar.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bar { yang-version 1; namespace "urn:opendaylight:bar"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/baz.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/baz.yang index 8f4836a8fe..8e5b015216 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/baz.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/baz.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module baz { yang-version 1; namespace "urn:opendaylight:baz"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/foo.yang index b28943dcd2..a491786930 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/cascade-uses/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight:foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/bar.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/bar.yang index d066b54c7f..6f39ed3532 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/bar.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/bar.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module bar { yang-version 1; namespace "urn:opendaylight:bar"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/foo.yang index e2a1a25c22..a016f821c1 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/context-reference/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight:foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/leaf-return-types/test.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/leaf-return-types/test.yang index 53456850e1..0d8dacebe7 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/leaf-return-types/test.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/leaf-return-types/test.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module test { yang-version 1; namespace "urn:opendaylight:test"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/list-gen/test.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/list-gen/test.yang index 9382edee36..faa7a7ef31 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/list-gen/test.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/list-gen/test.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module test { yang-version 1; namespace "urn:opendaylight:test"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/compilation/typedef/foo.yang b/code-generator/binding-java-api-generator/src/test/resources/compilation/typedef/foo.yang index e5b4428603..19d2eb1d5e 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/compilation/typedef/foo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/compilation/typedef/foo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module foo { yang-version 1; namespace "urn:opendaylight.foo"; diff --git a/code-generator/binding-java-api-generator/src/test/resources/demo-topology.yang b/code-generator/binding-java-api-generator/src/test/resources/demo-topology.yang index 95de94375f..c2178249bc 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/demo-topology.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/demo-topology.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module demo-topology { yang-version 1; namespace ""; @@ -118,4 +125,4 @@ module demo-topology { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/list-composite-key.yang b/code-generator/binding-java-api-generator/src/test/resources/list-composite-key.yang index 07e1dc7e49..fd3f66b593 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/list-composite-key.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/list-composite-key.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module list-composite-key { yang-version 1; namespace "urn:composite.key"; @@ -59,4 +66,4 @@ module list-composite-key { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/simple-container-demo.yang b/code-generator/binding-java-api-generator/src/test/resources/simple-container-demo.yang index 3962274739..1d854bb2fb 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/simple-container-demo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/simple-container-demo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module simple-container-demo { yang-version 1; namespace "urn:simple.container.demo"; @@ -42,4 +49,4 @@ module simple-container-demo { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/simple-leaf-list-demo.yang b/code-generator/binding-java-api-generator/src/test/resources/simple-leaf-list-demo.yang index c0e77ef645..f5d83453c5 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/simple-leaf-list-demo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/simple-leaf-list-demo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module simple-leaf-list-demo { yang-version 1; namespace "urn:simple.leaf-list.demo"; @@ -43,4 +50,4 @@ module simple-leaf-list-demo { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/simple-list-demo.yang b/code-generator/binding-java-api-generator/src/test/resources/simple-list-demo.yang index 69f7f5cd30..c8f7f36b8f 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/simple-list-demo.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/simple-list-demo.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module simple-list-demo { yang-version 1; namespace "urn:simple.container.demo"; @@ -46,4 +53,4 @@ module simple-list-demo { } } } -} \ No newline at end of file +} diff --git a/code-generator/binding-java-api-generator/src/test/resources/yang/abstract-topology@2013-02-08.yang b/code-generator/binding-java-api-generator/src/test/resources/yang/abstract-topology@2013-02-08.yang index 8bdf32706b..af27745902 100644 --- a/code-generator/binding-java-api-generator/src/test/resources/yang/abstract-topology@2013-02-08.yang +++ b/code-generator/binding-java-api-generator/src/test/resources/yang/abstract-topology@2013-02-08.yang @@ -1,3 +1,10 @@ +/* + * Copyright (c) 2013 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 + */ module abstract-topology { yang-version 1; namespace "urn:model:abstract:topology";