commit 5754f00ea8734a894e0c7963d46244ba7dc0dbe7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Jun 25 12:10:44 2019 +0000
[DHCP] Implement an aging method for deleted_ports
When a port is deleted, is added to the NetworkCache instance
as a "deleted port". This set of ports is used by the DHCP agent
to mark out as "stalled" any message received with this port
in the payload.
Eventually, each deleted port should be dropped from this set
depending on when was deleted. A timeout of 1 day has been defined
in this patch to drop any older deleted port.
A "loopingcall.FixedIntervalLoopingCall" executes the deleted port
cleanup, with an execution interval of 1 day too.
Co-Authored-By: Rodolfo Alonso Hernandez <email address hidden>
Partial-Bug: #1732458
Reviewed: https:/ /review. opendev. org/521035 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=5754f00ea87 34a894e0c7963d4 6244ba7dc0dbe7
Committed: https:/
Submitter: Zuul
Branch: master
commit 5754f00ea8734a8 94e0c7963d46244 ba7dc0dbe7
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Jun 25 12:10:44 2019 +0000
[DHCP] Implement an aging method for deleted_ports
When a port is deleted, is added to the NetworkCache instance
as a "deleted port". This set of ports is used by the DHCP agent
to mark out as "stalled" any message received with this port
in the payload.
Eventually, each deleted port should be dropped from this set
depending on when was deleted. A timeout of 1 day has been defined
in this patch to drop any older deleted port.
A "loopingcall. FixedIntervalLo opingCall" executes the deleted port
cleanup, with an execution interval of 1 day too.
Co-Authored-By: Rodolfo Alonso Hernandez <email address hidden>
Partial-Bug: #1732458
Change-Id: I0bca03a67e8b0f f8f508cf5938334 0a13724e51c