[ovs-git] [ovn-org/ovn] 1bdb66: ic: process only local port_bindings

Vladislav Odintsov noreply at github.com
Thu Oct 14 17:14:19 UTC 2021


  Branch: refs/heads/main
  Home:   https://github.com/ovn-org/ovn
  Commit: 1bdb66bd969107a592854414bf0e8022dd54cb0a
      https://github.com/ovn-org/ovn/commit/1bdb66bd969107a592854414bf0e8022dd54cb0a
  Author: Vladislav Odintsov <odivlad at gmail.com>
  Date:   2021-10-14 (Thu, 14 Oct 2021)

  Changed paths:
    M ic/ovn-ic.c

  Log Message:
  -----------
  ic: process only local port_bindings

This commit adds a small optimization by utilizing ovsdb_index
to iterate over port_bindings.
Prior to this change each iteration checked availability_zone
and continued processing only if port_binding belons to local AZ.

Now we run against port_bindings from local AZ only and don't check
availability_zone.

Signed-off-by: Vladislav Odintsov <odivlad at gmail.com>
Acked-by: Numan Siddique <numans at ovn.org>
Signed-off-by: Han Zhou <hzhou at ovn.org>




More information about the git mailing list