Add info log about ready DHCP config for ports

DHCP agent sends to neutron-server information about
ports for which DHCP configration is finished.
There was no logged any information about ports which
has got finished this DHCP ports configuration.

This patch adds such log with INFO level. It is the same as
it is currently done in e.g. neutron-ovs-agent.

Change-Id: I9506f855af118bbbd45b55a711504d6ad0f863cc
This commit is contained in:
Slawek Kaplonski 2019-09-05 14:22:58 +02:00
parent 78aae12a88
commit 6367141155
1 changed files with 2 additions and 0 deletions

View File

@ -253,6 +253,8 @@ class DhcpAgent(manager.Manager):
try:
self.plugin_rpc.dhcp_ready_on_ports(ports_to_send)
LOG.info("DHCP configuration for ports %s is completed",
ports_to_send)
continue
except oslo_messaging.MessagingTimeout:
LOG.error("Timeout notifying server of ports ready. "