Comment 10 for bug 1864630

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/rocky)

Reviewed: https://review.opendev.org/751223
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=489ec55094dafa1f151afbfac8fe5ff34fde99c1
Submitter: Zuul
Branch: stable/rocky

commit 489ec55094dafa1f151afbfac8fe5ff34fde99c1
Author: Nguyen Thanh Cong <email address hidden>
Date: Tue Feb 25 17:25:36 2020 +0700

    [OvS] Handle re_added multi ports

    Multiple ports are located in ports_re_added. Assume we have port_one
    and port_two. It will loop through the ports. Port_one is iterated
    first, events ['re_added'] is assigned port_one, events ['removed']
    is assigned port_two. In the second loop, events ['re_added'] is set
    to port_two instead of adding port_two to list. So after the loop,
    only port_two is left in events ['re_added'].

    Conflicts:
        neutron/tests/unit/plugins/ml2/drivers/openvswitch/agent/test_ovs_neutron_agent.py

    Change-Id: If8edd29dd741f1688ffcac341fd58173539ba000
    Closes-Bug: #1864630
    (cherry picked from commit 5600163e9b4fb89b1525e9e415b1fedbe9526501)
    (cherry picked from commit 22df4695049b8ee7b19859e5b0633bec29afc9a7)