This set of patches allow users to use ovs-ofctl style action strings to build OFPInstructionActions, which may help transition from ovs-ofctl. Support is currently very limited and many from_string() method should be added for this to be useful.
v1 -> v2: - py3 compatibility - added goto_table support and some more tests IWAMOTO Toshihiro (3): nicira_ext: Define some CT constants ofproto: Add ovs-ofctl style action string parser ofproto: Add some tests for ofp_instruction_from_str ryu/exception.py | 4 + ryu/ofproto/nicira_ext.py | 9 ++ ryu/ofproto/nx_actions.py | 94 ++++++++++++++++- ryu/ofproto/nx_match.py | 39 +++++++ ryu/ofproto/ofproto_parser.py | 128 ++++++++++++++++++++++- ryu/ofproto/ofproto_v1_0_parser.py | 11 ++ ryu/ofproto/ofproto_v1_3_parser.py | 11 ++ ryu/ofproto/ofproto_v1_4.py | 18 ++++ ryu/ofproto/ofproto_v1_4_parser.py | 52 ++++++++++ ryu/ofproto/ofproto_v1_5.py | 19 ++++ ryu/ofproto/ofproto_v1_5_parser.py | 52 ++++++++++ ryu/tests/unit/ofproto/test_ofctl_string.py | 154 ++++++++++++++++++++++++++++ 12 files changed, 589 insertions(+), 2 deletions(-) create mode 100644 ryu/tests/unit/ofproto/test_ofctl_string.py -- 2.1.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel