]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
ofproto: Support packet_outs in bundles.
authorJarno Rajahalme <jarno@ovn.org>
Wed, 14 Sep 2016 23:51:27 +0000 (16:51 -0700)
committerJarno Rajahalme <jarno@ovn.org>
Wed, 14 Sep 2016 23:51:27 +0000 (16:51 -0700)
commit6dd3c787f5914ea27b239b6852d8fc0815033128
tree69fc093392b33e9b3f4043359a225eebd12a39b4
parent1f4a893366826e392722d5b1ba59e94331bfe5c9
ofproto: Support packet_outs in bundles.

Add support for OFPT_PACKET_OUT messages in bundles.

While ovs-ofctl already has a packet-out command, we did not have a
string parser for it, as the parsing was done directly from command
line arguments.

This patch adds the string parser for packet-out messages, adds
support for it into the 'ovs-ofctl packet-out' command, and adds a new
ofctl/packet-out ovs-appctl command that can be used when ovs-ofctl is
used as a flow monitor.  The old 'ovs-ofctl packet-out syntax is
deprecated' and will be removed in a later OVS release.

The new packet-out parser is further supported with the ovs-ofctl
bundle command, which allows bundles to mix flow mods, group mods and
packet-out messages.  Also the packet-outs in bundles are only
executed if the whole bundle is successful.  A failing packet-out
translation may also make the whole bundle to fail.

Signed-off-by: Jarno Rajahalme <jarno@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
15 files changed:
NEWS
include/openvswitch/ofp-parse.h
include/openvswitch/ofp-util.h
lib/ofp-parse.c
lib/ofp-util.c
ofproto/bundles.h
ofproto/ofproto-dpif.c
ofproto/ofproto-provider.h
ofproto/ofproto.c
tests/bfd.at
tests/cfm.at
tests/ofp-print.at
tests/ofproto.at
utilities/ovs-ofctl.8.in
utilities/ovs-ofctl.c