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.
The key difference between v1 and v2 of this patchset is to include support for EXT-187 flow monitors (an extension to OpenFlow1.3). This patch-set depends on: "[PATCH 0/3] Honour NXFMF_OWN flag 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-v2 Simon Horman (47): ofproto: Add ofp14_flow_monitor_{request,command,flags} ofproto: Use ofp14_flow_monitor_flags internally ofp-errors: Add OFPET_FLOW_MONITOR_FAILED ofp-msgs: Add OFPRAW_OFPST14_FLOW_MONITOR_* ofproto: Add ofoperation_has_out_group 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: Add NX flow monitor with out_port test ofproto: OF1.4 flow monitor tests extract-ofp-msg: Add ONF extension support 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+ | 5 - build-aux/extract-ofp-msgs | 17 + include/openflow/openflow-1.3.h | 34 ++ include/openflow/openflow-1.4.h | 124 ++++++ lib/ofp-errors.h | 47 ++- lib/ofp-msgs.c | 45 ++- lib/ofp-msgs.h | 81 ++-- lib/ofp-parse.c | 75 ++-- lib/ofp-print.c | 104 ++++- lib/ofp-util.c | 672 ++++++++++++++++++++++++++++--- lib/ofp-util.h | 16 +- ofproto/connmgr.c | 64 +-- ofproto/connmgr.h | 18 +- ofproto/ofproto-provider.h | 4 +- ofproto/ofproto.c | 198 ++++++--- tests/ofp-print.at | 94 +++++ tests/ofproto.at | 864 +++++++++++++++++++++++++++++++++++++++- utilities/ovs-ofctl.8.in | 12 + utilities/ovs-ofctl.c | 6 +- 19 files changed, 2230 insertions(+), 250 deletions(-) -- 2.0.0.rc2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev