Class VniUtilsImpl

  • All Implemented Interfaces:
    VniUtils

    @Singleton
    public class VniUtilsImpl
    extends java.lang.Object
    implements VniUtils
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
        Specified by:
        getVNI in interface VniUtils
        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 interface VniUtils
        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 interface VniUtils
        Throws:
        java.util.concurrent.ExecutionException
        java.lang.InterruptedException