@Singleton public class InterfaceManagerRpcService extends Object implements OdlInterfaceRpcService
| Constructor and Description |
|---|
InterfaceManagerRpcService(InterfaceManagerService interfaceManagerService) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> |
getDpidFromInterface(GetDpidFromInterfaceInput input)
used to retrieve dpid from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> |
getDpnInterfaceList(GetDpnInterfaceListInput input)
used to retrieve interface list for a given Dpn
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> |
getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
used to retrieve group actions to use from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> |
getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
used to retrieve flow instructions to use from interface name
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> |
getEndpointIpForDpn(GetEndpointIpForDpnInput input)
to get the local ip of the tunnel/trunk interface
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> |
getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
to get interface associated with an if-index
|
com.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 interface
|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> |
getPortFromInterface(GetPortFromInterfaceInput input)
used to retrieve dpid from interface name
|
com.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.)
|
@Inject public InterfaceManagerRpcService(InterfaceManagerService interfaceManagerService)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> getEndpointIpForDpn(GetEndpointIpForDpnInput input)
OdlInterfaceRpcServicegetEndpointIpForDpn in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture endpointIpForDpn, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
OdlInterfaceRpcServicegetInterfaceType in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture interfaceType, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
OdlInterfaceRpcServicegetTunnelType in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture tunnelType, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
OdlInterfaceRpcServicegetPortFromInterface in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture portFromInterface, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
OdlInterfaceRpcServicegetNodeconnectorIdFromInterface in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture nodeconnectorIdFromInterface, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
OdlInterfaceRpcServicegetInterfaceFromIfIndex in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture interfaceFromIfIndex, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
OdlInterfaceRpcServicegetDpnInterfaceList in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture dpnInterfaceList, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
OdlInterfaceRpcServicegetEgressInstructionsForInterface in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture egressInstructionsForInterface, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
OdlInterfaceRpcServicegetEgressActionsForInterface in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture egressActionsForInterface, or null if not presentpublic com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
OdlInterfaceRpcServicegetDpidFromInterface in interface OdlInterfaceRpcServicecom.google.common.util.concurrent.ListenableFuture dpidFromInterface, or null if not presentCopyright © 2019 OpenDaylight. All rights reserved.