You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
zedrouter/ipam: drop interface number that produces IP outside DHCP range
If number allocated for app interface (aka application underlay network)
produces IP address outside of DHCP range (meaning that there is no free
IP address left at the moment), then the number should be freed before
trying to create the app again after another app was deleted.
This way zedrouter will reuse interface number from the deleted app
and therefore it will also reuse freed IP address (and the retry attempt
to create the new app will succeed).
Otherwise, zedrouter would just try to use the same IP address outside
the DHCP range and fail repeatedly, even if there is a free IP available
after deletion of another app.
Signed-off-by: Milan Lenco <[email protected]>
(cherry picked from commit 7bf73ae)
0 commit comments