MDSAL-API Migration
[genius.git] / networkutils / networkutils / src / main / java / org / opendaylight / genius / networkutils / VniUtils.java
index 307207c70789af6f87b23b1249f6c3591e85235a..67e1932582f3735aeb68a3777bef6fe65ca6a8d3 100644 (file)
@@ -7,10 +7,10 @@
  */
 package org.opendaylight.genius.networkutils;
 
-import com.google.common.base.Optional;
+import java.util.Optional;
 import java.util.concurrent.ExecutionException;
 import org.eclipse.jdt.annotation.Nullable;
-import org.opendaylight.controller.md.sal.common.api.data.ReadFailedException;
+import org.opendaylight.mdsal.common.api.ReadFailedException;
 import org.opendaylight.yang.gen.v1.urn.opendaylight.genius.idmanager.rev160406.id.pools.IdPool;
 import org.opendaylight.yangtools.yang.common.Uint64;
 
@@ -20,5 +20,5 @@ public interface VniUtils {
 
     void releaseVNI(String vniKey) throws ExecutionException, InterruptedException;
 
-    Optional<IdPool> getVxlanVniPool() throws ReadFailedException;
+    Optional<IdPool> getVxlanVniPool() throws ReadFailedException, ExecutionException, InterruptedException;
 }
\ No newline at end of file