[ovs-git] [openvswitch/ovs] 1b0ee6: ofp-actions: Include OFPACT_REG_MOVE in action set

GitHub noreply at github.com
Fri Aug 15 16:45:48 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 1b0ee636c467b1e946697a320f8130db13541da7
      https://github.com/openvswitch/ovs/commit/1b0ee636c467b1e946697a320f8130db13541da7
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2014-08-15 (Fri, 15 Aug 2014)

  Changed paths:
    M NEWS
    M lib/ofp-actions.c
    M tests/ofproto-dpif.at
    M utilities/ovs-ofctl.8.in

  Log Message:
  -----------
  ofp-actions: Include OFPACT_REG_MOVE in action set

Treating OFPACT_REG_MOVE as a "set" action preserves the order of loads
and moves and allows a load to overwrite a previous move to the same
register.

This makes the following work:

add-group br0 group_id=1234,type=all, \
        bucket=output:10,move:NXM_NX_REG1[]->NXM_OF_IP_SRC[], \
			  bucket=output:11
add-flow br0 ip actions=load:0xffffffff->NXM_NX_REG1[],group:1234

Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list