fix - Interfaces with no ip for ubuntu older versions getting default ip #1340
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue Description
On Ubuntu 16.04 VMs with multiple network interfaces, an interface configured without a static IP (i.e., no IP address assigned) would unexpectedly obtain a DHCP-assigned IP address after migration when using network persistence.
fix #1341
Change Introduced
In this PR, we have implemented a mechanism to prevent such interfaces from acquiring an IP address post-migration.
Testing Performed