Class InterfaceManagerRpcService
- java.lang.Object
-
- org.opendaylight.genius.interfacemanager.rpcservice.InterfaceManagerRpcService
-
- All Implemented Interfaces:
OdlInterfaceRpcService
,org.opendaylight.yangtools.yang.binding.RpcService
@Singleton public class InterfaceManagerRpcService extends java.lang.Object implements OdlInterfaceRpcService
-
-
Constructor Summary
Constructors Constructor Description InterfaceManagerRpcService(InterfaceManagerService interfaceManagerService)
-
Method Summary
All Methods Instance Methods Concrete 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.
-
-
-
Constructor Detail
-
InterfaceManagerRpcService
@Inject public InterfaceManagerRpcService(InterfaceManagerService interfaceManagerService)
-
-
Method Detail
-
getEndpointIpForDpn
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> getEndpointIpForDpn(GetEndpointIpForDpnInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-endpoint-ip-for-dpn
RPC.to get the local ip of the tunnel/trunk interface
- Specified by:
getEndpointIpForDpn
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-endpoint-ip-for-dpn
- Returns:
- output of
get-endpoint-ip-for-dpn
-
getInterfaceType
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-interface-type
RPC.to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)
- Specified by:
getInterfaceType
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-interface-type
- Returns:
- output of
get-interface-type
-
getTunnelType
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-tunnel-type
RPC.to get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)
- Specified by:
getTunnelType
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-tunnel-type
- Returns:
- output of
get-tunnel-type
-
getPortFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-port-from-interface
RPC.used to retrieve dpid from interface name
- Specified by:
getPortFromInterface
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-port-from-interface
- Returns:
- output of
get-port-from-interface
-
getNodeconnectorIdFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-nodeconnector-id-from-interface
RPC.to get nodeconnector id associated with an interface
- Specified by:
getNodeconnectorIdFromInterface
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-nodeconnector-id-from-interface
- Returns:
- output of
get-nodeconnector-id-from-interface
-
getInterfaceFromIfIndex
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-interface-from-if-index
RPC.to get interface associated with an if-index
- Specified by:
getInterfaceFromIfIndex
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-interface-from-if-index
- Returns:
- output of
get-interface-from-if-index
-
getDpnInterfaceList
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-dpn-interface-list
RPC.used to retrieve interface list for a given Dpn
- Specified by:
getDpnInterfaceList
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-dpn-interface-list
- Returns:
- output of
get-dpn-interface-list
-
getEgressInstructionsForInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-egress-instructions-for-interface
RPC.used to retrieve flow instructions to use from interface name
- Specified by:
getEgressInstructionsForInterface
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-egress-instructions-for-interface
- Returns:
- output of
get-egress-instructions-for-interface
-
getEgressActionsForInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-egress-actions-for-interface
RPC.used to retrieve group actions to use from interface name
- Specified by:
getEgressActionsForInterface
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-egress-actions-for-interface
- Returns:
- output of
get-egress-actions-for-interface
-
getDpidFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcService
Invokeget-dpid-from-interface
RPC.used to retrieve dpid from interface name
- Specified by:
getDpidFromInterface
in interfaceOdlInterfaceRpcService
- Parameters:
input
- ofget-dpid-from-interface
- Returns:
- output of
get-dpid-from-interface
-
-