Teach sal-remoterpc-connector to route actions
[controller.git] / opendaylight / md-sal / sal-remoterpc-connector / src / main / resources / OSGI-INF / blueprint / remote-rpc.xml
index e6d19a1..c33659a 100644 (file)
   <reference id="actorSystemProvider" interface="org.opendaylight.controller.cluster.ActorSystemProvider" />
   <reference id="domRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService"/>
   <reference id="domRpcRegistry" interface="org.opendaylight.mdsal.dom.api.DOMRpcProviderService"/>
   <reference id="actorSystemProvider" interface="org.opendaylight.controller.cluster.ActorSystemProvider" />
   <reference id="domRpcService" interface="org.opendaylight.mdsal.dom.api.DOMRpcService"/>
   <reference id="domRpcRegistry" interface="org.opendaylight.mdsal.dom.api.DOMRpcProviderService"/>
+  <reference id="domActionService" interface="org.opendaylight.mdsal.dom.api.DOMActionService"/>
+  <reference id="domActionRegistry" interface="org.opendaylight.mdsal.dom.api.DOMActionProviderService"/>
 
   <bean id="actorSystem" factory-ref="actorSystemProvider" factory-method="getActorSystem"/>
 
 
   <bean id="actorSystem" factory-ref="actorSystemProvider" factory-method="getActorSystem"/>
 
-  <bean id="remoteRpcProviderConfig" class="org.opendaylight.controller.remote.rpc.RemoteRpcProviderConfig"
+  <bean id="remoteOpsProviderConfig" class="org.opendaylight.controller.remote.rpc.RemoteOpsProviderConfig"
           factory-method="newInstance">
     <argument>
       <bean factory-ref="actorSystem" factory-method="name"/>
           factory-method="newInstance">
     <argument>
       <bean factory-ref="actorSystem" factory-method="name"/>
     <argument value="${bounded-mailbox-capacity}"/>
   </bean>
 
     <argument value="${bounded-mailbox-capacity}"/>
   </bean>
 
-  <bean id="remoteRpcProvider" class="org.opendaylight.controller.remote.rpc.RemoteRpcProviderFactory"
+  <bean id="remoteOpsProvider" class="org.opendaylight.controller.remote.rpc.RemoteOpsProviderFactory"
           factory-method="createInstance" init-method="start" destroy-method="close">
     <argument ref="domRpcRegistry"/>
     <argument ref="domRpcService"/>
     <argument ref="actorSystem"/>
           factory-method="createInstance" init-method="start" destroy-method="close">
     <argument ref="domRpcRegistry"/>
     <argument ref="domRpcService"/>
     <argument ref="actorSystem"/>
-    <argument ref="remoteRpcProviderConfig"/>
+    <argument ref="remoteOpsProviderConfig"/>
+    <argument ref="domActionRegistry"/>
+    <argument ref="domActionService"/>
   </bean>
 
 </blueprint>
   </bean>
 
 </blueprint>

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