Class LispSouthboundRPC
java.lang.Object
org.opendaylight.lispflowmapping.southbound.LispSouthboundRPC
- All Implemented Interfaces:
OdlLispSbService
,org.opendaylight.yangtools.yang.binding.RpcService
This class holds all RPCs methods for LispSouthbound Plugin.
- Author:
- Florin Coras (fcoras@cisco.com), Lorand Jakab (lojakab@cisco.com)
-
Field Summary
-
Constructor Summary
ConstructorDescriptionLispSouthboundRPC
(LispSouthboundPlugin lispSbPlugin, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetStatsOutput>>
getStats
(GetStatsInput input) Invokeget-stats
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<ResetStatsOutput>>
resetStats
(ResetStatsInput input) Invokereset-stats
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapNotifyOutput>>
sendMapNotify
(SendMapNotifyInput mapNotifyInput) Invokesend-map-notify
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapRegisterOutput>>
sendMapRegister
(SendMapRegisterInput mapRegisterInput) Invokesend-map-register
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapReplyOutput>>
sendMapReply
(SendMapReplyInput mapReplyInput) Invokesend-map-reply
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendMapRequestOutput>>
sendMapRequest
(SendMapRequestInput mapRequestInput) Invokesend-map-request
RPC.
-
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
Invokesend-map-notify
RPC.- Specified by:
sendMapNotify
in interfaceOdlLispSbService
- Parameters:
mapNotifyInput
- ofsend-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
Invokesend-map-reply
RPC.- Specified by:
sendMapReply
in interfaceOdlLispSbService
- Parameters:
mapReplyInput
- ofsend-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
Invokesend-map-request
RPC.- Specified by:
sendMapRequest
in interfaceOdlLispSbService
- Parameters:
mapRequestInput
- ofsend-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
Invokesend-map-register
RPC.- Specified by:
sendMapRegister
in interfaceOdlLispSbService
- Parameters:
mapRegisterInput
- ofsend-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
Invokeget-stats
RPC.- Specified by:
getStats
in interfaceOdlLispSbService
- Parameters:
input
- ofget-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
Invokereset-stats
RPC.- Specified by:
resetStats
in interfaceOdlLispSbService
- Parameters:
input
- ofreset-stats
- Returns:
- output of
reset-stats
-