Remove yang-test
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / duplicates / config-test-runtime-bean-name-conflict.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-runtime-bean-name-conflict {
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 for
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             }
37
38         augment "/config:modules/config:module/config:state" {
39             case async-eventbus {
40                 when "/config:modules/config:module/config:type = 'async-eventbus'";
41
42                 list state-a {
43                    config:inner-state-bean;
44
45                    leaf port {
46                        type string;
47                    }
48
49                    list state-a {
50                        config:inner-state-bean;
51
52                       leaf port {
53                           type string;
54                       }
55                    }
56                 }
57             }
58         }
59 }