@Singleton public class ArpUtilImpl extends org.opendaylight.infrautils.inject.AbstractLifecycle implements OdlArputilService, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
Constructor and Description |
---|
ArpUtilImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService packetProcessingService,
org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService,
org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService,
OdlInterfaceRpcService odlInterfaceRpcService,
org.opendaylight.infrautils.metrics.MetricProvider metricProvider) |
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMacOutput>> |
getMac(GetMacInput input) |
void |
onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpRequestOutput>> |
sendArpRequest(SendArpRequestInput arpReqInput) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpResponseOutput>> |
sendArpResponse(SendArpResponseInput input) |
com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.TransmitPacketOutput>> |
sendPacketOut(BigInteger dpnId,
byte[] payload,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef ref) |
void |
start() |
void |
stop() |
@Inject public ArpUtilImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingService packetProcessingService, org.opendaylight.controller.md.sal.binding.api.NotificationPublishService notificationPublishService, org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService, OdlInterfaceRpcService odlInterfaceRpcService, org.opendaylight.infrautils.metrics.MetricProvider metricProvider)
public void start()
start
in class org.opendaylight.infrautils.inject.AbstractLifecycle
public void stop()
stop
in class org.opendaylight.infrautils.inject.AbstractLifecycle
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<GetMacOutput>> getMac(GetMacInput input)
getMac
in interface OdlArputilService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpRequestOutput>> sendArpRequest(SendArpRequestInput arpReqInput)
sendArpRequest
in interface OdlArputilService
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.TransmitPacketOutput>> sendPacketOut(BigInteger dpnId, byte[] payload, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef ref)
public com.google.common.util.concurrent.ListenableFuture<org.opendaylight.yangtools.yang.common.RpcResult<SendArpResponseOutput>> sendArpResponse(SendArpResponseInput input)
sendArpResponse
in interface OdlArputilService
public void onPacketReceived(org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketReceived packetReceived)
onPacketReceived
in interface org.opendaylight.yang.gen.v1.urn.opendaylight.packet.service.rev130709.PacketProcessingListener
Copyright © 2019 OpenDaylight. All rights reserved.