For the discussion with Kawai-San and Fujita-San, this patch
fixes ryu/lib/packet/ethernet.py to fix up the minimum length
of the generated ethernet frames by Ryu's Packet library.

With this patch, the generated ethernet frames will be fixed up
to 60 bytes long at least (not including the preamble and FCS).

IWASE Yusuke (2):
  packet: Fix minimum ethernet frame length
  test_packet: Avoid to use array.array as input binary

 ryu/lib/packet/ethernet.py           |  7 ++++
 ryu/lib/packet/packet.py             |  5 +--
 ryu/tests/unit/packet/test_lldp.py   | 11 +++++-
 ryu/tests/unit/packet/test_packet.py | 66 ++++++++++++++++++++++++------------
 4 files changed, 65 insertions(+), 24 deletions(-)

-- 
2.7.4


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to