OpenStack is gaining momentum for python3 adoption and rejecting non-python3-compatible libraries. So, let's make ryu python3 compatible for better OpenStack integration.
This patchset is a only start of the effort. More will come. IWAMOTO Toshihiro (5): tox.ini: Be able to run python3 unit tests ofproto: Fix ImportError on python3 python3: Fix starndard library imports python3: Adapt to new iterator names python3: Use bytes type for binary data ryu/app/client.py | 22 ++++----- ryu/app/ofctl_rest.py | 2 +- ryu/app/rest_conf_switch.py | 10 ++-- ryu/app/rest_quantum.py | 2 +- ryu/app/rest_router.py | 2 +- ryu/app/simple_isolation.py | 2 +- ryu/base/app_manager.py | 8 ++-- ryu/cmd/rpc_cli.py | 2 +- ryu/cmd/ryu_base.py | 2 +- ryu/controller/conf_switch.py | 4 +- ryu/controller/dpset.py | 4 +- ryu/controller/handler.py | 4 +- ryu/controller/network.py | 4 +- ryu/lib/bfdlib.py | 4 +- ryu/lib/ovs/vsctl.py | 6 +-- ryu/lib/packet/bfd.py | 10 ++-- ryu/lib/packet/bgp.py | 4 +- ryu/lib/packet/bmp.py | 2 +- ryu/lib/packet/cfm.py | 18 +++---- ryu/lib/packet/dhcp.py | 2 +- ryu/lib/packet/ipv6.py | 4 +- ryu/lib/packet/ospf.py | 2 +- ryu/lib/quantum_ifaces.py | 2 +- ryu/lib/stplib.py | 2 +- ryu/lib/stringify.py | 6 +-- ryu/lib/type_desc.py | 6 ++- ryu/ofproto/ofproto_parser.py | 2 +- ryu/ofproto/ofproto_v1_2_parser.py | 10 ++-- ryu/ofproto/ofproto_v1_3_parser.py | 6 +-- ryu/ofproto/ofproto_v1_4_parser.py | 10 ++-- ryu/ofproto/ofproto_v1_5_parser.py | 12 ++--- ryu/services/protocols/bgp/api/base.py | 2 +- ryu/services/protocols/bgp/api/rtconf.py | 2 +- ryu/services/protocols/bgp/application.py | 2 +- ryu/services/protocols/bgp/bmp.py | 4 +- ryu/services/protocols/bgp/core.py | 6 +-- .../protocols/bgp/core_managers/peer_manager.py | 16 +++---- .../protocols/bgp/core_managers/table_manager.py | 4 +- ryu/services/protocols/bgp/info_base/base.py | 8 ++-- ryu/services/protocols/bgp/info_base/vrf.py | 6 +-- ryu/services/protocols/bgp/operator/command.py | 8 ++-- .../bgp/operator/commands/show/neighbor.py | 2 +- .../protocols/bgp/operator/commands/show/rib.py | 2 +- .../commands/show/route_formatter_mixin.py | 4 +- .../protocols/bgp/operator/commands/show/vrf.py | 6 +-- .../protocols/bgp/operator/internal_api.py | 10 ++-- ryu/services/protocols/bgp/operator/views/base.py | 16 +++---- ryu/services/protocols/bgp/peer.py | 16 +++---- ryu/services/protocols/bgp/rtconf/neighbors.py | 8 ++-- ryu/services/protocols/bgp/rtconf/vrfs.py | 2 +- ryu/services/protocols/bgp/utils/bgp.py | 2 +- ryu/services/protocols/bgp/utils/dictconfig.py | 4 +- ryu/services/protocols/bgp/utils/rtfilter.py | 2 +- ryu/tests/switch/tester.py | 6 +-- ryu/tests/unit/app/test_tester.py | 2 +- ryu/tests/unit/ofproto/test_parser.py | 2 +- ryu/tests/unit/ofproto/test_parser_compat.py | 2 +- ryu/tests/unit/ofproto/test_parser_ofpmatch.py | 4 +- ryu/tests/unit/packet/test_bfd.py | 2 +- ryu/tests/unit/packet/test_cfm.py | 26 +++++----- ryu/tests/unit/packet/test_dhcp.py | 56 +++++++++++----------- ryu/tests/unit/packet/test_ipv6.py | 24 +++++----- ryu/topology/switches.py | 6 +-- ryu/utils.py | 2 +- tox.ini | 3 +- 65 files changed, 222 insertions(+), 221 deletions(-) -- 2.1.4 ------------------------------------------------------------------------------ _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
