azure-container-networking icon indicating copy to clipboard operation
azure-container-networking copied to clipboard

feat: query host to check if dhcp rehydration feature is enabled before issuing dhcp request

Open QxBytes opened this issue 9 months ago • 9 comments

Reason for Change:

There is a temporary workaround in swiftv2 linux which requires the cni to send a dhcp request when adding secondary nics. A more permanent fix is available, but once that is merged in, cni will still attempt to send the dhcp request and will fail perpetually. This PR adds a check to see if the dhcp rehydration feature (the more permanent fix) is enabled on the host before sending the dhcp request.

Issue Fixed:

See above

Requirements:

Notes: Only affects swiftv2 linux setups with delegated nics

QxBytes avatar Jan 07 '25 00:01 QxBytes