With these changes, unit tests passes on python3.4.
IWAMOTO Toshihiro (13):
python3: Store AsciiStringType class data as str
python3: Use six.indexbytes for extracting single byte of data
python3: Partially revert b'str' conversion
python3: Use {encode,decode}('ascii') for text packet data
packet_utils: Remove checksum() side-effect
python3: Convert str to six.binary_type
python3: Use b'str' for binary data
python3: Adapt to iterator change
python3: Round time() return value to microseconds
python3: Misc str related fixups
Use the asciilist type for lists of ip addresses
Fix test packet data generation
python3: Convert chr to six.int2byte
ryu/lib/packet/bfd.py | 6 ++--
ryu/lib/packet/bgp.py | 9 ++---
ryu/lib/packet/cfm.py | 23 ++++++++-----
ryu/lib/packet/dhcp.py | 7 ++--
ryu/lib/packet/icmpv6.py | 39 +++++++++++++++++-----
ryu/lib/packet/igmp.py | 25 +++++++++++---
ryu/lib/packet/ipv6.py | 5 +++
ryu/lib/packet/packet.py | 3 +-
ryu/lib/packet/packet_utils.py | 2 +-
ryu/lib/packet/sctp.py | 30 ++++++++---------
ryu/lib/packet/tcp.py | 3 +-
ryu/lib/stringify.py | 31 +++++++++++++----
ryu/tests/unit/packet/test_bfd.py | 32 +++++++++---------
ryu/tests/unit/packet/test_bgp.py | 44 ++++++++++++------------
ryu/tests/unit/packet/test_bmp.py | 29 +++++++++-------
ryu/tests/unit/packet/test_dhcp.py | 6 ++--
ryu/tests/unit/packet/test_icmp.py | 28 ++++++++--------
ryu/tests/unit/packet/test_icmpv6.py | 4 +--
ryu/tests/unit/packet/test_igmp.py | 5 +--
ryu/tests/unit/packet/test_ipv6.py | 65 ++++++++++++++++++------------------
ryu/tests/unit/packet/test_lldp.py | 33 +++++++++---------
ryu/tests/unit/packet/test_ospf.py | 16 ++++-----
ryu/tests/unit/packet/test_packet.py | 2 +-
ryu/tests/unit/packet/test_pbb.py | 2 +-
ryu/tests/unit/packet/test_slow.py | 8 +++--
ryu/tests/unit/packet/test_tcp.py | 3 +-
ryu/tests/unit/packet/test_vlan.py | 4 +--
ryu/tests/unit/packet/test_vrrp.py | 13 ++++----
ryu/topology/switches.py | 4 +--
29 files changed, 280 insertions(+), 201 deletions(-)
--
2.1.4
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel