Fixed some major sonar issues in yang-validation-tool
[yangtools.git] / integration-test / regression-test-model / src / main / yang / test-bug466-augmentation.yang
1 module test-bug466-augmentation {
2     yang-version 1;
3     namespace "urn:opendaylight:yang:test:regression:bug466:augmentation:empty";
4     prefix "bug466-aug-empty";
5     
6     import test-bug466-base { prefix base; revision-date "2014-02-26";}
7     import yang-ext { prefix ext; revision-date "2013-07-09";}
8
9     contact "Anton Tkacik <ttkacik@cisco.com>";
10
11     description 
12             "Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
13
14             This program and the accompanying materials are made available under the
15             terms of the Eclipse Public License v1.0 which accompanies this distribution,
16             and is available at http://www.eclipse.org/legal/epl-v10.html";
17
18
19     revision "2014-02-26" {
20         description "";
21     }
22
23     augment "/base:bug-466" {
24         description "Empty augmentation without conditions.";
25     }
26
27     augment "/base:bug-466" {
28         description "Empty augmentation with extensions.";
29         ext:context-instance "base:bug-466-identity";
30     }
31
32     augment "/base:bug-466" {
33         description "augmentation with data.";
34         container data {
35         
36         }
37     }
38
39     augment "/base:bug-466" {
40         when "./base:condition='renamed-augment'";
41         ext:augment-identifier "renamed-augmentation-with-condition";
42         
43     }
44
45     augment "/base:bug-466" {
46         ext:augment-identifier "renamed-augmentation-with-child";
47         container child {
48         
49         }
50     }
51
52 }