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

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.