The followings improve pcaplib implementation, add the test cases and the documentation for pcaplib.
The example of the documentation for pcaplib: http://ryu-iwase.readthedocs.io/en/pcaplib-adopt_to_python3/library_pcap.html IWASE Yusuke (3): pcaplib: Reduce Pylint warnings test_pcaplib: Add unit tests for pcaplib doc: Add PCAP file library reference doc/source/library.rst | 1 + doc/source/library_pcap.rst | 27 +++ ryu/lib/pcaplib.py | 317 ++++++++++++++------------ ryu/tests/packet_data/pcap/big_endian.pcap | Bin 0 -> 78 bytes ryu/tests/packet_data/pcap/little_endian.pcap | Bin 0 -> 78 bytes ryu/tests/unit/lib/test_pcaplib.py | 230 +++++++++++++++++++ 6 files changed, 433 insertions(+), 142 deletions(-) create mode 100644 doc/source/library_pcap.rst create mode 100644 ryu/tests/packet_data/pcap/big_endian.pcap create mode 100644 ryu/tests/packet_data/pcap/little_endian.pcap create mode 100644 ryu/tests/unit/lib/test_pcaplib.py -- 2.7.4 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel