[ovs-git] [ovn-org/ovn] a123ef: Support packet metadata marking for logical router...

numansiddique noreply at github.com
Tue Jun 23 07:05:07 UTC 2020

  Branch: refs/heads/master
  Home:   https://github.com/ovn-org/ovn
  Commit: a123ef0fb8fd03cc586f924cb511fb24a661743a
  Author: Numan Siddique <numans at ovn.org>
  Date:   2020-06-23 (Tue, 23 Jun 2020)

  Changed paths:
    M NEWS
    M lib/logical-fields.c
    M northd/ovn-northd.c
    M ovn-nb.ovsschema
    M ovn-nb.xml
    M ovn-sb.xml
    M tests/ovn.at

  Log Message:
  Support packet metadata marking for logical router policies.

This patch adds a new column 'options' of type smap in the
Logical_Router_Policy table in the NB DB and supports the key 'pkt_mark'.
CMS can set a desired value for this key in the 'options' column. When this
router policy is applied, the packet metadata is marked with the specified
value (to the NXM_NX_PKT_MARK OVS field).

In the case of Linux, this corresponds to struct sk_buff's "skb_mark"
member and this mark can be seen by the linux networking subsystem.
CMS can inspect this value (as an iptables rule or adding an OF flow
in another ovs bridge) and take appropriate action when the marked packet
leaves the integration bridge via the patch port.

Requested-at: https://bugzilla.redhat.com/show_bug.cgi?id=1828933
Requested-by: Alexander Constantinescu <aconstan at redhat.com>
Acked-by: Dumitru Ceara <dceara at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

More information about the git mailing list