ac897b338725c09f71caf7f9fd22198009262463
[controller.git] / opendaylight / md-sal / messagebus-impl / src / main / yang / messagebus-app-impl.yang
1 module messagebus-app-impl {
2     yang-version 1;
3     namespace "urn:opendaylight:params:xml:ns:yang:controller:messagebus:app:impl";
4     prefix "binding-impl";
5
6     import config { prefix config; revision-date 2013-04-05; }
7     import opendaylight-md-sal-binding {prefix sal;}
8     import opendaylight-md-sal-dom {prefix dom;}
9     import messagebus-event-source-registry {prefix esr;}
10
11     description
12         "Service definition for Message Bus application implementation.";
13
14     revision "2015-02-03" {
15         description "Second revision. Message Bus opensourcing";
16     }
17
18     identity messagebus-app-impl {
19         status deprecated;
20         base config:module-type;
21         config:provided-service esr:event-source-registry;
22         config:java-name-prefix MessageBusAppImpl;
23     }
24
25     augment "/config:modules/config:module/config:configuration" {
26         case messagebus-app-impl {
27             when "/config:modules/config:module/config:type = 'messagebus-app-impl'";
28
29             container binding-broker {
30                 uses config:service-ref {
31                     refine type {
32                         mandatory false;
33                         config:required-identity sal:binding-broker-osgi-registry;
34                     }
35                 }
36             }
37
38         }
39     }
40
41 }

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