[ovs-git] [openvswitch/ovs] 2979b9: bfd: always export remote_state and remote_diagnos...

GitHub noreply at github.com
Fri Oct 23 02:58:07 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 2979b9158bff4d6fcbddf7e09131a8cfeb9ec746
      https://github.com/openvswitch/ovs/commit/2979b9158bff4d6fcbddf7e09131a8cfeb9ec746
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-10-22 (Thu, 22 Oct 2015)

  Changed paths:
    M lib/bfd.c

  Log Message:
  -----------
  bfd: always export remote_state and remote_diagnostic to OVSDB

RFC 5880 specified bfd.RemoteSessionState as one of the state
variables.  In OVS implementation, this value is exported to OVSDB's
BFD status column of the interface table, as one of the map elements,
with the key of 'remote_state'.

It can be surprising when the 'remote_state' map element disappears
when BFD is in the 'DOWN' state, but otherwise always exported.
Change to always exporting it, to make it more predictable for
applications that monitors the BFD status column.

While at it, make the same change to 'remote_diagnostic', so that it
is also always exported to OVSDB for consistency.

VMWare-BZ: 1535979
Reported-by: Mihir Gangar <gangarm at vmware.com>
Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Justin Pettit <jpettit at nicira.com>




More information about the git mailing list