Merge "Refactor netconf-util's configuration service"
[netconf.git] / netconf / netconf-topology-singleton / src / main / java / org / opendaylight / netconf / topology / singleton / impl / tx / NetconfMasterDOMTransaction.java
index 356b3bf705d7decb20887922211cf679ae059145..973cc0576715843894a72cb2fe84cabe5c56a9c2 100644 (file)
@@ -9,6 +9,7 @@
 package org.opendaylight.netconf.topology.singleton.impl.tx;
 
 import com.google.common.base.Optional;
+import com.google.common.base.Preconditions;
 import com.google.common.util.concurrent.CheckedFuture;
 import com.google.common.util.concurrent.FutureCallback;
 import com.google.common.util.concurrent.Futures;
@@ -58,6 +59,14 @@ public class NetconfMasterDOMTransaction implements NetconfDOMTransaction {
         readTx = delegateBroker.newReadOnlyTransaction();
     }
 
+    @Override
+    public void openTransaction() {
+        // TODO We don't have to do anything here since
+        // NetconfProxyDOMTransactions and RemoteOperationTxProcessor do all
+        // the work regarding opening transactions. But maybe we should check
+        // for open transaction here instead in RemoteOperationTxProcessor
+    }
+
     @Override
     public Future<Optional<NormalizedNodeMessage>> read(final LogicalDatastoreType store,
                                                         final YangInstanceIdentifier path) {