Remove yang-test
[controller.git] / opendaylight / config / yang-jmx-generator / src / test / resources / duplicates / config-test-duplicate-attribute-in-runtime-and-mxbean.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-duplicate-attribute-in-runtime-and-mxbean {
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             leaf port {
35                 type string;
36             }
37             leaf core-size {
38                 type uint32;
39             }
40             leaf simple-int3 {
41                 type uint16;
42             }
43         }
44     }
45
46     augment "/config:modules/config:module/config:state" {
47         case async-eventbus {
48             when "/config:modules/config:module/config:type = 'async-eventbus'";
49             leaf simple-arg {
50                 type uint32;
51             }
52             leaf port {
53                 type inet:port-number;
54             }
55         }
56     }
57 }

©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.