org.opendaylight.controller.cluster.datastore.messages;
org.opendaylight.controller.cluster.datastore.persisted;
org.opendaylight.controller.cluster.datastore.utils;
+ org.opendaylight.controller.cluster.sharding;
</Export-Package>
<Import-Package>
!*snappy;
* Finally, we need to be sure that default shards for both operational and
* configuration data stores are up and running and we have distributed
* shards frontend created for them.
+ *
+ * <p>
+ * This is intended to be invoked by blueprint as initialization method.
*/
- void init() {
+ public void init() {
// create our writers to the configuration
try {
LOG.debug("{} - starting config shard lookup.",
<service ref="distributedEntityOwnershipService" interface="org.opendaylight.mdsal.eos.dom.api.DOMEntityOwnershipService"
odl:type="default"/>
+
+ <!-- CDS shard manager -->
+ <bean id="cdsNodeManager" class="org.opendaylight.controller.cluster.sharding.DistributedShardedDOMDataTree"
+ init-method="init">
+ <argument ref="actorSystemProvider"/>
+ <argument ref="operDatastore"/>
+ <argument ref="configDatastore"/>
+ </bean>
+
+ <service ref="cdsNodeManager" odl:type="default">
+ <interfaces>
+ <value>org.opendaylight.mdsal.dom.api.DOMDataTreeShardingService</value>
+ <value>org.opendaylight.mdsal.dom.api.DOMDataTreeService</value>
+ <value>org.opendaylight.controller.cluster.sharding.DistributedShardFactory</value>
+ </interfaces>
+ </service>
+
</blueprint>
\ No newline at end of file