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)used to retrieve dpid from interface namecom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>>getDpnInterfaceList(GetDpnInterfaceListInput input)used to retrieve interface list for a given Dpncom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>>getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)used to retrieve group actions to use from interface namecom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>>getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)used to retrieve flow instructions to use from interface namecom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>>getEndpointIpForDpn(GetEndpointIpForDpnInput input)to get the local ip of the tunnel/trunk interfacecom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>>getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)to get interface associated with an if-indexcom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>>getInterfaceType(GetInterfaceTypeInput input)to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>>getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)to get nodeconnector id associated with an interfacecom.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>>getPortFromInterface(GetPortFromInterfaceInput input)used to retrieve dpid from interface namecom.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.) 
 - 
 
- 
- 
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:OdlInterfaceRpcServiceto get the local ip of the tunnel/trunk interface- Specified by:
 getEndpointIpForDpnin interfaceOdlInterfaceRpcService
 
- 
getInterfaceType
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
Description copied from interface:OdlInterfaceRpcServiceto get the type of the interface(vlan, vxlan, vxlan-gpe or gre)- Specified by:
 getInterfaceTypein interfaceOdlInterfaceRpcService
 
- 
getTunnelType
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
Description copied from interface:OdlInterfaceRpcServiceto get the type of the tunnel interface(vxlan, vxlan-gpe, gre, etc.)- Specified by:
 getTunnelTypein interfaceOdlInterfaceRpcService
 
- 
getPortFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcServiceused to retrieve dpid from interface name- Specified by:
 getPortFromInterfacein interfaceOdlInterfaceRpcService
 
- 
getNodeconnectorIdFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcServiceto get nodeconnector id associated with an interface- Specified by:
 getNodeconnectorIdFromInterfacein interfaceOdlInterfaceRpcService
 
- 
getInterfaceFromIfIndex
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
Description copied from interface:OdlInterfaceRpcServiceto get interface associated with an if-index- Specified by:
 getInterfaceFromIfIndexin interfaceOdlInterfaceRpcService
 
- 
getDpnInterfaceList
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
Description copied from interface:OdlInterfaceRpcServiceused to retrieve interface list for a given Dpn- Specified by:
 getDpnInterfaceListin interfaceOdlInterfaceRpcService
 
- 
getEgressInstructionsForInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
Description copied from interface:OdlInterfaceRpcServiceused to retrieve flow instructions to use from interface name- Specified by:
 getEgressInstructionsForInterfacein interfaceOdlInterfaceRpcService
 
- 
getEgressActionsForInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
Description copied from interface:OdlInterfaceRpcServiceused to retrieve group actions to use from interface name- Specified by:
 getEgressActionsForInterfacein interfaceOdlInterfaceRpcService
 
- 
getDpidFromInterface
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
Description copied from interface:OdlInterfaceRpcServiceused to retrieve dpid from interface name- Specified by:
 getDpidFromInterfacein interfaceOdlInterfaceRpcService
 
 - 
 
 -