CLOUDSTACK-10220: Configure IPv4 alias on VR regardless of IPv6#2396
CLOUDSTACK-10220: Configure IPv4 alias on VR regardless of IPv6#2396yadvr merged 2 commits intoapache:masterfrom
Conversation
IPv4 and IPv6 are two different protocols and the presence of IPv6 in a network does not mean that IPv4 aliases/multiple subnets should not be configured or supported by the VR. This if-statement was written almost 5 years ago in a attempt to add IPv6 support to CloudStack but was never fully implemented. Signed-off-by: Wido den Hollander <wido@widodh.nl>
The function isDhcpAccrossMultipleSubnetsSupported() in the same file already does what this if-statement does. This removes duplicate code. Signed-off-by: Wido den Hollander <wido@widodh.nl>
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1642 |
|
@blueorangutan test |
|
@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests |
|
Trillian test result (tid-2109)
|
|
Tests LGTM. Failures not related to this PR. |
rafaelweingartner
left a comment
There was a problem hiding this comment.
Everything seems to be ok. I only think that you should squash commits for this one.
|
Thanks @rafaelweingartner, I'll squas merge this now as we're two code review lgtms and test results. |
Port 4.20 - Incremental volume snapshots Closes apache#2400, apache#2296, and apache#2396 See merge request scclouds/scclouds!976
For some reason when a IPv6 address is present for a NIC IPv4 subnet aliases are not configured on the VR.
This seems to be very old code (>5 yr) and written at a time when IPv6 wasn't implemented in CloudStack
Removing this additional evaluation in the if-statement works for us in Basic Networking