Class VniUtilsImpl
- java.lang.Object
-
- org.opendaylight.genius.networkutils.impl.VniUtilsImpl
-
-
Constructor Summary
Constructors Constructor Description VniUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.controller.md.sal.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)
com.google.common.base.Optional<IdPool>
getVxlanVniPool()
void
releaseVNI(java.lang.String vniKey)
-
-
-
Constructor Detail
-
VniUtilsImpl
@Inject public VniUtilsImpl(NetworkConfig networkConfig, IdManagerService idManagerService, org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
-
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 com.google.common.base.Optional<IdPool> getVxlanVniPool() throws org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
- Specified by:
getVxlanVniPool
in interfaceVniUtils
- Throws:
org.opendaylight.controller.md.sal.common.api.data.ReadFailedException
-
-