Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Got it, Thankyou Yi On Wed, Aug 19, 2015 at 6:48 PM, Yi Tseng wrote: > Hi > > In OpenFlow 1.3 spec > > buffer_id will be OFP_NO_BUFFER(0x) if switch disable buffer (or > there's no buffer in switch). > > > -- > Yi > > 2015-08-19 17:58 GMT+08:00 Vinllen Chen : > >> Hi, Yi, >> >> My switch

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Yi Tseng
Hi In OpenFlow 1.3 spec buffer_id will be OFP_NO_BUFFER(0x) if switch disable buffer (or there's no buffer in switch). -- Yi 2015-08-19 17:58 GMT+08:00 Vinllen Chen : > Hi, Yi, > > My switch is hardware switch. The app is written by myself. > So buffer_id equal 0 means disabling buffe

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Hi, Yi, My switch is hardware switch. The app is written by myself. So buffer_id equal 0 means disabling buffering, am i right ? On Wed, Aug 19, 2015 at 4:35 PM, Yi Tseng wrote: > Hi > > What switch(ovs? LINE? or real hardware?) you use? > > Did you use simple_switch_13? simple_switch_13 use OF

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Yi Tseng
Hi What switch(ovs? LINE? or real hardware?) you use? Did you use simple_switch_13? simple_switch_13 use OFPCML_NO_BUFFER for packet in (line 47) -- Yi 2015-08-19 16:07 GMT+08:00 Vinllen Chen : > Hi, Yi, > > Do you kown the reason that the buffer_id of message is always 0 ? Does it > means th

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Hi, Yi, Do you kown the reason that the buffer_id of message is always 0 ? Does it means that the switch disable the buffering ? Thankyou verymuch. On Wed, Aug 19, 2015 at 3:34 PM, Vinllen Chen wrote: > Aha, It helped me, thankyou Yi ^_^ > > On Wed, Aug 19, 2015 at 3:13 PM, Yi Tseng wrote: >

Re: [Ryu-devel] Send packet-out with buffer_id to reprocess error

2015-08-19 Thread Vinllen Chen
Aha, It helped me, thankyou Yi ^_^ On Wed, Aug 19, 2015 at 3:13 PM, Yi Tseng wrote: > Hi > > "data" should be None if you want to use buffer id. > > so the code should look like this: > > out = datapath.ofproto_parser.OFPPacketOut( > datapath = datapath, > buffer_id = msg.buffer_id, >