Hi, this patch-set is a first-pass at adding support for OpenFlow1.4 flow monitor. It leverages the existing NX flow monitor extension. There are, however, enough differences between the two to make this a substantial patch-set.
Key difference between v2 and v3 * Dropped patches that have been merged (thanks!) * Rebased, in particular for removal of asynchronous operations Key difference between v1 and v2 * include support for EXT-187 flow monitors (an extension to OpenFlow1.3). This patch-set depends on: "ofproto: Honour out_port of flow monitors" To aid review this patch-set and its dependencies are available in git at https://github.com/horms/openvswitch.git devel/flow_monitor-v3 Simon Horman (41): ofproto: Use ofp14_flow_monitor_flags internally connmgr: Support OFPFMF14_ONLY_OWN ofp-util: Add command and out_group to struct ofputil_flow_monitor_request ofp-parse: Initialise flow monitor out_group connmgr: Add out_group to struct ofmonitor connmgr: Support monitor out_group ofproto: Add out_group support to flow monitors ofproto: Use list when handling monitor requests ofproto: Break out monitor deletion code ofproto: Handle monitor and delete commands in flow monitor requests ofp-util: Add decoder for OF1.4 flow monitor request messages ofp-print: Support printing of OF1.4 Flow Monitor Requests ofputil: Support encoding OF1.4 flow monitor requests ofproto: Add ofp14_flow_update_{header,event,full,abbrev,paused} ofp-util: Use enum ofp14_flow_update_event in struct ofputil_flow_update ofproto: Provide flow monitor paused and resumed reply composition helpers ofp-util: Support encoding of OF1.4 flow monitor replies ofproto: Support OpenFlow1.4 flow monitor replies ofp-util: Support Decoding of OF14 Flow Monitor Replies ofp-print: Support Printing of OF14 Flow Monitor Replies ofp-parse: Provide helper to parse group id ofp-parse: Allow parsing of flow monitor request's out_group ovs-ofctl: Document out_group parameter of monitor subcommand ofp-parse: Allow parsing of flow monitor request's only_own flag ovs-ofctl: Document !other parameter of monitor subcommand ofproto: OF1.4 flow monitor tests ofproto: Add OFPRAW_ONFST13_FLOW_* ofproto: Add onf13_experimenter_{multipart_msg,header} ofp-msg: Support encoding of ONF extensions for OF1.3 ofp-msg: Support decoding of ONF extensions for OF1.3 ofp-print: Test of EXT-187 cancel, paused and resumed messages ofproto: Add onf13_flow_monitor_request ofp-util: ofputil_flow_monitor_request abstracts onf13_flow_monitor_request ofp-util: Support decoding of EXT-187 requests ofp-print: Test EXT-187 requests ofp-util: Support encoding of EXT-187 requests ofp-util: Support decoding of EXT-187 replies ofp-print: Test of EXT-187 replies ofp-util: Support encoding of EXT-187 replies ofproto: EXT-187 tests openflow: EXT-187 is now supported OPENFLOW-1.1+ | 6 - include/openflow/openflow-1.3.h | 34 ++ include/openflow/openflow-1.4.h | 77 ++++ lib/ofp-msgs.c | 45 ++- lib/ofp-msgs.h | 53 ++- lib/ofp-parse.c | 75 ++-- lib/ofp-print.c | 104 +++++- lib/ofp-util.c | 663 ++++++++++++++++++++++++++++++--- lib/ofp-util.h | 16 +- ofproto/connmgr.c | 66 ++-- ofproto/connmgr.h | 18 +- ofproto/ofproto-provider.h | 4 +- ofproto/ofproto.c | 175 ++++++--- tests/ofp-print.at | 94 +++++ tests/ofproto.at | 806 ++++++++++++++++++++++++++++++++++++++++ utilities/ovs-ofctl.8.in | 12 + utilities/ovs-ofctl.c | 6 +- 17 files changed, 2035 insertions(+), 219 deletions(-) -- 2.0.0.rc2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev