public final class ItmRpcTestImpl extends Object implements ItmRpcService
| Constructor and Description |
|---|
ItmRpcTestImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addDpn(BigInteger dpnId,
String tepIp) |
void |
addExternalInterface(BigInteger dpnId,
String dstTep,
String interfaceName) |
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
|
void |
addInterface(BigInteger dpnId,
String dstTep,
String interfaceName) |
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
|
void |
addL2GwInterface(BigInteger dpnId,
String nodeId,
String interfaceName) |
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
|
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
|
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
|
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
|
public void addDpn(BigInteger dpnId, String tepIp)
public void addInterface(BigInteger dpnId, String dstTep, String interfaceName)
public void addL2GwInterface(BigInteger dpnId, String nodeId, String interfaceName)
public void addExternalInterface(BigInteger dpnId, String dstTep, String interfaceName)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<BuildExternalTunnelFromDpnsOutput>> buildExternalTunnelFromDpns(BuildExternalTunnelFromDpnsInput input)
ItmRpcServicebuildExternalTunnelFromDpns in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelEndpointOutput>> removeExternalTunnelEndpoint(RemoveExternalTunnelEndpointInput input)
ItmRpcServiceremoveExternalTunnelEndpoint in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInfoOutput>> getDpnInfo(GetDpnInfoInput input)
ItmRpcServicegetDpnInfo in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture dpnInfo, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwMlagDeviceOutput>> addL2GwMlagDevice(AddL2GwMlagDeviceInput input)
ItmRpcServiceaddL2GwMlagDevice in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelFromDpnsOutput>> removeExternalTunnelFromDpns(RemoveExternalTunnelFromDpnsInput input)
ItmRpcServiceremoveExternalTunnelFromDpns in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwDeviceOutput>> deleteL2GwDevice(DeleteL2GwDeviceInput input)
ItmRpcServicedeleteL2GwDevice in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwDeviceOutput>> addL2GwDevice(AddL2GwDeviceInput input)
ItmRpcServiceaddL2GwDevice in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetWatchPortForTunnelOutput>> getWatchPortForTunnel(GetWatchPortForTunnelInput input)
ItmRpcServicegetWatchPortForTunnel in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture watchPortForTunnel, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsTunnelInternalOrExternalOutput>> isTunnelInternalOrExternal(IsTunnelInternalOrExternalInput input)
ItmRpcServiceisTunnelInternalOrExternal in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture tunnelInternalOrExternal, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelInterfaceNameOutput>> getTunnelInterfaceName(GetTunnelInterfaceNameInput input)
ItmRpcServicegetTunnelInterfaceName in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture tunnelInterfaceName, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsDcgwPresentOutput>> isDcgwPresent(IsDcgwPresentInput input)
ItmRpcServiceisDcgwPresent in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture dcgwPresent, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetExternalTunnelInterfaceNameOutput>> getExternalTunnelInterfaceName(GetExternalTunnelInterfaceNameInput input)
ItmRpcServicegetExternalTunnelInterfaceName in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture externalTunnelInterfaceName, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTerminatingServiceActionsOutput>> createTerminatingServiceActions(CreateTerminatingServiceActionsInput input)
ItmRpcServicecreateTerminatingServiceActions in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnEndpointIpsOutput>> getDpnEndpointIps(GetDpnEndpointIpsInput input)
ItmRpcServicegetDpnEndpointIps in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture dpnEndpointIps, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwMlagDeviceOutput>> deleteL2GwMlagDevice(DeleteL2GwMlagDeviceInput input)
ItmRpcServicedeleteL2GwMlagDevice in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInternalOrExternalInterfaceNameOutput>> getInternalOrExternalInterfaceName(GetInternalOrExternalInterfaceNameInput input)
ItmRpcServicegetInternalOrExternalInterfaceName in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture internalOrExternalInterfaceName, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveTerminatingServiceActionsOutput>> removeTerminatingServiceActions(RemoveTerminatingServiceActionsInput input)
ItmRpcServiceremoveTerminatingServiceActions in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddExternalTunnelEndpointOutput>> addExternalTunnelEndpoint(AddExternalTunnelEndpointInput input)
ItmRpcServiceaddExternalTunnelEndpoint in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetBfdParamOnTunnelOutput>> setBfdParamOnTunnel(SetBfdParamOnTunnelInput input)
ItmRpcServicesetBfdParamOnTunnel in interface ItmRpcServicepublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForTunnelOutput>> getEgressActionsForTunnel(GetEgressActionsForTunnelInput input)
ItmRpcServicegetEgressActionsForTunnel in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture egressActionsForTunnel, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
ItmRpcServicegetTunnelType in interface ItmRpcServicecom.google.common.util.concurrent.ListenableFuture tunnelType, or null if not presentCopyright © 2019 OpenDaylight. All rights reserved.