[Ryu-devel] [PATCH 2/2] rest_router: Fix conversion of Packet Library to dict

2016-10-18 Thread IWASE Yusuke
On Python3, rest_router fails to compare the type of protocols in the Packet Library instances, because the non-parsed packet data is not str type but bytes type. This patch fixes to compare the protocols instance type with packet_base.PacketBase and enable to convert the Packet Library instances

[Ryu-devel] [PATCH 1/2] dpset: Fix iteration error when disconnecting switches

2016-10-18 Thread IWASE Yusuke
When disconnecting switches, dpset will fail to unregister ports, because size of values in the port state dictionary might be changed when doing the iteration. This patch fixes to copy the values list and fixes this problem. Signed-off-by: IWASE Yusuke ---

Re: [Ryu-devel] OVSDB Manager Attribute error

2016-10-18 Thread Iwase Yusuke
Hi, Sorry, I don't know much about ryu/services/protocols/ovsdb, though... The error you got seems to be raised at the Python 'ovs' library, which is developed by the Open vSwitch project. https://github.com/openvswitch/ovs/tree/master/python How about taking contact to the Open vSwitch