Comment 13 for bug 1622879

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to dragonflow (master)

Reviewed: https://review.openstack.org/378413
Committed: https://git.openstack.org/cgit/openstack/dragonflow/commit/?id=70020c87dee775e693a7e73609fb4e715a333a12
Submitter: Jenkins
Branch: master

commit 70020c87dee775e693a7e73609fb4e715a333a12
Author: Hong Hui Xiao <email address hidden>
Date: Wed Sep 28 15:29:12 2016 +0800

    Optimize get_local_ports_to_ofport_mapping

    get_local_ports_to_ofport_mapping will be called when process port.
    It will return all information of chassises and logical ports in
    current node. However, only one chassis or one port will be used.

    When the topology is huge, for example, thousands of chassises and ports,
    it will be time/resource consuming to call the method.

    This patch makes the method just return the wanted information.

    Related-Bug: #1622879

    Change-Id: Ifb51575de444fa28e48a6330debdb72ba37a565c