[ovs-git] [openvswitch/ovs] bd0fec: ofproto/bond: Improve admissibility debug readabil...

David Marchand noreply at github.com
Tue Nov 16 14:18:18 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: bd0fec42a28b10e39684430aa702429fcffc90e2
      https://github.com/openvswitch/ovs/commit/bd0fec42a28b10e39684430aa702429fcffc90e2
  Author: David Marchand <david.marchand at redhat.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M lib/lacp.c
    M lib/lacp.h
    M ofproto/bond.c

  Log Message:
  -----------
  ofproto/bond: Improve admissibility debug readability.

The admissibility check currently log a message like (line wrapped in
this commitlog):
bond(revalidator11)|DBG|member (dpdk0): Admissibility
verdict is to drop pkt as different port is learned.active member: false,
may_enable: true enable: true LACP status:2

Fix spaces around the period character and separate debug infos with
commas.
Prefix all log messages in this check with bond and member names.
Display a human readable string for LACP status.

New logs look like:
bond(revalidator11)|DBG|bond dpdkbond0: member dpdk0: admissibility
verdict is to drop pkt as different port is learned, active member: false,
may_enable: true, enabled: true, LACP status: off

Signed-off-by: David Marchand <david.marchand at redhat.com>
Acked-by: Kevin Traynor <ktraynor at redhat.com>
Signed-off-by: Ilya Maximets <i.maximets at ovn.org>




More information about the git mailing list