This has the effect of exposing an out_group argument to ovs-ofctl's monitor subcommand for use with OpenFlow1.4+.
A subsequent patch will update the documentation for ovs-ofctl. Signed-off-by: Simon Horman <ho...@verge.net.au> --- v2 * No change --- lib/ofp-parse.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/ofp-parse.c b/lib/ofp-parse.c index 612f9c6..a1cec4a 100644 --- a/lib/ofp-parse.c +++ b/lib/ofp-parse.c @@ -1795,6 +1795,13 @@ parse_flow_monitor_request__(struct ofputil_flow_monitor_request *fmr, } } else if (!strcmp(name, "out_port")) { fmr->out_port = u16_to_ofp(atoi(value)); + } else if (!strcmp(name, "out_group")) { + char *error; + error = str_to_group_id(value, &fmr->out_group, false, name); + if (error) { + return error; + } + *usable_protocols &= OFPUTIL_P_OF14_UP; } else if (mf_from_name(name)) { char *error; -- 2.0.0.rc2 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev