[Ryu-devel] how to run ryu-client

2013-06-21 Thread Nikhil
Hello, Please give me some examples for running *ryu-client* * * Best Regards, Nikhil -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev

[Ryu-devel] [PATCH] when lldp packet has padding bytes, stop the buf parse

2013-06-21 Thread holynn
when lldp packet has padding bytes, "00", it will trigger assertion error, this is not we wanted, because som of-switch didn't allow packet which is smaller than 64 bytes to be sent. Signed-off-by: Linlin Hou --- ryu/lib/packet/lldp.py |4 1 file changed, 4 insertions(+) diff --git a/r

Re: [Ryu-devel] when lldp packet has padding, ryu crash

2013-06-21 Thread Isaku Yamahata
Can you please send the patch? On Fri, Jun 21, 2013 at 07:09:39PM +0800, Q Lady wrote: > Because my of switch doesn't allow a packet which is smaller than 64 bytes to > be sent out, so a lldp packet whose length is 51 become 60 ( 64 - 4 CRC > bytes). > That is to say, there will be 9 bytes "00" a

[Ryu-devel] link up and down on and on using topology/swithes.py

2013-06-21 Thread Q Lady
The scenario can be described as follow: link up send 5 lldp packet send 6th lldp packet link down then go to link up, on and on Then I found the reason, it is in topology/swithes.py 768 if port_data.lldp_dropped() > self.LINK_LLDP_DROP: 769 deleted.append(link) I think that is to say, the port

Re: [Ryu-devel] topology/switches.py has bug

2013-06-21 Thread Isaku Yamahata
Yes, thank you for reporting. The patch is available at http://thread.gmane.org/gmane.network.ryu.devel/2446 It seems silently ignored. On Fri, Jun 21, 2013 at 06:59:19PM +0800, Q Lady wrote: > 640 dp.send_packet_out(dp.id, msg.in_port, []) > i think it should be > dp.send_packet_out(msg.buffer_i

Re: [Ryu-devel] when lldp packet has padding, ryu crash

2013-06-21 Thread Q Lady
Because my of switch doesn't allow a packet which is smaller than 64 bytes to be sent out, so a lldp packet whose length is 51 become 60 ( 64 - 4 CRC bytes). That is to say, there will be 9 bytes "00" at the end of lldp packet. So I change lib/packet/lldp.py 140 buf = buf[offset:] To buf = buf[offs

[Ryu-devel] when lldp packet has padding, ryu crash

2013-06-21 Thread Q Lady
Because my of switch doesn't allow a packet which is smaller than 64 bytes to be sent out, so a lldp packet whose length is 51 become 60 ( 64 - 4 CRC bytes). That is to say, there will be 9 bytes "00" at the end of lldp packet. So I change lib/packet/lldp.py 140 buf = buf[offset:] To buf = buf[offs

[Ryu-devel] topology/switches.py has bug

2013-06-21 Thread Q Lady
640 dp.send_packet_out(dp.id, msg.in_port, []) i think it should be dp.send_packet_out(msg.buffer_id, msg.in_port, []) -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev

[Ryu-devel] CLI for RYU

2013-06-21 Thread Nikhil
Hello, Is there any CLI available to the RYU controller ? Best Regards, Nikhil -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev__