@Singleton public class ItmManagerRpcService extends Object implements ItmRpcService
Constructor and Description |
---|
ItmManagerRpcService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IMdsalApiManager mdsalManager,
ItmConfig itmConfig,
DPNTEPsInfoCache dpnTEPsInfoCache,
IInterfaceManager interfaceManager,
DpnTepStateCache dpnTepStateCache,
TunnelStateCache tunnelStateCache,
InterfaceManagerService interfaceManagerService,
OvsBridgeRefEntryCache ovsBridgeRefEntryCache,
DirectTunnelUtils directTunnelUtils) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddExternalTunnelEndpointOutput>> |
addExternalTunnelEndpoint(AddExternalTunnelEndpointInput input)
used for building tunnels between teps on all Dpns and external node
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwDeviceOutput>> |
addL2GwDevice(AddL2GwDeviceInput input)
used for building tunnels between teps on all Dpns and hwVtep
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwMlagDeviceOutput>> |
addL2GwMlagDevice(AddL2GwMlagDeviceInput input)
used for building tunnels between teps on all Dpns and hwVtep
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<BuildExternalTunnelFromDpnsOutput>> |
buildExternalTunnelFromDpns(BuildExternalTunnelFromDpnsInput input)
used for building tunnels between a Dpn and external node
|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTerminatingServiceActionsOutput>> |
createTerminatingServiceActions(CreateTerminatingServiceActionsInput input)
used for programming the terminating service actions
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwDeviceOutput>> |
deleteL2GwDevice(DeleteL2GwDeviceInput input)
used for deleting tunnels between teps on all Dpns and hwVtep
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwMlagDeviceOutput>> |
deleteL2GwMlagDevice(DeleteL2GwMlagDeviceInput input)
used for deleting tunnels between teps on all Dpns and hwVtep
|
static List<DcGatewayIp> |
getDcGatewayIpList(TypedReadWriteTransaction<Datastore.Configuration> tx) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnEndpointIpsOutput>> |
getDpnEndpointIps(GetDpnEndpointIpsInput input)
used to retrieve tunnel end point IPs of a Dpn
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInfoOutput>> |
getDpnInfo(GetDpnInfoInput input)
Gets the dpn id and tep ip information of compute nodes
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForTunnelOutput>> |
getEgressActionsForTunnel(GetEgressActionsForTunnelInput input)
used to retrieve group actions to use from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetExternalTunnelInterfaceNameOutput>> |
getExternalTunnelInterfaceName(GetExternalTunnelInterfaceNameInput input)
used to retrieve external tunnel interface id between Dpns/TORs
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInternalOrExternalInterfaceNameOutput>> |
getInternalOrExternalInterfaceName(GetInternalOrExternalInterfaceNameInput input)
used to retrieve tunnel interface id with src Dpn and destination ip/dpn
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelInterfaceNameOutput>> |
getTunnelInterfaceName(GetTunnelInterfaceNameInput input)
used to retrieve tunnel interface id between Dpns
|
List<MatchInfo> |
getTunnelMatchesForServiceId(int serviceId) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> |
getTunnelType(GetTunnelTypeInput input)
to get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetWatchPortForTunnelOutput>> |
getWatchPortForTunnel(GetWatchPortForTunnelInput input)
retrieve the watch port for the BFD enabled point to point tunnel
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsDcgwPresentOutput>> |
isDcgwPresent(IsDcgwPresentInput input)
Used for determining whether tunnel is an internal or an external tunnel
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsTunnelInternalOrExternalOutput>> |
isTunnelInternalOrExternal(IsTunnelInternalOrExternalInput input)
Used for determining whether tunnel is an internal or an external tunnel
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelEndpointOutput>> |
removeExternalTunnelEndpoint(RemoveExternalTunnelEndpointInput input)
used for building tunnels between teps on all Dpns and external node
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelFromDpnsOutput>> |
removeExternalTunnelFromDpns(RemoveExternalTunnelFromDpnsInput input)
used for building tunnels between a Dpn and external node
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveTerminatingServiceActionsOutput>> |
removeTerminatingServiceActions(RemoveTerminatingServiceActionsInput input)
used for removing the terminating service actions
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetBfdParamOnTunnelOutput>> |
setBfdParamOnTunnel(SetBfdParamOnTunnelInput input)
used for turning ON/OFF to monitor individual tunnels
|
void |
start() |
@Inject public ItmManagerRpcService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IMdsalApiManager mdsalManager, ItmConfig itmConfig, DPNTEPsInfoCache dpnTEPsInfoCache, IInterfaceManager interfaceManager, DpnTepStateCache dpnTepStateCache, TunnelStateCache tunnelStateCache, InterfaceManagerService interfaceManagerService, OvsBridgeRefEntryCache ovsBridgeRefEntryCache, DirectTunnelUtils directTunnelUtils)
@PostConstruct public void start()
@PreDestroy public void close()
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelInterfaceNameOutput>> getTunnelInterfaceName(GetTunnelInterfaceNameInput input)
ItmRpcService
getTunnelInterfaceName
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForTunnelOutput>> getEgressActionsForTunnel(GetEgressActionsForTunnelInput input)
ItmRpcService
getEgressActionsForTunnel
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
ItmRpcService
getTunnelType
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetBfdParamOnTunnelOutput>> setBfdParamOnTunnel(SetBfdParamOnTunnelInput input)
ItmRpcService
setBfdParamOnTunnel
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelEndpointOutput>> removeExternalTunnelEndpoint(RemoveExternalTunnelEndpointInput input)
ItmRpcService
removeExternalTunnelEndpoint
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelFromDpnsOutput>> removeExternalTunnelFromDpns(RemoveExternalTunnelFromDpnsInput input)
ItmRpcService
removeExternalTunnelFromDpns
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<BuildExternalTunnelFromDpnsOutput>> buildExternalTunnelFromDpns(BuildExternalTunnelFromDpnsInput input)
ItmRpcService
buildExternalTunnelFromDpns
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddExternalTunnelEndpointOutput>> addExternalTunnelEndpoint(AddExternalTunnelEndpointInput input)
ItmRpcService
addExternalTunnelEndpoint
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetExternalTunnelInterfaceNameOutput>> getExternalTunnelInterfaceName(GetExternalTunnelInterfaceNameInput input)
ItmRpcService
getExternalTunnelInterfaceName
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTerminatingServiceActionsOutput>> createTerminatingServiceActions(CreateTerminatingServiceActionsInput input)
ItmRpcService
createTerminatingServiceActions
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveTerminatingServiceActionsOutput>> removeTerminatingServiceActions(RemoveTerminatingServiceActionsInput input)
ItmRpcService
removeTerminatingServiceActions
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInternalOrExternalInterfaceNameOutput>> getInternalOrExternalInterfaceName(GetInternalOrExternalInterfaceNameInput input)
ItmRpcService
getInternalOrExternalInterfaceName
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwDeviceOutput>> deleteL2GwDevice(DeleteL2GwDeviceInput input)
ItmRpcService
deleteL2GwDevice
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwDeviceOutput>> addL2GwDevice(AddL2GwDeviceInput input)
ItmRpcService
addL2GwDevice
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetWatchPortForTunnelOutput>> getWatchPortForTunnel(GetWatchPortForTunnelInput input)
ItmRpcService
getWatchPortForTunnel
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwMlagDeviceOutput>> addL2GwMlagDevice(AddL2GwMlagDeviceInput input)
ItmRpcService
addL2GwMlagDevice
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwMlagDeviceOutput>> deleteL2GwMlagDevice(DeleteL2GwMlagDeviceInput input)
ItmRpcService
deleteL2GwMlagDevice
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsTunnelInternalOrExternalOutput>> isTunnelInternalOrExternal(IsTunnelInternalOrExternalInput input)
ItmRpcService
isTunnelInternalOrExternal
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsDcgwPresentOutput>> isDcgwPresent(IsDcgwPresentInput input)
ItmRpcService
isDcgwPresent
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnEndpointIpsOutput>> getDpnEndpointIps(GetDpnEndpointIpsInput input)
ItmRpcService
getDpnEndpointIps
in interface ItmRpcService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInfoOutput>> getDpnInfo(GetDpnInfoInput input)
ItmRpcService
getDpnInfo
in interface ItmRpcService
public static List<DcGatewayIp> getDcGatewayIpList(TypedReadWriteTransaction<Datastore.Configuration> tx) throws ExecutionException, InterruptedException
Copyright © 2019 OpenDaylight. All rights reserved.