[ovs-git] [ovn-org/ovn] 4a6921: binding: fix localnet QoS configuration after I-P

Lorenzo Bianconi noreply at github.com
Fri Sep 25 08:42:53 UTC 2020


  Branch: refs/heads/branch-20.09
  Home:   https://github.com/ovn-org/ovn
  Commit: 4a6921b51b2eae11d09ffd43c82818210982862a
      https://github.com/ovn-org/ovn/commit/4a6921b51b2eae11d09ffd43c82818210982862a
  Author: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
  Date:   2020-09-25 (Fri, 25 Sep 2020)

  Changed paths:
    M controller/binding.c
    M tests/ovn-performance.at
    M tests/system-ovn.at

  Log Message:
  -----------
  binding: fix localnet QoS configuration after I-P

After the I-P has been introduced in commit 354bdba51a ("ovn-controller:
I-P for SB port binding and OVS interface in runtime_data"), the QoS on
localnet ports is not properly configured if the ovs interface is marked
with "ovn-egress-iface" flag after the related record in the
logical_switch_port table is set. The issue can be triggered with the
following reproducer:

$ovn-nbctl set Logical_Switch_Port ln-public options:qos_burst=1000
$ovs-vsctl set interface eth0 external-ids:ovn-egress-iface=true

Fix the issue triggering a recomputation after qos is configured for ovs
interface

Fixes: 354bdba51abf ("ovn-controller: I-P for SB port binding and OVS
interface in runtime_data")

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>

(cherry-picked from master commit ce034ef0f26f8e33e08e82f6453974a5e1a9950d)




More information about the git mailing list