receiveDataPacket() is not receving openflow packets from switch

asked 2015-05-19 09:00:23 -0700

kjain gravatar image


I am trying to receive openflow packets from switch using receiveDataPacket() routine. My code is like:

@override public PacketResult receiveDataPacke(RawPacket inPkt) { Packet pkt = dataPacketService.decodePacket(inPkt); if (pkt instanceof Ethernet) {

All I see is ethernet type 88cc, while I am expecting Ethernet type 0x800. I can see TCP packets from switch on my controller though

I am simply loading my .jar file with "install file://<file pathname="">" command</file>

Am I missing something here?



edit retag flag offensive close merge delete


You need to register to the notifications for your class to receive any kind of event. Did you do that?

VincentJahjah ( 2017-08-28 10:53:23 -0700 )edit