Class VniUtilsImpl
- java.lang.Object
-
- org.opendaylight.genius.networkutils.impl.VniUtilsImpl
-
-
Constructor Summary
Constructors Constructor Description VniUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint64
getVNI(java.lang.String vniKey)
java.util.Optional<IdPool>
getVxlanVniPool()
void
releaseVNI(java.lang.String vniKey)
-
-
-
Constructor Detail
-
VniUtilsImpl
@Inject public VniUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
- Throws:
java.lang.InterruptedException
java.util.concurrent.ExecutionException
-
-
Method Detail
-
getVNI
public org.opendaylight.yangtools.yang.common.Uint64 getVNI(java.lang.String vniKey) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
-
releaseVNI
public void releaseVNI(java.lang.String vniKey) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Specified by:
releaseVNI
in interfaceVniUtils
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
getVxlanVniPool
public java.util.Optional<IdPool> getVxlanVniPool() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
- Specified by:
getVxlanVniPool
in interfaceVniUtils
- Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException
-
-