The DHCP agent was previously resending every single port to
the server whenever sync_state was called, even if it was just
for one network.
This let to sending way too much unnecessary data to the server
and also potentially resulted in sending a port to the server
that wasn't actually provisioned yet.
This patch corrects the behavior by only sending ports for networks
that are being synced if it's a conditional sync.
Closes-Bug: #1639086
Change-Id: Ie7686837b18ff251baa315ef95dc511cda475672
(cherry picked from commit 7dc2707c2b0b05ad7699a24680a5b45e67f717fc)
Reviewed: https:/ /review. openstack. org/394072 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=909ed04c96f df46d39645a79c7 ef4c988fa04877
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 909ed04c96fdf46 d39645a79c7ef4c 988fa04877
Author: Kevin Benton <email address hidden>
Date: Thu Sep 29 01:37:59 2016 -0700
Only mark ports ready on synced networks
The DHCP agent was previously resending every single port to
the server whenever sync_state was called, even if it was just
for one network.
This let to sending way too much unnecessary data to the server
and also potentially resulted in sending a port to the server
that wasn't actually provisioned yet.
This patch corrects the behavior by only sending ports for networks
that are being synced if it's a conditional sync.
Closes-Bug: #1639086 51baa315ef95dc5 11cda475672 d7699a24680a5b4 5e67f717fc)
Change-Id: Ie7686837b18ff2
(cherry picked from commit 7dc2707c2b0b05a