]> git.proxmox.com Git - mirror_ovs.git/commit
actions: Make "arp { drop; };" acceptable.
authorBen Pfaff <blp@ovn.org>
Fri, 20 Jan 2017 04:39:26 +0000 (20:39 -0800)
committerBen Pfaff <blp@ovn.org>
Fri, 20 Jan 2017 22:10:35 +0000 (14:10 -0800)
commitbac295648d693edfe437d240cfb24a7c55ec169e
tree439eb88f7f44646cf135078ccd86b4b19233aeea
parentf1393f6f3469c25d22a7633c7b1fe0e8be94ed3d
actions: Make "arp { drop; };" acceptable.

Before this commit, the OVN action parser would accept "arp {};" and then
the formatter would format it back as "arp { drop; };", but the parser
didn't accept the latter.  There were basically two choices: make the
parser accept "arp { drop; };" or make the formatter output "arp {};"
(or both).  This patch does (only) the former, and adds a test to avoid
regression.

Signed-off-by: Ben Pfaff <blp@ovn.org>
Acked-by: Mickey Spiegel <mickeys.dev@gmail.com>
ovn/lib/actions.c
tests/ovn.at