[ovs-git] [openvswitch/ovs] a9e1b6: ovn: Add ct_commit(ct_mark=INT, ct_label=INT); act...

GitHub noreply at github.com
Thu Jun 30 20:09:06 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: a9e1b66f2717a73b35e7bfaebbdcef04e91dc7be
      https://github.com/openvswitch/ovs/commit/a9e1b66f2717a73b35e7bfaebbdcef04e91dc7be
  Author: Russell Bryant <russell at ovn.org>
  Date:   2016-06-30 (Thu, 30 Jun 2016)

  Changed paths:
    M ovn/TODO
    M ovn/lib/actions.c
    M ovn/ovn-sb.xml
    M tests/ovn.at

  Log Message:
  -----------
  ovn: Add ct_commit(ct_mark=INT, ct_label=INT); action.

Update the "ct_commit;" logical flow action to optionally take
one or two parameters, setting the value of "ct_mark" or "ct_label".
Supported ct_commit syntax now includes:

    ct_commit;
    ct_commit();
    ct_commit(ct_mark=1);
    ct_commit(ct_mark=1/1);
    ct_commit(ct_label=1);
    ct_commit(ct_label=1/1);
    ct_commit(ct_mark=1, ct_label=1);

Setting ct_mark via this type of logical flow results in an OpenFlow
flow that looks like:

    actions=ct(commit,zone=NXM_NX_REG5[0..15],exec(set_field:0x1->ct_mark))

Similarly, setting ct_label results in:

    actions=ct(commit,zone=NXM_NX_REG5[0..15],exec(set_field:0x1->ct_label))

A future commit will make use of this feature.

Signed-off-by: Russell Bryant <russell at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>
Acked-by: Justin Pettit <jpettit at ovn.org>




More information about the git mailing list