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-interfaceRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>>getDpnInterfaceList(GetDpnInterfaceListInput input)Invokeget-dpn-interface-listRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>>getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)Invokeget-egress-actions-for-interfaceRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>>getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)Invokeget-egress-instructions-for-interfaceRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>>getEndpointIpForDpn(GetEndpointIpForDpnInput input)Invokeget-endpoint-ip-for-dpnRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>>getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)Invokeget-interface-from-if-indexRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>>getInterfaceType(GetInterfaceTypeInput input)Invokeget-interface-typeRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>>getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)Invokeget-nodeconnector-id-from-interfaceRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>>getPortFromInterface(GetPortFromInterfaceInput input)Invokeget-port-from-interfaceRPC.com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>>getTunnelType(GetTunnelTypeInput input)Invokeget-tunnel-typeRPC.
-
-
-
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:OdlInterfaceRpcServiceInvokeget-endpoint-ip-for-dpnRPC.to get the local ip of the tunnel/trunk interface- Specified by:
getEndpointIpForDpnin 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:OdlInterfaceRpcServiceInvokeget-interface-typeRPC.to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)- Specified by:
getInterfaceTypein 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:OdlInterfaceRpcServiceInvokeget-tunnel-typeRPC.to get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)- Specified by:
getTunnelTypein 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:OdlInterfaceRpcServiceInvokeget-port-from-interfaceRPC.used to retrieve dpid from interface name- Specified by:
getPortFromInterfacein 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:OdlInterfaceRpcServiceInvokeget-nodeconnector-id-from-interfaceRPC.to get nodeconnector id associated with an interface- Specified by:
getNodeconnectorIdFromInterfacein 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:OdlInterfaceRpcServiceInvokeget-interface-from-if-indexRPC.to get interface associated with an if-index- Specified by:
getInterfaceFromIfIndexin 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:OdlInterfaceRpcServiceInvokeget-dpn-interface-listRPC.used to retrieve interface list for a given Dpn- Specified by:
getDpnInterfaceListin 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:OdlInterfaceRpcServiceInvokeget-egress-instructions-for-interfaceRPC.used to retrieve flow instructions to use from interface name- Specified by:
getEgressInstructionsForInterfacein 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:OdlInterfaceRpcServiceInvokeget-egress-actions-for-interfaceRPC.used to retrieve group actions to use from interface name- Specified by:
getEgressActionsForInterfacein 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:OdlInterfaceRpcServiceInvokeget-dpid-from-interfaceRPC.used to retrieve dpid from interface name- Specified by:
getDpidFromInterfacein interfaceOdlInterfaceRpcService- Parameters:
input- ofget-dpid-from-interface- Returns:
- output of
get-dpid-from-interface
-
-