ofp-parse: Correctly parse actions= in group bucket
authorThomas Graf <tgraf@noironetworks.com>
Tue, 24 Jun 2014 18:29:30 +0000 (20:29 +0200)
committerBen Pfaff <blp@nicira.com>
Tue, 24 Jun 2014 20:10:48 +0000 (13:10 -0700)
commitf1457c26fb2ea5379302bb18a5f27eec21613d53
treefdeee13c26a59d822b0ee28dbdc5daf82889f804
parent451450fa4bdf60bdcf625fe89a432d7df208938b
ofp-parse: Correctly parse actions= in group bucket

Make the parser compatible with how we print group buckets and allow
actions= to be specified, e.g.:

 group_id=1,type=all,bucket=actions=output:2,bucket=actions=output:3

Also, better document the supported syntax in the manual page and
cover both syntax formats in the unit test.

Signed-off-by: Thomas Graf <tgraf@noironetworks.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/ofp-parse.c
tests/ofproto.at
utilities/ovs-ofctl.8.in