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