[ovs-dev,0/2] OVN: add rate limiting support for controller_events
mbox series

Message ID cover.1564653132.git.lorenzo.bianconi@redhat.com
Headers show
Series
  • OVN: add rate limiting support for controller_events
Related show

Message

Lorenzo Bianconi Aug. 1, 2019, 9:55 a.m. UTC
Introduce the capability to associate a meter to each controller event
type in order to not overload the pinctrl thread under heavy load.
For each event type we need to define a naming convention for the related
meter:
- empty_lb_backends: event-elb

Lorenzo Bianconi (2):
  OVN: add meter support to trigger_event action
  OVN: northd: add rate limiting support for SB controller events

 include/ovn/actions.h |  1 +
 lib/actions.c         | 42 +++++++++++++++++++++++++++++++++++------
 northd/ovn-northd.c   | 44 ++++++++++++++++++++++++++++++++++---------
 ovn-nb.xml            |  8 ++++++++
 tests/ovn.at          |  1 +
 5 files changed, 81 insertions(+), 15 deletions(-)