Class LispSouthboundRPC

java.lang.Object
org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC
All Implemented Interfaces:
OdlLispSbService, org.opendaylight.yangtools.yang.binding.RpcService

@Singleton public class LispSouthboundRPC extends Object implements OdlLispSbService
This class holds all RPCs methods for LispSouthbound Plugin.

Author:
Florin Coras (fcoras@cisco.com), Lorand Jakab (lojakab@cisco.com)
  • Field Details

    • LOG

      protected static final org.slf4j.Logger LOG
  • Constructor Details

    • LispSouthboundRPC

      @Inject public LispSouthboundRPC(LispSouthboundPlugin lispSbPlugin, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderService)
  • Method Details

    • deactivate

      @PreDestroy public void deactivate()
    • sendMapNotify

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapNotifyOutput>> sendMapNotify(SendMapNotifyInput mapNotifyInput)
      Description copied from interface: OdlLispSbService
      Invoke send-map-notify RPC.
      Specified by:
      sendMapNotify in interface OdlLispSbService
      Parameters:
      mapNotifyInput - of send-map-notify
      Returns:
      output of send-map-notify
    • sendMapReply

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapReplyOutput>> sendMapReply(SendMapReplyInput mapReplyInput)
      Description copied from interface: OdlLispSbService
      Invoke send-map-reply RPC.
      Specified by:
      sendMapReply in interface OdlLispSbService
      Parameters:
      mapReplyInput - of send-map-reply
      Returns:
      output of send-map-reply
    • sendMapRequest

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapRequestOutput>> sendMapRequest(SendMapRequestInput mapRequestInput)
      Description copied from interface: OdlLispSbService
      Invoke send-map-request RPC.
      Specified by:
      sendMapRequest in interface OdlLispSbService
      Parameters:
      mapRequestInput - of send-map-request
      Returns:
      output of send-map-request
    • sendMapRegister

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapRegisterOutput>> sendMapRegister(SendMapRegisterInput mapRegisterInput)
      Description copied from interface: OdlLispSbService
      Invoke send-map-register RPC.
      Specified by:
      sendMapRegister in interface OdlLispSbService
      Parameters:
      mapRegisterInput - of send-map-register
      Returns:
      output of send-map-register
    • getStats

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatsOutput>> getStats(GetStatsInput input)
      Description copied from interface: OdlLispSbService
      Invoke get-stats RPC.
      Specified by:
      getStats in interface OdlLispSbService
      Parameters:
      input - of get-stats
      Returns:
      output of get-stats
    • resetStats

      public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ResetStatsOutput>> resetStats(ResetStatsInput input)
      Description copied from interface: OdlLispSbService
      Invoke reset-stats RPC.
      Specified by:
      resetStats in interface OdlLispSbService
      Parameters:
      input - of reset-stats
      Returns:
      output of reset-stats