Performacne improvements via adding a netty-based openflowj and openflow plugin;... 09/809/3
authorColin Dixon <ckd@us.ibm.com>
Tue, 6 Aug 2013 15:30:53 +0000 (10:30 -0500)
committerColin Dixon <ckd@us.ibm.com>
Wed, 7 Aug 2013 22:04:04 +0000 (17:04 -0500)
This code builds, runs and switches can connect, but there are still a few bugs to work out. I'm quoting Anil Vishnoi below:

===

Now controller starts up fine, and also shows the switches on dashboard when i connect mininet to the controller. But I see following error and exception when i try pingall from mininet.

1)
2013-08-08 00:12:07.625 IST [New I/O server worker #1-2] INFO  o.o.c.p.o.i.OFStatisticsManager - Added Switch 00:00:00:00:00:00:00:01 to target pool
2013-08-08 00:12:09.695 IST [New I/O server worker #1-2] WARN  o.o.c.p.o.c.i.EnhancedSwitchHandler - Timeout while waiting for FLOW_MOD reply
2013-08-08 00:12:09.696 IST [New I/O server worker #1-2] WARN  o.o.c.f.i.ForwardingRulesManager - SDN Plugin failed to program the flow: FlowEntry[flowName = cbenchflow, groupName = cbenchpolicy, node = OF|00:00:00:00:00:00:00:01, flow = Flow[match = Match[[DL_SRC(16:2d:e9:46:41:90,null)]], actions = [DROP], priority = 111, id = 0, idleTimeout = 5, hardTimeout = 0]]. The failure is: Failed to add the flow: Request Timed Out
2013-08-08 00:12:09.696 IST [New I/O server worker #1-2] WARN  o.o.c.f.i.ForwardingRulesManager - Failed to install the entry: [Install = FlowEntry[flowName = cbenchflow, groupName = cbenchpolicy, node = OF|00:00:00:00:00:00:00:01, flow = Flow[match = Match[[DL_SRC(16:2d:e9:46:41:90,null)]], actions = [DROP], priority = 111, id = 0, idleTimeout = 5, hardTimeout = 0]] Original = FlowEntry[flowName = cbenchflow, groupName = cbenchpolicy, node = OF|00:00:00:00:00:00:00:01, flow = Flow[match = Match[[DL_SRC(16:2d:e9:46:41:90,null)]], actions = [DROP], priority = 111, id = 0, idleTimeout = 5, hardTimeout = 0]] cFlow = null rid = 0]. The failure is: Failed to add the flow: Request Timed Out
2013-08-08 00:12:09.697 IST [New I/O server worker #1-2] ERROR o.o.c.s.r.i.ReactiveForwardingService - Error in installing flow entry to node : OF|00:00:00:00:00:00:00:01

2)
2013-08-08 00:12:27.748 IST [Statistics Collector] WARN  o.o.c.p.o.c.i.EnhancedSwitchHandler - Timeout while waiting for STATS_REQUEST replies
2013-08-08 00:12:27.748 IST [Statistics Collector] WARN  o.o.c.p.o.i.OFStatisticsManager - Request Timed Out for (TABLE) from switch 00:00:00:00:00:00:00:01
2013-08-08 00:12:29.749 IST [Statistics Collector] WARN  o.o.c.p.o.c.i.EnhancedSwitchHandler - Timeout while waiting for STATS_REQUEST replies
2013-08-08 00:12:29.749 IST [Statistics Collector] WARN  o.o.c.p.o.i.OFStatisticsManager - Request Timed Out for (PORT) from switch 00:00:00:00:00:00:00:01
2013-08-08 00:12:31.750 IST [Statistics Collector] WARN  o.o.c.p.o.c.i.EnhancedSwitchHandler - Timeout while waiting for STATS_REQUEST replies
2013-08-08 00:12:31.750 IST [Statistics Collector] WARN  o.o.c.p.o.i.OFStatisticsManager - Request Timed Out for (FLOW) from switch 00:00:00:00:00:00:00:01
2013-08-08 00:12:33.751 IST [Statistics Collector] WARN  o.o.c.p.o.c.i.EnhancedSwitchHandler - Timeout while waiting for STATS_REQUEST replies

3)
2013-08-08 00:13:17.565 IST [New I/O server worker #1-2] ERROR o.o.c.s.i.internal.DataPacketService -
org.opendaylight.controller.sal.packet.PacketException: Illegal arguement/out of bound exception - data.length = 22 startOffset = 144 numBits 48
at org.opendaylight.controller.sal.packet.Packet.serialize(Packet.java:187) ~[na:na]
at org.opendaylight.controller.sal.packet.Packet.serialize(Packet.java:163) ~[na:na]
at org.opendaylight.controller.sal.implementation.internal.DataPacketService.encodeDataPacket(DataPacketService.java:505) ~[na:na]
at org.opendaylight.controller.arphandler.internal.ArpHandler.sendBcastARPRequest(ArpHandler.java:354) ~[na:na]
at org.opendaylight.controller.arphandler.internal.ArpHandler.handleARPPacket(ArpHandler.java:282) ~[na:na]
at org.opendaylight.controller.arphandler.internal.ArpHandler.receiveDataPacket(ArpHandler.java:548) ~[na:na]
at org.opendaylight.controller.sal.implementation.internal.DataPacketService.dispatchPacket(DataPacketService.java:159) ~[na:na]
at org.opendaylight.controller.sal.implementation.internal.DataPacketService.receiveDataPacket(DataPacketService.java:455) ~[na:na]
at org.opendaylight.controller.protocol_plugin.openflow.internal.DataPacketMuxDemux.receive(DataPacketMuxDemux.java:195) ~[na:na]
at org.opendaylight.controller.protocol_plugin.openflow.core.internal.EnhancedController.switchMessage(EnhancedController.java:598) ~[na:na]

Change-Id: I101a0b2a9993b0d9301ae4210da0be002d322e7f
Signed-off-by: Colin Dixon <ckd@us.ibm.com>

No differences found