Interface ItmRpcService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
- All Known Implementing Classes:
ItmManagerRpcService
,ItmRpcTestImpl
@Generated("mdsal-binding-generator") public interface ItmRpcService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module itm-rpcrpc get-tunnel-interface-name { input input { leaf source-dpid { type uint64; } leaf destination-dpid { type uint64; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } output output { leaf interface-name { type string; } } } rpc get-internal-or-external-interface-name { input input { leaf source-dpid { type uint64; } leaf destination-ip { type inet:ip-address; } leaf destination-dpid { type uint64; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } output output { leaf interface-name { type string; } } } rpc get-external-tunnel-interface-name { input input { leaf source-node { type string; } leaf destination-node { type string; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } output output { leaf interface-name { type string; } } } rpc build-external-tunnel-from-dpns { input input { leaf-list dpn-id { type uint64; } leaf destination-ip { type inet:ip-address; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc add-external-tunnel-endpoint { input input { leaf destination-ip { type inet:ip-address; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc remove-external-tunnel-from-dpns { input input { leaf-list dpn-id { type uint64; } leaf destination-ip { type inet:ip-address; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc remove-external-tunnel-endpoint { input input { leaf destination-ip { type inet:ip-address; } leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc create-terminating-service-actions { input input { leaf dpn-id { type uint64; } leaf service-id { type uint16; } uses offlow:instruction-list; } } rpc remove-terminating-service-actions { input input { leaf dpn-id { type uint64; } leaf service-id { type uint16; } } } rpc add-l2-gw-device { input input { leaf topology-id { type string; } leaf node-id { type string; } leaf ip-address { type inet:ip-address; } } } rpc add-l2-gw-mlag-device { input input { leaf topology-id { type string; } leaf-list node-id { type string; } leaf ip-address { type inet:ip-address; } } } rpc delete-l2-gw-device { input input { leaf topology-id { type string; } leaf node-id { type string; } leaf ip-address { type inet:ip-address; } } } rpc delete-l2-gw-mlag-device { input input { leaf topology-id { type string; } leaf-list node-id { type string; } leaf ip-address { type inet:ip-address; } } } rpc is-tunnel-internal-or-external { input input { leaf tunnel-interface-name { type string; } } output output { leaf tunnel-type { type uint32; } } } rpc is-dcgw-present { input input { leaf dcgw-ip { type string; } } output output { leaf retVal { type uint32; } } } rpc get-dpn-endpoint-ips { input input { leaf source-dpid { type uint64; } } output output { leaf-list nexthopip-list { type inet:ip-address; } } } rpc get-egress-actions-for-tunnel { input input { leaf intf-name { type string; } leaf tunnel-key { type uint32; mandatory false; } leaf action-key { type int32; mandatory false; } } output output { uses action:action-list; } } rpc get-tunnel-type { input input { leaf intf-name { type string; } } output output { leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc set-bfd-param-on-tunnel { input input { leaf source-node { type string; } leaf destination-node { type string; } leaf monitoring-enabled { type boolean; } leaf monitoring-interval { type uint16 { range 1000..30000; } } } } rpc get-dpn-info { input input { leaf-list compute-names { type string; } } output output { list computes { key compute-name; leaf compute-name { type string; } leaf zone-name { type string; } leaf prefix { type inet:ip-prefix; } leaf dpn-id { type uint64; } leaf-list tep-ip { type inet:ip-address; } leaf port-name { type string; } leaf node-id { type string; } } } } rpc get-watch-port-for-tunnel { input input { leaf source-node { type string; } leaf destination-node { type string; } } output output { leaf port-no { type uint32; } leaf portname { type string; } } } rpc get-tep-ip { input input { leaf dpn-id { type uint64; } } output output { leaf tep-ip { type inet:ip-address; } } }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddExternalTunnelEndpointOutput>>
addExternalTunnelEndpoint(AddExternalTunnelEndpointInput input)
Invokeadd-external-tunnel-endpoint
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwDeviceOutput>>
addL2GwDevice(AddL2GwDeviceInput input)
Invokeadd-l2-gw-device
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwMlagDeviceOutput>>
addL2GwMlagDevice(AddL2GwMlagDeviceInput input)
Invokeadd-l2-gw-mlag-device
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<BuildExternalTunnelFromDpnsOutput>>
buildExternalTunnelFromDpns(BuildExternalTunnelFromDpnsInput input)
Invokebuild-external-tunnel-from-dpns
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTerminatingServiceActionsOutput>>
createTerminatingServiceActions(CreateTerminatingServiceActionsInput input)
Invokecreate-terminating-service-actions
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwDeviceOutput>>
deleteL2GwDevice(DeleteL2GwDeviceInput input)
Invokedelete-l2-gw-device
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwMlagDeviceOutput>>
deleteL2GwMlagDevice(DeleteL2GwMlagDeviceInput input)
Invokedelete-l2-gw-mlag-device
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnEndpointIpsOutput>>
getDpnEndpointIps(GetDpnEndpointIpsInput input)
Invokeget-dpn-endpoint-ips
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInfoOutput>>
getDpnInfo(GetDpnInfoInput input)
Invokeget-dpn-info
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForTunnelOutput>>
getEgressActionsForTunnel(GetEgressActionsForTunnelInput input)
Invokeget-egress-actions-for-tunnel
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetExternalTunnelInterfaceNameOutput>>
getExternalTunnelInterfaceName(GetExternalTunnelInterfaceNameInput input)
Invokeget-external-tunnel-interface-name
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInternalOrExternalInterfaceNameOutput>>
getInternalOrExternalInterfaceName(GetInternalOrExternalInterfaceNameInput input)
Invokeget-internal-or-external-interface-name
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTepIpOutput>>
getTepIp(GetTepIpInput input)
Invokeget-tep-ip
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelInterfaceNameOutput>>
getTunnelInterfaceName(GetTunnelInterfaceNameInput input)
Invokeget-tunnel-interface-name
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>>
getTunnelType(GetTunnelTypeInput input)
Invokeget-tunnel-type
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetWatchPortForTunnelOutput>>
getWatchPortForTunnel(GetWatchPortForTunnelInput input)
Invokeget-watch-port-for-tunnel
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsDcgwPresentOutput>>
isDcgwPresent(IsDcgwPresentInput input)
Invokeis-dcgw-present
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsTunnelInternalOrExternalOutput>>
isTunnelInternalOrExternal(IsTunnelInternalOrExternalInput input)
Invokeis-tunnel-internal-or-external
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelEndpointOutput>>
removeExternalTunnelEndpoint(RemoveExternalTunnelEndpointInput input)
Invokeremove-external-tunnel-endpoint
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelFromDpnsOutput>>
removeExternalTunnelFromDpns(RemoveExternalTunnelFromDpnsInput input)
Invokeremove-external-tunnel-from-dpns
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveTerminatingServiceActionsOutput>>
removeTerminatingServiceActions(RemoveTerminatingServiceActionsInput input)
Invokeremove-terminating-service-actions
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetBfdParamOnTunnelOutput>>
setBfdParamOnTunnel(SetBfdParamOnTunnelInput input)
Invokeset-bfd-param-on-tunnel
RPC.
-
-
-
Method Detail
-
getTunnelInterfaceName
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelInterfaceNameOutput>> getTunnelInterfaceName(GetTunnelInterfaceNameInput input)
Invokeget-tunnel-interface-name
RPC.used to retrieve tunnel interface id between Dpns
- Parameters:
input
- ofget-tunnel-interface-name
- Returns:
- output of
get-tunnel-interface-name
-
getInternalOrExternalInterfaceName
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInternalOrExternalInterfaceNameOutput>> getInternalOrExternalInterfaceName(GetInternalOrExternalInterfaceNameInput input)
Invokeget-internal-or-external-interface-name
RPC.used to retrieve tunnel interface id with src Dpn and destination ip/dpn
- Parameters:
input
- ofget-internal-or-external-interface-name
- Returns:
- output of
get-internal-or-external-interface-name
-
getExternalTunnelInterfaceName
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetExternalTunnelInterfaceNameOutput>> getExternalTunnelInterfaceName(GetExternalTunnelInterfaceNameInput input)
Invokeget-external-tunnel-interface-name
RPC.used to retrieve external tunnel interface id between Dpns/TORs
- Parameters:
input
- ofget-external-tunnel-interface-name
- Returns:
- output of
get-external-tunnel-interface-name
-
buildExternalTunnelFromDpns
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<BuildExternalTunnelFromDpnsOutput>> buildExternalTunnelFromDpns(BuildExternalTunnelFromDpnsInput input)
Invokebuild-external-tunnel-from-dpns
RPC.used for building tunnels between a Dpn and external node
- Parameters:
input
- ofbuild-external-tunnel-from-dpns
- Returns:
- output of
build-external-tunnel-from-dpns
-
addExternalTunnelEndpoint
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddExternalTunnelEndpointOutput>> addExternalTunnelEndpoint(AddExternalTunnelEndpointInput input)
Invokeadd-external-tunnel-endpoint
RPC.used for building tunnels between teps on all Dpns and external node
- Parameters:
input
- ofadd-external-tunnel-endpoint
- Returns:
- output of
add-external-tunnel-endpoint
-
removeExternalTunnelFromDpns
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelFromDpnsOutput>> removeExternalTunnelFromDpns(RemoveExternalTunnelFromDpnsInput input)
Invokeremove-external-tunnel-from-dpns
RPC.used for building tunnels between a Dpn and external node
- Parameters:
input
- ofremove-external-tunnel-from-dpns
- Returns:
- output of
remove-external-tunnel-from-dpns
-
removeExternalTunnelEndpoint
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveExternalTunnelEndpointOutput>> removeExternalTunnelEndpoint(RemoveExternalTunnelEndpointInput input)
Invokeremove-external-tunnel-endpoint
RPC.used for building tunnels between teps on all Dpns and external node
- Parameters:
input
- ofremove-external-tunnel-endpoint
- Returns:
- output of
remove-external-tunnel-endpoint
-
createTerminatingServiceActions
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<CreateTerminatingServiceActionsOutput>> createTerminatingServiceActions(CreateTerminatingServiceActionsInput input)
Invokecreate-terminating-service-actions
RPC.used for programming the terminating service actions
- Parameters:
input
- ofcreate-terminating-service-actions
- Returns:
- output of
create-terminating-service-actions
-
removeTerminatingServiceActions
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<RemoveTerminatingServiceActionsOutput>> removeTerminatingServiceActions(RemoveTerminatingServiceActionsInput input)
Invokeremove-terminating-service-actions
RPC.used for removing the terminating service actions
- Parameters:
input
- ofremove-terminating-service-actions
- Returns:
- output of
remove-terminating-service-actions
-
addL2GwDevice
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwDeviceOutput>> addL2GwDevice(AddL2GwDeviceInput input)
Invokeadd-l2-gw-device
RPC.used for building tunnels between teps on all Dpns and hwVtep
- Parameters:
input
- ofadd-l2-gw-device
- Returns:
- output of
add-l2-gw-device
-
addL2GwMlagDevice
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<AddL2GwMlagDeviceOutput>> addL2GwMlagDevice(AddL2GwMlagDeviceInput input)
Invokeadd-l2-gw-mlag-device
RPC.used for building tunnels between teps on all Dpns and hwVtep
- Parameters:
input
- ofadd-l2-gw-mlag-device
- Returns:
- output of
add-l2-gw-mlag-device
-
deleteL2GwDevice
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwDeviceOutput>> deleteL2GwDevice(DeleteL2GwDeviceInput input)
Invokedelete-l2-gw-device
RPC.used for deleting tunnels between teps on all Dpns and hwVtep
- Parameters:
input
- ofdelete-l2-gw-device
- Returns:
- output of
delete-l2-gw-device
-
deleteL2GwMlagDevice
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<DeleteL2GwMlagDeviceOutput>> deleteL2GwMlagDevice(DeleteL2GwMlagDeviceInput input)
Invokedelete-l2-gw-mlag-device
RPC.used for deleting tunnels between teps on all Dpns and hwVtep
- Parameters:
input
- ofdelete-l2-gw-mlag-device
- Returns:
- output of
delete-l2-gw-mlag-device
-
isTunnelInternalOrExternal
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsTunnelInternalOrExternalOutput>> isTunnelInternalOrExternal(IsTunnelInternalOrExternalInput input)
Invokeis-tunnel-internal-or-external
RPC.Used for determining whether tunnel is an internal or an external tunnel
- Parameters:
input
- ofis-tunnel-internal-or-external
- Returns:
- output of
is-tunnel-internal-or-external
-
isDcgwPresent
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<IsDcgwPresentOutput>> isDcgwPresent(IsDcgwPresentInput input)
Invokeis-dcgw-present
RPC.Used for determining whether tunnel is an internal or an external tunnel
- Parameters:
input
- ofis-dcgw-present
- Returns:
- output of
is-dcgw-present
-
getDpnEndpointIps
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnEndpointIpsOutput>> getDpnEndpointIps(GetDpnEndpointIpsInput input)
Invokeget-dpn-endpoint-ips
RPC.used to retrieve tunnel end point IPs of a Dpn
- Parameters:
input
- ofget-dpn-endpoint-ips
- Returns:
- output of
get-dpn-endpoint-ips
-
getEgressActionsForTunnel
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForTunnelOutput>> getEgressActionsForTunnel(GetEgressActionsForTunnelInput input)
Invokeget-egress-actions-for-tunnel
RPC.used to retrieve group actions to use from interface name
- Parameters:
input
- ofget-egress-actions-for-tunnel
- Returns:
- output of
get-egress-actions-for-tunnel
-
getTunnelType
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
Invokeget-tunnel-type
RPC.to get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)
- Parameters:
input
- ofget-tunnel-type
- Returns:
- output of
get-tunnel-type
-
setBfdParamOnTunnel
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SetBfdParamOnTunnelOutput>> setBfdParamOnTunnel(SetBfdParamOnTunnelInput input)
Invokeset-bfd-param-on-tunnel
RPC.used for turning ON/OFF to monitor individual tunnels
- Parameters:
input
- ofset-bfd-param-on-tunnel
- Returns:
- output of
set-bfd-param-on-tunnel
-
getDpnInfo
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInfoOutput>> getDpnInfo(GetDpnInfoInput input)
Invokeget-dpn-info
RPC.Gets the dpn id and tep ip information of compute nodes
- Parameters:
input
- ofget-dpn-info
- Returns:
- output of
get-dpn-info
-
getWatchPortForTunnel
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetWatchPortForTunnelOutput>> getWatchPortForTunnel(GetWatchPortForTunnelInput input)
Invokeget-watch-port-for-tunnel
RPC.retrieve the watch port for the BFD enabled point to point tunnel
- Parameters:
input
- ofget-watch-port-for-tunnel
- Returns:
- output of
get-watch-port-for-tunnel
-
getTepIp
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTepIpOutput>> getTepIp(GetTepIpInput input)
Invokeget-tep-ip
RPC.used to retrieve local tep ip to use from DPNID
- Parameters:
input
- ofget-tep-ip
- Returns:
- output of
get-tep-ip
-
-