1 module opendaylight-sal-binding-broker-impl {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:md:sal:binding:impl";
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 opendaylight-md-sal-common {prefix common;}
12 "Service definition for Binding Aware MD-SAL.";
14 revision "2013-10-28" {
19 identity binding-dom-mapping-service {
20 base config:service-type;
21 config:java-class "org.opendaylight.controller.md.sal.binding.impl.BindingToNormalizedNodeCodec";
24 /* FIXME: move to opendaylight-md-sal-binding (cannot be there due to Class name confict with old implementation)*/
25 identity binding-new-notification-service {
26 base config:service-type;
27 config:java-class "org.opendaylight.controller.md.sal.binding.api.NotificationService";
30 /* TODO: move to opendaylight-md-sal-binding (cannot be there due to Class name confict with old implementation)*/
31 identity binding-new-notification-publish-service {
32 base config:service-type;
33 config:java-class "org.opendaylight.controller.md.sal.binding.api.NotificationPublishService";
36 identity binding-broker-impl {
37 base config:module-type;
38 config:provided-service sal:binding-broker-osgi-registry;
39 config:provided-service sal:binding-rpc-registry;
40 config:java-name-prefix BindingBrokerImpl;
43 identity binding-data-compatible-broker {
44 base config:module-type;
45 config:provided-service sal:binding-data-broker;
46 config:provided-service sal:binding-data-consumer-broker;
47 config:java-name-prefix ForwardedCompatibleDataBrokerImpl;
50 identity binding-forwarded-data-broker {
51 base config:module-type;
52 config:provided-service sal:binding-async-data-broker;
53 config:java-name-prefix BindingAsyncDataBrokerImpl;
56 identity binding-rpc-broker {
57 base config:module-type;
58 config:provided-service sal:binding-rpc-registry;
59 config:java-name-prefix RpcBrokerImpl;
62 identity binding-notification-broker {
63 base config:module-type;
64 config:provided-service sal:binding-notification-service;
65 config:provided-service sal:binding-notification-subscription-service;
66 config:java-name-prefix NotificationBrokerImpl;
69 identity runtime-generated-mapping {
70 base config:module-type;
71 config:provided-service binding-dom-mapping-service;
72 config:java-name-prefix RuntimeMapping;
75 identity binding-notification-adapter {
76 base config:module-type;
77 config:provided-service binding-new-notification-service;
78 config:java-name-prefix BindingNotificationAdapter;
81 identity binding-notification-publish-adapter {
82 base config:module-type;
83 config:provided-service binding-new-notification-publish-service;
84 config:java-name-prefix BindingNotificationPublishAdapter;
87 grouping dom-forwarding-component {
88 container dom-async-broker {
89 uses config:service-ref {
92 config:required-identity dom:dom-broker-osgi-registry;
97 container binding-mapping-service {
98 uses config:service-ref {
101 config:required-identity binding-dom-mapping-service;
107 augment "/config:modules/config:module/config:configuration" {
108 case binding-broker-impl {
109 when "/config:modules/config:module/config:type = 'binding-broker-impl'";
112 container rpc-registry {
113 uses config:service-ref {
116 config:required-identity sal:binding-rpc-registry;
120 container binding-broker-impl {
121 uses dom-forwarding-component;
123 container data-broker {
124 uses config:service-ref {
127 config:required-identity sal:binding-data-broker;
132 container notification-service {
133 uses config:service-ref {
136 config:required-identity sal:binding-notification-service;
141 container root-data-broker {
142 uses config:service-ref {
145 config:required-identity sal:binding-async-data-broker;
153 augment "/config:modules/config:module/config:configuration" {
154 case binding-data-compatible-broker {
155 when "/config:modules/config:module/config:type = 'binding-data-compatible-broker'";
157 container binding-data-compatible-broker {
158 container data-broker {
159 uses config:service-ref {
162 config:required-identity sal:binding-async-data-broker;
170 augment "/config:modules/config:module/config:configuration" {
171 case binding-forwarded-data-broker {
172 when "/config:modules/config:module/config:type = 'binding-forwarded-data-broker'";
173 container binding-forwarded-data-broker {
174 container dom-async-broker {
175 uses config:service-ref {
178 config:required-identity dom:dom-async-data-broker;
183 container binding-mapping-service {
184 uses config:service-ref {
187 config:required-identity binding-dom-mapping-service;
192 container schema-service {
193 uses config:service-ref {
196 config:required-identity dom:schema-service;
205 augment "/config:modules/config:module/config:state" {
206 case runtime-generated-mapping {
207 when "/config:modules/config:module/config:type = 'runtime-generated-mapping'";
211 augment "/config:modules/config:module/config:state" {
212 case binding-rpc-broker {
213 when "/config:modules/config:module/config:type = 'binding-rpc-broker'";
214 uses common:rpc-state;
218 augment "/config:modules/config:module/config:state" {
219 case binding-notification-broker {
220 when "/config:modules/config:module/config:type = 'binding-notification-broker'";
221 uses common:notification-state;
225 augment "/config:modules/config:module/config:configuration" {
226 case binding-notification-adapter {
227 when "/config:modules/config:module/config:type = 'binding-notification-adapter'";
228 container binding-notification-adapter {
229 uses dom-forwarding-component;
234 augment "/config:modules/config:module/config:configuration" {
235 case binding-notification-publish-adapter {
236 when "/config:modules/config:module/config:type = 'binding-notification-publish-adapter'";
237 container binding-notification-publish-adapter {
238 uses dom-forwarding-component;