Move BP xml files to standard OSGI-INF/blueprint
[controller.git] / opendaylight / md-sal / sal-cluster-admin-impl / src / main / resources / OSGI-INF / blueprint / cluster-admin.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
3            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
4            odl:use-default-for-reference-types="true">
5
6   <!-- ClusterAdminRpcService -->
7
8   <reference id="configDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
9       odl:type="distributed-config"/>
10
11   <reference id="operationalDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
12       odl:type="distributed-operational"/>
13
14   <reference id="normalizedNodeSerializer" interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
15
16   <bean id="clusterAdminService" class="org.opendaylight.controller.cluster.datastore.admin.ClusterAdminRpcService">
17     <argument ref="configDatastore"/>
18     <argument ref="operationalDatastore"/>
19     <argument ref="normalizedNodeSerializer"/>
20   </bean>
21
22   <odl:rpc-implementation ref="clusterAdminService"/>
23
24 </blueprint>