I am working to get more of our internal codebase upstreamable. We more or
less had an exact copy of lib/ofctl_v1_3 without the REST api string
conversion. This series cleans up Flake8 errors as they were found,
introduces the 'to_user' paramater to lib/ofctl_v1_3 to control string
conversion, and consilodates some common code from the various lib/ofctl*.

V2:
    Send a proper patch series

v3:
    Collapse ofctl_common into ofctl_utils

v4:
    Rebase on master

Test results at https://travis-ci.org/jkoelker/ryu/builds/119329996 for
convience.

--

 ryu/lib/ofctl_nicira_ext.py                     | 156 ++++++
 ryu/lib/ofctl_utils.py                          | 205 +++++++
 ryu/lib/ofctl_v1_0.py                           |  49 +-
 ryu/lib/ofctl_v1_2.py                           |  72 +--
 ryu/lib/ofctl_v1_3.py                           | 546 +++++++++----------
 ryu/lib/ofctl_v1_4.py                           | 242 ++------
 ryu/ofproto/nx_actions.py                       |   6 +-
 ryu/ofproto/ofproto_v1_0_parser.py              |  17 +-
 ryu/ofproto/ofproto_v1_2_parser.py              |  10 -
 ryu/ofproto/ofproto_v1_3_parser.py              |  23 +-
 ryu/ofproto/ofproto_v1_4_parser.py              |  13 +-
 .../of13/4-12-ofp_flow_stats_reply.packet.json  |   2 +-
 ryu/tests/unit/lib/test_ofctl.py                |   4 +-
 13 files changed, 738 insertions(+), 607 deletions(-)



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to