mbox series

[ovs-dev,v7,0/6] Expose CT limit via DB

Message ID 20231129072334.91442-1-amusil@redhat.com
Headers show
Series Expose CT limit via DB | expand

Message

Ales Musil Nov. 29, 2023, 7:23 a.m. UTC
The series exposes CT limit via DB, adding
user friendly ovs-vsctl interface. The DB value
has priority before the dpctl interface, this is
achieved by storing which datapath is protected.
The dpctl will return an error if the limit is
already set in DB for that datapath.

Ales Musil (6):
  ct-dpif: Handle default zone limit the same way as other limits.
  dpctl: Allow the default CT zone limit to de deleted.
  ovs-vsctl: Add limit to CT zone.
  vswitchd, ofproto-dpif: Propagate the CT limit from database.
  ct-dpif: Enforce CT zone limit protection.
  tests: Do not use zone 0 for CT limit system test.

 NEWS                       |   7 ++
 lib/conntrack.c            |  14 ++--
 lib/conntrack.h            |   7 +-
 lib/ct-dpif.c              |  53 ++++++++++---
 lib/ct-dpif.h              |  16 ++--
 lib/dpctl.c                |  48 ++++++++---
 lib/dpif-netdev.c          |  21 ++---
 lib/dpif-netlink.c         |  29 ++-----
 lib/dpif-provider.h        |  24 +++---
 ofproto/ofproto-dpif.c     |  52 ++++++++++++
 ofproto/ofproto-dpif.h     |   5 ++
 ofproto/ofproto-provider.h |  13 +++
 ofproto/ofproto.c          |  23 ++++++
 ofproto/ofproto.h          |   4 +
 tests/dpctl.at             |   8 +-
 tests/ovs-vsctl.at         |  88 +++++++++++++++++++-
 tests/system-traffic.at    | 159 +++++++++++++++++++++++++++++++++----
 utilities/ovs-vsctl.8.in   |  31 ++++++--
 utilities/ovs-vsctl.c      | 141 ++++++++++++++++++++++++++++++--
 vswitchd/bridge.c          |  82 ++++++++++++++-----
 vswitchd/vswitch.ovsschema |  14 +++-
 vswitchd/vswitch.xml       |  14 ++++
 22 files changed, 709 insertions(+), 144 deletions(-)