Incrementing versions by 0.1.0 for post-Helium master branch
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / duplicates / config-test-duplicate-attribute.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-duplicate-attribute {
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:jmx:generator:it:duplicate";
5     prefix "it-duplicate";
6
7     import config { prefix config; revision-date 2013-04-05; }
8     import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
9
10     description
11         "Testing IMPL";
12
13     revision "2013-04-03" {
14         description
15             "Initial revision";
16     }
17
18     identity implementation {
19         base config:module-type;
20         config:java-name-prefix TestImpl;
21     }
22
23     identity netconf {
24         base config:module-type;
25         config:java-name-prefix NetconfTestImpl;
26     }
27
28     augment "/config:modules/config:module/config:configuration" {
29         case implementation {
30             when "/config:modules/config:module/config:type = 'implementation'";
31
32            container dto-a {
33                 leaf simple-arg {
34                     type uint32;
35                 }
36
37                 leaf port {
38                     type inet:port-number;
39                 }
40
41             }
42         }
43     }
44
45     augment "/config:modules/config:module/config:state" {
46         case implementation {
47             when "/config:modules/config:module/config:type = 'implementation'";
48             // root runtime bean
49             leaf created-sessions {
50                 type uint32;
51             }
52         }
53     }
54
55     augment "/config:modules/config:module/config:configuration" {
56         case netconf {
57             when "/config:modules/config:module/config:type = 'netconf'";
58
59            container dto-a2 {
60                 leaf simple-arg {
61                        type uint32;
62                    }
63
64                    leaf port {
65                        type inet:port-number;
66                    }
67             }
68         }
69     }
70
71     augment "/config:modules/config:module/config:state" {
72         case netconf {
73             when "/config:modules/config:module/config:type = 'netconf'";
74             // root runtime bean
75             leaf created-sessions2 {
76                 type uint32;
77             }
78
79         }
80     }
81 }