Bulk merge of l2gw changes
[netvirt.git] / elanmanager / impl / src / main / java / org / opendaylight / netvirt / elan / internal / ElanNodeListener.java
index c7933928e01d0ef79a23c75a644aadfc640f8886..b3dfb61ff1e72fc0ce53e9e0d865f9cb658b93df 100644 (file)
@@ -52,7 +52,6 @@ import org.opendaylight.infrautils.jobcoordinator.JobCoordinator;
 import org.opendaylight.infrautils.utils.concurrent.Executors;
 import org.opendaylight.infrautils.utils.concurrent.LoggingFutures;
 import org.opendaylight.mdsal.binding.api.DataBroker;
-import org.opendaylight.mdsal.binding.util.Datastore;
 import org.opendaylight.mdsal.binding.util.Datastore.Configuration;
 import org.opendaylight.mdsal.binding.util.ManagedNewTransactionRunner;
 import org.opendaylight.mdsal.binding.util.ManagedNewTransactionRunnerImpl;
@@ -142,7 +141,7 @@ public class ElanNodeListener extends AbstractAsyncDataTreeChangeListener<Node>
             LOG.warn("Unexpected nodeId {}", nodeId.getValue());
             return;
         }
-        addErrorLogging(txRunner.callWithNewWriteOnlyTransactionAndSubmit(Datastore.CONFIGURATION, tx -> {
+        addErrorLogging(txRunner.callWithNewWriteOnlyTransactionAndSubmit(CONFIGURATION, tx -> {
             Uint64 dpId = Uint64.valueOf(node[1]);
             createTableMissEntry(tx, dpId);
             createMulticastFlows(tx, dpId);