When ofp_handler receives EventOFPErrorMsg, debug log messages are output, but these messages are difficult for users to read. The following patches improves readability of these messages and include some related improvements.
IWASE Yusuke (4): utils: Unify output str format of hex_array() utils: Add binary_str() method to print binary data ofproto_parser: Unify str representation of MsgBase ofp_handler: Output human readable error msg ev log ryu/controller/ofp_handler.py | 23 ++++- ryu/ofproto/ofproto_parser.py | 8 +- ryu/ofproto/ofproto_utils.py | 123 ++++++++++++++++++++++++++ ryu/ofproto/ofproto_v1_0.py | 5 ++ ryu/ofproto/ofproto_v1_2.py | 3 + ryu/ofproto/ofproto_v1_3.py | 4 + ryu/ofproto/ofproto_v1_4.py | 4 + ryu/ofproto/ofproto_v1_5.py | 4 + ryu/tests/unit/ofproto/test_ofproto_parser.py | 24 +++-- ryu/tests/unit/test_utils.py | 55 +++++++++--- ryu/utils.py | 34 +++---- 11 files changed, 235 insertions(+), 52 deletions(-) create mode 100644 ryu/ofproto/ofproto_utils.py -- 1.9.1 ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
