1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-runtime-bean-name-conflict2 {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:jmx:duplicate:runtime:bean";
7 import config { prefix config; revision-date 2013-04-05; }
8 import ietf-inet-types { prefix inet; revision-date 2013-07-15;}
12 "This module contains the base YANG definitions for
13 thread services pure Java implementation.";
15 revision "2013-04-05" {
20 identity async-eventbus {
21 base config:module-type;
22 config:java-name-prefix AsyncEventBus;
25 augment "/config:modules/config:module/config:configuration" {
27 when "/config:modules/config:module/config:type = 'async-eventbus'";
34 augment "/config:modules/config:module/config:state" {
36 when "/config:modules/config:module/config:type = 'async-eventbus'";
39 config:inner-state-bean;
49 identity async-eventbus-b {
50 base config:module-type;
51 config:java-name-prefix AsyncEventBusB;
54 augment "/config:modules/config:module/config:configuration" {
55 case async-eventbus-b {
56 when "/config:modules/config:module/config:type = 'async-eventbus-b'";
63 augment "/config:modules/config:module/config:state" {
64 case async-eventbus-b {
65 when "/config:modules/config:module/config:type = 'async-eventbus-b'";
68 config:inner-state-bean;