[ovs-git] [openvswitch/ovs] 44810e: ofproto: Add support to watch controller port live...

vishaldeepajmera noreply at github.com
Fri Mar 6 21:36:44 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 44810e6d411e36efc56e949fd28d804e9750633e
      https://github.com/openvswitch/ovs/commit/44810e6d411e36efc56e949fd28d804e9750633e
  Author: Vishal Deep Ajmera <vishal.deep.ajmera at ericsson.com>
  Date:   2020-03-06 (Fri, 06 Mar 2020)

  Changed paths:
    M NEWS
    M lib/ofp-group.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto-dpif.h
    M ofproto/ofproto.c

  Log Message:
  -----------
  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 at ericsson.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list