Remove yang-test
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / duplicates / config-test-runtime-bean-list-name-conflict2.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-runtime-bean-list-name-conflict2 {
3      yang-version 1;
4         namespace "urn:opendaylight:params:xml:ns:yang:controller:jmx:duplicate:runtime:bean";
5         prefix "th-java";
6
7         import config { prefix config; revision-date 2013-04-05; }
8         import ietf-inet-types { prefix inet; revision-date 2013-07-15;}
9
10         description
11             "This module contains the base YANG definitions of
12              thread services pure Java implementation.";
13
14         revision "2013-04-05" {
15             description
16                 "Updated to work with new anchors.";
17         }
18
19         revision "2013-04-03" {
20             description
21                 "Initial revision";
22         }
23
24        identity async-eventbus {
25             base config:module-type;
26             config:java-name-prefix AsyncEventBus;
27         }
28
29         augment "/config:modules/config:module/config:configuration" {
30             case async-eventbus {
31                 when "/config:modules/config:module/config:type = 'async-eventbus'";
32                     leaf port {
33                         type string;
34                     }
35
36                     list state-a-runtime-mX-bean {
37                        leaf port {
38                            type string;
39                        }
40                     }
41                 }
42             }
43
44         augment "/config:modules/config:module/config:state" {
45             case async-eventbus {
46                 when "/config:modules/config:module/config:type = 'async-eventbus'";
47
48                 list state-a {
49                    config:inner-state-bean;
50
51                    leaf port {
52                        type string;
53                    }
54                 }
55             }
56         }
57 }