neutron/neutron/agent/dhcp
Slawek Kaplonski aed188c349 Improve DHCP agent's debug messages
When new port is created dhcp agent checks if IP addresses which are
assigned to that port aren't already associated with different ports
which are in agent's cache.
When it finds such duplicate IPs, resync of the network is scheduled.

The problem is that debug message which informs about such duplicate
IPs isn't very "verbose".
With this patch it will log new and cached port ids as well as ip
addresses on both of those ports. That should make easier to understand
why such duplicates are in the cache.

This patch also adds logging when methods like
_{network|subnet|port}_{create|update|delete} are called and with what
arguments exactly. This should help investigation what exactly happens
with some specific port in the dhcp agent.

Related-bug: #1828423

Change-Id: I964a3d843aeedef424a4466932bf702ea1b4320e
(cherry picked from commit 9c2029c2c8)
2021-01-24 09:59:19 +00:00
..
__init__.py DHCP agent restructuring 2015-01-17 01:03:09 -08:00
agent.py Improve DHCP agent's debug messages 2021-01-24 09:59:19 +00:00