public class DropTestCommiter extends Object
Modifier and Type | Field and Description |
---|---|
protected static Long |
BUFFER_ID |
protected int |
ftrFailed |
protected int |
ftrSuccess |
protected static Integer |
HARD_TIMEOUT |
protected static Integer |
IDLE_TIMEOUT |
protected static Integer |
PRIORITY |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RPC_FUTURE_FAIL_UPDATER |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RPC_FUTURE_SUCCESS_UPDATER |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RUNABLES_EXECUTED |
protected static AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> |
RUNABLES_REJECTED |
protected int |
runablesExecuted |
protected int |
runablesRejected |
protected static short |
TABLE_ID |
Constructor and Description |
---|
DropTestCommiter() |
Modifier and Type | Method and Description |
---|---|
void |
clearStats() |
void |
close() |
void |
countFutureError() |
void |
countFutureSuccess() |
DropTestStats |
getStats() |
void |
onPacketReceived(PacketReceived notification)
Delivery of incoming packet wrapped in openflow structure.
|
protected void |
processPacket(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> node,
Match match,
Instructions instructions) |
void |
setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService) |
void |
setNotificationService(org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService) |
void |
start()
start listening on packetIn.
|
protected static final Integer PRIORITY
protected static final Long BUFFER_ID
protected static final Integer HARD_TIMEOUT
protected static final Integer IDLE_TIMEOUT
protected static final short TABLE_ID
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RPC_FUTURE_SUCCESS_UPDATER
protected volatile int ftrSuccess
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RPC_FUTURE_FAIL_UPDATER
protected volatile int ftrFailed
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RUNABLES_EXECUTED
protected volatile int runablesExecuted
protected static final AtomicIntegerFieldUpdater<org.opendaylight.openflowplugin.testcommon.AbstractDropTest> RUNABLES_REJECTED
protected volatile int runablesRejected
public void start()
public void setDataService(org.opendaylight.controller.md.sal.binding.api.DataBroker dataService)
protected void processPacket(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> node, Match match, Instructions instructions)
public void close()
close
in interface AutoCloseable
public void setNotificationService(org.opendaylight.controller.md.sal.binding.api.NotificationService notificationService)
public final DropTestStats getStats()
public final void clearStats()
public final void onPacketReceived(PacketReceived notification)
PacketProcessingListener
onPacketReceived
in interface PacketProcessingListener
public void countFutureSuccess()
public void countFutureError()
Copyright © 2018 OpenDaylight. All rights reserved.