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'].
Change-Id: If8edd29dd741f1688ffcac341fd58173539ba000
Closes-Bug: #1864630
(cherry picked from commit 5600163e9b4fb89b1525e9e415b1fedbe9526501)
(cherry picked from commit 22df4695049b8ee7b19859e5b0633bec29afc9a7)
Reviewed: https:/ /review. opendev. org/751220 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=2711ad5819d 97146528ef94fcc c61ae58915409b
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 2711ad5819d9714 6528ef94fccc61a e58915409b
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'].
Change-Id: If8edd29dd741f1 688ffcac341fd58 173539ba000 b1525e9e415b1fe dbe9526501) 7b19859e5b0633b ec29afc9a7)
Closes-Bug: #1864630
(cherry picked from commit 5600163e9b4fb89
(cherry picked from commit 22df4695049b8ee