Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-27 Thread Benjamin Eggerstedt
Hi, > Thanks. Yeah, the default is 128 bytes. Unless an application > configures the value via OFPT_SET_CONFIG, the default is used. I'll try to explicitly set that once again, but so far I was under the impression that this was already done by the following code. The ofproto.OFPCML_NO_BUFFER is

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-26 Thread FUJITA Tomonori
On Thu, 23 Oct 2014 21:40:04 +0200 Benjamin Eggerstedt wrote: >> Here is a fix. > I can confirm that your fix works fine. Ryu no longer encounters an issue > when the truncated LLDP packet gets in. > Thank you! Applied, thanks for the confirmation. >> The maximu size of a packet that the switch

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-23 Thread Benjamin Eggerstedt
Hi, > Here is a fix. I can confirm that your fix works fine. Ryu no longer encounters an issue when the truncated LLDP packet gets in. Thank you! > The maximu size of a packet that the switch sends to a controller is > 128 bytes? It is not that we couldn't send more from our OmniSwitch, but I gu

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-22 Thread FUJITA Tomonori
On Wed, 22 Oct 2014 20:47:47 +0200 Benjamin Eggerstedt wrote: > Hi, > >> I think so unless such flow is installed. What flows are installed on >> your switch? > > Flow 2 was added afterwards to discard the packet that Ryu didn't like. > Basically just the "Send everything to the controller" flo

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-22 Thread Benjamin Eggerstedt
Hi, > I think so unless such flow is installed. What flows are installed on > your switch? Flow 2 was added afterwards to discard the packet that Ryu didn't like. Basically just the "Send everything to the controller" flow. OS6900-OF-> debug openflow flow-id all Flow ID: 1 Logical Switch: vsw

Re: [Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-22 Thread FUJITA Tomonori
On Sat, 18 Oct 2014 16:03:41 +0200 Benjamin Eggerstedt wrote: > Hi Ryu-Team, > > I noticed the following on one of my laboratory networks. > > If you run the simple_switch_13.py application and you receive an LLDP > packet that is truncated you'll receive an AssertionError. I have attached > a

[Ryu-devel] Issue when incoming LLDP packet is truncated

2014-10-18 Thread Benjamin Eggerstedt
Hi Ryu-Team, I noticed the following on one of my laboratory networks. If you run the simple_switch_13.py application and you receive an LLDP packet that is truncated you'll receive an AssertionError. I have attached a packet capture of the concerning packets and the following behaviour seen on c