@Singleton public class InterfaceManagerRpcService extends Object implements OdlInterfaceRpcService
| Constructor and Description |
|---|
InterfaceManagerRpcService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IMdsalApiManager mdsalApiManager) |
| Modifier and Type | Method and Description |
|---|---|
protected Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> |
buildEmptyInterfaceListResult() |
protected static List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> |
buildInstructions(List<InstructionInfo> listInstructionInfo) |
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> |
getDpidFromInterface(GetDpidFromInterfaceInput input)
used to retrieve dpid from interface name
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> |
getDpnInterfaceList(GetDpnInterfaceListInput input)
used to retrieve interface list for a given Dpn
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> |
getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
used to retrieve group actions to use from interface name
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> |
getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
used to retrieve flow instructions to use from interface name
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> |
getEndpointIpForDpn(GetEndpointIpForDpnInput input)
to get the local ip of the tunnel/trunk interface
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> |
getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
to get interface associated with an if-index
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> |
getInterfaceType(GetInterfaceTypeInput input)
to get the type of the interface(vlan, vxlan, vxlan-gpe or gre)
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> |
getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
to get nodeconnector id associated with an interface
|
Future<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> |
getPortFromInterface(GetPortFromInterfaceInput input)
used to retrieve dpid from interface name
|
Future<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(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IMdsalApiManager mdsalApiManager)
public Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpidFromInterfaceOutput>> getDpidFromInterface(GetDpidFromInterfaceInput input)
OdlInterfaceRpcServicegetDpidFromInterface in interface OdlInterfaceRpcServicejava.util.concurrent.Future dpidFromInterface, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEndpointIpForDpnOutput>> getEndpointIpForDpn(GetEndpointIpForDpnInput input)
OdlInterfaceRpcServicegetEndpointIpForDpn in interface OdlInterfaceRpcServicejava.util.concurrent.Future endpointIpForDpn, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressInstructionsForInterfaceOutput>> getEgressInstructionsForInterface(GetEgressInstructionsForInterfaceInput input)
OdlInterfaceRpcServicegetEgressInstructionsForInterface in interface OdlInterfaceRpcServicejava.util.concurrent.Future egressInstructionsForInterface, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceTypeOutput>> getInterfaceType(GetInterfaceTypeInput input)
OdlInterfaceRpcServicegetInterfaceType in interface OdlInterfaceRpcServicejava.util.concurrent.Future interfaceType, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetTunnelTypeOutput>> getTunnelType(GetTunnelTypeInput input)
OdlInterfaceRpcServicegetTunnelType in interface OdlInterfaceRpcServicejava.util.concurrent.Future tunnelType, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetEgressActionsForInterfaceOutput>> getEgressActionsForInterface(GetEgressActionsForInterfaceInput input)
OdlInterfaceRpcServicegetEgressActionsForInterface in interface OdlInterfaceRpcServicejava.util.concurrent.Future egressActionsForInterface, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetPortFromInterfaceOutput>> getPortFromInterface(GetPortFromInterfaceInput input)
OdlInterfaceRpcServicegetPortFromInterface in interface OdlInterfaceRpcServicejava.util.concurrent.Future portFromInterface, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetNodeconnectorIdFromInterfaceOutput>> getNodeconnectorIdFromInterface(GetNodeconnectorIdFromInterfaceInput input)
OdlInterfaceRpcServicegetNodeconnectorIdFromInterface in interface OdlInterfaceRpcServicejava.util.concurrent.Future nodeconnectorIdFromInterface, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetInterfaceFromIfIndexOutput>> getInterfaceFromIfIndex(GetInterfaceFromIfIndexInput input)
OdlInterfaceRpcServicegetInterfaceFromIfIndex in interface OdlInterfaceRpcServicejava.util.concurrent.Future interfaceFromIfIndex, or null if not presentpublic Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> getDpnInterfaceList(GetDpnInterfaceListInput input)
OdlInterfaceRpcServicegetDpnInterfaceList in interface OdlInterfaceRpcServicejava.util.concurrent.Future dpnInterfaceList, or null if not presentprotected Future<org.opendaylight.yangtools.yang.common.RpcResult<GetDpnInterfaceListOutput>> buildEmptyInterfaceListResult()
protected static List<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction> buildInstructions(List<InstructionInfo> listInstructionInfo)
Copyright © 2018 OpenDaylight. All rights reserved.