Interface OdlInterfaceRpcService
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.RpcService
- All Known Implementing Classes:
InterfaceManagerRpcService
@Generated("mdsal-binding-generator") public interface OdlInterfaceRpcService extends org.opendaylight.yangtools.yang.binding.RpcService
Interface for implementing the following YANG RPCs defined in module odl-interface-rpcrpc get-dpid-from-interface { input input { leaf intf-name { type string; } } output output { leaf dpid { type uint64; } } } rpc get-port-from-interface { input input { leaf intf-name { type string; } } output output { leaf dpid { type uint64; } leaf portno { type uint32; } leaf portname { type string; } leaf phy-address { type string; } } } rpc get-egress-actions-for-interface { 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-egress-instructions-for-interface { input input { leaf intf-name { type string; } leaf tunnel-key { type uint32; mandatory false; } } output output { uses offlow:instruction-list; } } rpc get-endpoint-ip-for-dpn { input input { leaf dpid { type uint64; } } output output { leaf-list local-ips { type inet:ip-address; } } } rpc get-interface-type { input input { leaf intf-name { type string; } } output output { leaf interface-type { type identityref { base interface-type; } } } } rpc get-tunnel-type { input input { leaf intf-name { type string; } } output output { leaf tunnel-type { type identityref { base tunnel-type-base; } } } } rpc get-nodeconnector-id-from-interface { input input { leaf intf-name { type string; } } output output { leaf nodeconnector-id { type inv:node-connector-id; } } } rpc get-interface-from-if-index { input input { leaf if-index { type int32; } } output output { leaf interface-name { type string; } } } rpc get-dpn-interface-list { input input { leaf dpid { type uint64; } } output output { list interfaces { leaf interface-name { type string; } leaf interface-type { type identityref { base interface-type; } } } } }
-
-
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<GetDpidFromInterfaceOutput>>
getDpidFromInterface(GetDpidFromInterfaceInput input)
Invokeget-dpid-from-interface
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>>
getDpnInterfaceList(GetDpnInterfaceListInput input)
Invokeget-dpn-interface-list
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>>
getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
Invokeget-egress-actions-for-interface
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>>
getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
Invokeget-egress-instructions-for-interface
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>>
getEndpointIpForDpn(GetEndpointIpForDpnInput input)
Invokeget-endpoint-ip-for-dpn
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>>
getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
Invokeget-interface-from-if-index
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>>
getInterfaceType(GetInterfaceTypeInput input)
Invokeget-interface-type
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>>
getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
Invokeget-nodeconnector-id-from-interface
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>>
getPortFromInterface(GetPortFromInterfaceInput input)
Invokeget-port-from-interface
RPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>>
getTunnelType(GetTunnelTypeInput input)
Invokeget-tunnel-type
RPC.
-
-
-
Method Detail
-
getDpidFromInterface
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
Invokeget-dpid-from-interface
RPC.used to retrieve dpid from interface name
- Parameters:
input
- ofget-dpid-from-interface
- Returns:
- output of
get-dpid-from-interface
-
getPortFromInterface
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
Invokeget-port-from-interface
RPC.used to retrieve dpid from interface name
- Parameters:
input
- ofget-port-from-interface
- Returns:
- output of
get-port-from-interface
-
getEgressActionsForInterface
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
Invokeget-egress-actions-for-interface
RPC.used to retrieve group actions to use from interface name
- Parameters:
input
- ofget-egress-actions-for-interface
- Returns:
- output of
get-egress-actions-for-interface
-
getEgressInstructionsForInterface
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
Invokeget-egress-instructions-for-interface
RPC.used to retrieve flow instructions to use from interface name
- Parameters:
input
- ofget-egress-instructions-for-interface
- Returns:
- output of
get-egress-instructions-for-interface
-
getEndpointIpForDpn
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> getEndpointIpForDpn(GetEndpointIpForDpnInput input)
Invokeget-endpoint-ip-for-dpn
RPC.to get the local ip of the tunnel/trunk interface
- Parameters:
input
- ofget-endpoint-ip-for-dpn
- Returns:
- output of
get-endpoint-ip-for-dpn
-
getInterfaceType
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
Invokeget-interface-type
RPC.to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)
- Parameters:
input
- ofget-interface-type
- Returns:
- output of
get-interface-type
-
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
-
getNodeconnectorIdFromInterface
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
Invokeget-nodeconnector-id-from-interface
RPC.to get nodeconnector id associated with an interface
- Parameters:
input
- ofget-nodeconnector-id-from-interface
- Returns:
- output of
get-nodeconnector-id-from-interface
-
getInterfaceFromIfIndex
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
Invokeget-interface-from-if-index
RPC.to get interface associated with an if-index
- Parameters:
input
- ofget-interface-from-if-index
- Returns:
- output of
get-interface-from-if-index
-
getDpnInterfaceList
@CheckReturnValue com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
Invokeget-dpn-interface-list
RPC.used to retrieve interface list for a given Dpn
- Parameters:
input
- ofget-dpn-interface-list
- Returns:
- output of
get-dpn-interface-list
-
-