Class LispSouthboundPlugin

java.lang.Object
org.opendaylight.lispflowmapping.southbound.LispSouthboundPlugin
All Implemented Interfaces:
AutoCloseable, IConfigLispSouthboundPlugin, org.opendaylight.mdsal.singleton.api.ClusterSingletonService, org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier>

@Singleton public class LispSouthboundPlugin extends Object implements IConfigLispSouthboundPlugin, AutoCloseable, org.opendaylight.mdsal.singleton.api.ClusterSingletonService
  • Field Details Link icon

    • LOG Link icon

      protected static final org.slf4j.Logger LOG
    • LISPFLOWMAPPING_ENTITY_NAME Link icon

      public static final String LISPFLOWMAPPING_ENTITY_NAME
      See Also:
    • SERVICE_GROUP_IDENTIFIER Link icon

      public static final org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier SERVICE_GROUP_IDENTIFIER
  • Constructor Details Link icon

    • LispSouthboundPlugin Link icon

      @Inject public LispSouthboundPlugin(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider clusterSingletonService)
    • LispSouthboundPlugin Link icon

      public LispSouthboundPlugin(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider clusterSingletonService, LispSouthboundPlugin.Configuration configuration)
    • LispSouthboundPlugin Link icon

      public LispSouthboundPlugin(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.mdsal.singleton.api.ClusterSingletonServiceProvider clusterSingletonService, String bindingAddress, boolean mapRegisterCacheEnabled, long mapRegisterCacheTimeout)
  • Method Details Link icon

    • init Link icon

      @PostConstruct public void init()
    • restoreDaoFromDatastore Link icon

      public void restoreDaoFromDatastore()
      Restore all keys from MDSAL datastore.
    • handleSerializedLispBuffer Link icon

      public void handleSerializedLispBuffer(TransportAddress address, ByteBuffer outBuffer, MessageType packetType)
    • handleSerializedLispBuffer Link icon

      public void handleSerializedLispBuffer(InetAddress address, ByteBuffer outBuffer, MessageType packetType, int portNumber, io.netty.channel.Channel senderChannel)
    • setLispAddress Link icon

      public void setLispAddress(String address)
      Specified by:
      setLispAddress in interface IConfigLispSouthboundPlugin
    • shouldListenOnXtrPort Link icon

      public void shouldListenOnXtrPort(boolean shouldListenOnXtrPort)
      Specified by:
      shouldListenOnXtrPort in interface IConfigLispSouthboundPlugin
    • setXtrPort Link icon

      public void setXtrPort(int port)
      Specified by:
      setXtrPort in interface IConfigLispSouthboundPlugin
    • close Link icon

      @PreDestroy public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception
    • instantiateServiceInstance Link icon

      public void instantiateServiceInstance()
      Specified by:
      instantiateServiceInstance in interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService
    • closeServiceInstance Link icon

      public com.google.common.util.concurrent.ListenableFuture<Void> closeServiceInstance()
      Specified by:
      closeServiceInstance in interface org.opendaylight.mdsal.singleton.api.ClusterSingletonService
    • getIdentifier Link icon

      public org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier getIdentifier()
      Specified by:
      getIdentifier in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.mdsal.singleton.api.ServiceGroupIdentifier>
    • sendNotificationIfPossible Link icon

      public void sendNotificationIfPossible(org.opendaylight.yangtools.binding.Notification notification) throws InterruptedException
      Throws:
      InterruptedException
    • getAkdb Link icon

      public AuthKeyDb getAkdb()
    • getStats Link icon

      public ConcurrentLispSouthboundStats getStats()
    • getDataBroker Link icon

      public org.opendaylight.mdsal.binding.api.DataBroker getDataBroker()
    • getAuthenticationKeyDataListener Link icon

      public AuthenticationKeyDataListener getAuthenticationKeyDataListener()
    • getMapRegisterCache Link icon

      public MapRegisterCache getMapRegisterCache()
    • isMapRegisterCacheEnabled Link icon

      public boolean isMapRegisterCacheEnabled()
    • getMapRegisterCacheTimeout Link icon

      public long getMapRegisterCacheTimeout()