Bug 7806 - Implement agent RPCs for shard replica manipulation testing
[controller.git] / opendaylight / md-sal / sal-cluster-admin-impl / src / main / resources / org / opendaylight / blueprint / cluster-admin.xml
index 85edd2ef0bff5270ebabe1e1f85f1dccdc6ccbed..258bc09955d5ed24d79bd12a33ecbd501cc4301a 100644 (file)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
-           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0">
+           xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
+           odl:use-default-for-reference-types="true">
 
   <!-- ClusterAdminRpcService -->
 
   <reference id="operationalDatastore" interface="org.opendaylight.controller.cluster.datastore.DistributedDataStoreInterface"
       odl:type="distributed-operational"/>
 
+  <reference id="normalizedNodeSerializer" interface="org.opendaylight.mdsal.binding.dom.codec.api.BindingNormalizedNodeSerializer"/>
+
   <bean id="clusterAdminService" class="org.opendaylight.controller.cluster.datastore.admin.ClusterAdminRpcService">
     <argument ref="configDatastore"/>
     <argument ref="operationalDatastore"/>
+    <argument ref="normalizedNodeSerializer"/>
   </bean>
 
   <odl:rpc-implementation ref="clusterAdminService"/>