X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;ds=sidebyside;f=openflow-protocol-it%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowjava%2Fprotocol%2Fimpl%2Fintegration%2FMockPlugin.java;fp=openflow-protocol-it%2Fsrc%2Ftest%2Fjava%2Forg%2Fopendaylight%2Fopenflowjava%2Fprotocol%2Fimpl%2Fintegration%2FMockPlugin.java;h=8c5f093f638880cc6c2b20dadead9a9b8a70dca8;hb=d9eb4595415e33a2730aed6931829b5839ed5fb6;hp=e98b48eddc787970e8acf6927b9a256c734565eb;hpb=41e008a8af2f5ee6134a59391235c145a2b27fc1;p=openflowjava.git diff --git a/openflow-protocol-it/src/test/java/org/opendaylight/openflowjava/protocol/impl/integration/MockPlugin.java b/openflow-protocol-it/src/test/java/org/opendaylight/openflowjava/protocol/impl/integration/MockPlugin.java index e98b48ed..8c5f093f 100644 --- a/openflow-protocol-it/src/test/java/org/opendaylight/openflowjava/protocol/impl/integration/MockPlugin.java +++ b/openflow-protocol-it/src/test/java/org/opendaylight/openflowjava/protocol/impl/integration/MockPlugin.java @@ -184,7 +184,14 @@ public class MockPlugin implements OpenflowProtocolListener, SwitchConnectionHan @Override public void onPacketInMessage(PacketInMessage notification) { LOGGER.debug("PacketIn message received"); - + LOGGER.debug("BufferId: " + notification.getBufferId()); + LOGGER.debug("TotalLength: " + notification.getTotalLen()); + LOGGER.debug("Reason: " + notification.getReason()); + LOGGER.debug("TableId: " + notification.getTableId()); + LOGGER.debug("Cookie: " + notification.getCookie()); + LOGGER.debug("Class: " + notification.getMatch().getMatchEntries().get(0).getOxmClass()); + LOGGER.debug("Field: " + notification.getMatch().getMatchEntries().get(0).getOxmMatchField()); + LOGGER.debug("Datasize: " + notification.getData().length); } @Override