Registering Distributed Datastore for SchemaContext changes
[controller.git] / opendaylight / md-sal / sal-distributed-datastore / src / main / java / org / opendaylight / controller / config / yang / config / distributed_datastore_provider / DistributedOperationalDataStoreProviderModule.java
index 9e215a436de439975da8544d6dbc882d740764da..e4f30ac723d009f0a23bbf5799bf4ecb2be66a24 100644 (file)
@@ -23,6 +23,7 @@ public class DistributedOperationalDataStoreProviderModule extends org.opendayli
     final ActorSystem actorSystem = ActorSystem.create("opendaylight-cluster", ConfigFactory
         .load().getConfig("ODLCluster"));
     final DistributedDataStore operationalStore = new DistributedDataStore(actorSystem, "operational");
+    getSchemaServiceDependency().registerSchemaServiceListener(operationalStore);
 
     final class AutoCloseableDistributedDataStore implements AutoCloseable {