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.
I had planned to include support for EXT-187 flow monitors (an extension to OpenFlow1.3) in this patch-set. However, I have decided not to as there appear to be enough differences between EXT-187 and both OpenFlow1.4 and NX flow monitors that it appears to be a small body of work on its own. I now plan to work on support for EXT-187 as a follow-up patch-set. 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 Simon Horman (32): ofproto: Add ofp14_flow_monitor_{request,command,flags} ofproto: Use ofp14_flow_monitor_flags internally ofp-errors: Add OFPET_FLOW_MONITOR_FAILED ofp-errors: 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: Add NX flow monitor with !own test ofproto: OF1.4 flow monitor tests include/openflow/openflow-1.4.h | 124 +++++++++ lib/ofp-errors.h | 47 +++- lib/ofp-msgs.h | 12 +- lib/ofp-parse.c | 75 +++-- lib/ofp-print.c | 104 ++++++- lib/ofp-util.c | 590 +++++++++++++++++++++++++++++++++++----- lib/ofp-util.h | 16 +- ofproto/connmgr.c | 64 +++-- ofproto/connmgr.h | 18 +- ofproto/ofproto-provider.h | 4 +- ofproto/ofproto.c | 193 +++++++++---- tests/ofp-print.at | 39 +++ tests/ofproto.at | 562 +++++++++++++++++++++++++++++++++++++- utilities/ovs-ofctl.8.in | 12 + utilities/ovs-ofctl.c | 6 +- 15 files changed, 1655 insertions(+), 211 deletions(-) -- 2.0.0.rc2 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
