DHCP Agent: Log resource update events
Related-Bug: #2101840 Related-Bug: #2087944 Change-Id: I9bae0c68233a19b643436e6800272ebf50d922af Signed-off-by: elajkat <lajos.katona@est.tech>
This commit is contained in:
@@ -591,6 +591,11 @@ class DhcpAgent(manager.Manager):
|
||||
|
||||
def _process_resource_update(self):
|
||||
for tmp, update in self._queue.each_update_to_next_resource():
|
||||
LOG.debug("Starting processing update %s, action %s, priority %s, "
|
||||
"update_id %s. Wait time elapsed: %.3f",
|
||||
update.id, update.action, update.priority,
|
||||
update.update_id,
|
||||
update.time_elapsed_since_create)
|
||||
method = getattr(self, update.action)
|
||||
method(update.resource)
|
||||
LOG.debug('Pending events to be processed: %s', self._queue.qsize)
|
||||
|
Reference in New Issue
Block a user