Hi Vilius,
I checked the packet capture. I could not see any openflow error
messages returned from the switch for the Flow Modification message issued
from the controller. It seems to suggest that all the flow mods are
accepted. Does this file not capture the packets from your first run where
you said the flows were not installed?
Also if possible, can you point to the packet number (of the PKT-IN msg)
in the capture due to which you think the script crashed?
Regards,
Nitish
On Wed, Nov 26, 2014 at 2:11 PM, Vilius Palubinskas <
[email protected]> wrote:
> Hi Nitish and Ryu team,
>
> Thank you for detailed info.
>
> Still got problems with flows. I am trying to install default flow in
> table 100 which sends packets to controller and after that installs new
> flows in table 200 according to packets. I found that if I run controller
> first time flow is not installed and if I run second time flow is installed
> successfully. But after some time I got this error:
>
>
> packet in 585321643271168 00:15:2b:19:a9:c0 ff:ff:ff:ff:ff:ff 3
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> hub: uncaught exception: Traceback (most recent call last):
> File "/home/vilpalu/ryu/ryu/lib/hub.py", line 52, in _launch
> func(*args, **kwargs)
> File "/home/vilpalu/ryu/ryu/base/app_manager.py", line 274, in
> _event_loop
> handler(ev)
> File "/home/vilpalu/ryu/ryu/app/HP_switch.py", line 80, in
> _packet_in_handler
> pkt = packet.Packet(msg.data)
> File "/home/vilpalu/ryu/ryu/lib/packet/packet.py", line 45, in __init__
> self._parser(parse_cls)
> File "/home/vilpalu/ryu/ryu/lib/packet/packet.py", line 51, in _parser
> proto, cls, rest_data = cls.parser(rest_data)
> File "/home/vilpalu/ryu/ryu/lib/packet/ospf.py", line 625, in parser
> raise InvalidChecksum
> InvalidChecksum
>
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> EVENT ofp_event->SimpleSwitch13 EventOFPPacketIn
> connected socket:<eventlet.greenio.GreenSocket object at 0xb66e86ac>
> address:('10.0.0.2', 54484)
> hello ev <ryu.controller.ofp_event.EventOFPHello object at 0xb66e88cc>
> move onto config mode
> EVENT ofp_event->SimpleSwitch13 EventOFPSwitchFeatures
> connected socket:<eventlet.greenio.GreenSocket object at 0xb66e8a0c>
> address:('10.0.0.2', 58543)
>
>
> Looks like controller stuck after malformed packet?
>
> Attaching wireshark packet trance and app code.
>
> Regards,
> Vilius.
>
>
>
>
>
> From: nitish nagesh [mailto:[email protected]]
> Sent: Tuesday, November 25, 2014 2:16 PM
> To: Palubinskas Vilius
> Cc: [email protected]; [email protected]
> Subject: Re: [Ryu-devel] HP 2920 1.3OF
>
> Hello Vilius,
> There are 2 modes in which OpenFlow works on HP switches (for the
> firmware you are using). Depending on the mode the OpenFlow pipeline would
> be different.
> 1) Standard Match Mode (DEFAULT)
>
> 0 ---------> 100 -------------> 200 -------> 201 -----------> 202
> --------> 203 ----------> 204
> 0 : Pipeline start. This is a READ ONLY table. You cant program rules
> on this
> 100: HardwareTable
> 200+: Software tables.
>
> 2) IP Control Table Mode.
>
> 0 -----------> 50 ------------> 101 ------------------> 200 ------>
> 201 -----------> 202 --------> 203 ----------> 204
> | | |
> | | |
> | |-----------------> 102 ------------------> |
> | |
> ------------------> 100 --------------------------------------|
>
> 0 : Pipeline start. This is a READ ONLY table. You can't program rules
> on this
> 50: IP Control Table.
> 101: IP Match Table
> 102: IP Miss table
> 100: Non IP table
> 200+ : Software Tables.
>
> Not sure why the switch is disconnecting and reconnecting. Can you share
> the output of "show logging -r" command on the switch when this is
> happening? Also if possible share the packet capture between the switch and
> the controller.
> Regards,
> Nitish
>
>
>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel