]> git.proxmox.com Git - mirror_ovs.git/commit - NEWS
ofproto: Add support to watch controller port liveness in fast-failover group
authorVishal Deep Ajmera <vishal.deep.ajmera@ericsson.com>
Mon, 3 Feb 2020 10:32:46 +0000 (11:32 +0100)
committerBen Pfaff <blp@ovn.org>
Fri, 6 Mar 2020 21:25:23 +0000 (13:25 -0800)
commit44810e6d411e36efc56e949fd28d804e9750633e
treef93ce69ca637eedafac47e0bc65c6a1995463cd0
parentd57b89f3268dd918cf5800f2887f6e4dd6e3b967
ofproto: Add support to watch controller port liveness in fast-failover group

Currently fast-failover group does not support checking liveness of controller
port (OFPP_CONTROLLER). However this feature can be useful for selecting
alternate pipeline when controller connection itself is down for e.g.
by using local DHCP server to reply for any DHCP request originating from VMs.

This patch adds the support for watching controller port liveness in fast-
failover group. Controller port is considered live when atleast one
of-connection is alive.

Example usage:

ovs-ofctl add-group br-int 'group_id=1234,type=ff,
          bucket=watch_port:CONTROLLER,actions:<A>,
          bucket=watch_port:1,actions:<B>

Signed-off-by: Vishal Deep Ajmera <vishal.deep.ajmera@ericsson.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
NEWS
lib/ofp-group.c
ofproto/ofproto-dpif-xlate.c
ofproto/ofproto-dpif.c
ofproto/ofproto-dpif.h
ofproto/ofproto.c