The following patches improves Pylint result of ryu/lib/packet/bgp
and updates the unit tests of it.
Also, these patches contains the updates of test-requires.

IWASE Yusuke (5):
  test-requires: Add tinyrpc for RPC controller in wsgi
  test-requires: Update to use the latest Pylint
  bgp: fix typos
  packet/bgp: Reduce Pylint warnings
  test_bgp: Enable to test parser with pcap file

 ryu/lib/packet/bgp.py                          | 140 ++++++++++++++-----------
 ryu/lib/packet/safi.py                         |   2 +-
 ryu/tests/packet_data/bgp4/bgp4-keepalive      | Bin 19 -> 0 bytes
 ryu/tests/packet_data/bgp4/bgp4-keepalive.pcap | Bin 0 -> 113 bytes
 ryu/tests/packet_data/bgp4/bgp4-open           | Bin 53 -> 0 bytes
 ryu/tests/packet_data/bgp4/bgp4-open.pcap      | Bin 0 -> 147 bytes
 ryu/tests/packet_data/bgp4/bgp4-update         | Bin 52 -> 0 bytes
 ryu/tests/packet_data/bgp4/bgp4-update.pcap    | Bin 0 -> 146 bytes
 ryu/tests/unit/packet/test_bgp.py              |  25 +++--
 tools/test-requires                            |   3 +-
 10 files changed, 96 insertions(+), 74 deletions(-)
 delete mode 100644 ryu/tests/packet_data/bgp4/bgp4-keepalive
 create mode 100644 ryu/tests/packet_data/bgp4/bgp4-keepalive.pcap
 delete mode 100644 ryu/tests/packet_data/bgp4/bgp4-open
 create mode 100644 ryu/tests/packet_data/bgp4/bgp4-open.pcap
 delete mode 100644 ryu/tests/packet_data/bgp4/bgp4-update
 create mode 100644 ryu/tests/packet_data/bgp4/bgp4-update.pcap

-- 
2.7.4


------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to