[DHCP] Don't resync network if same port is alredy in cache
Sometimes when port is created on dhcp agent's side, it may happend
that same port is already in network cache.
Before this patch if port with same IP address was already in cache,
resync was rescheduled because of duplicate IPs found in cache.
Now resync will be scheduled only if duplicate IP address belongs to
port with different MAC address or different id.
Reviewed: https:/ /review. opendev. org/658307 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5c433a027da ab2419d97482058 9205253871885e
Committed: https:/
Submitter: Zuul
Branch: master
commit 5c433a027daab24 19d974820589205 253871885e
Author: Slawek Kaplonski <email address hidden>
Date: Fri May 10 10:47:00 2019 +0200
[DHCP] Don't resync network if same port is alredy in cache
Sometimes when port is created on dhcp agent's side, it may happend
that same port is already in network cache.
Before this patch if port with same IP address was already in cache,
resync was rescheduled because of duplicate IPs found in cache.
Now resync will be scheduled only if duplicate IP address belongs to
port with different MAC address or different id.
Change-Id: I23afbc10725f5d c78e3c63e6e505e f89ba8dc4a5
Closes-Bug: #1824802