-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
ISSUE TYPE
- Improvement Request
COMPONENT NAME
IPv6
Basic Networking
Advanced Networking
CLOUDSTACK VERSION
master
CONFIGURATION
IPv6
SUMMARY
A lot of the current IPv6 code dates back to 2013 and is poorly implemented.
This code copied IPv4 logic like allocating addresses in a table and then handing them out through DHCP to an Instance to IPv6 and that is not how it works with IPv6.
In Basic Networking and Advanced Networking with Shared Networks IPv6 already works and Security Grouping also supports IPv6.
A lot of the code around IPv6 in CloudStack however still applies logic like "startip" and "endip" for IPv6 while this isn't needed as just the "cidr" is sufficient.
Cleaning up this code will not break existing functionality, but it will remove a lot of dead code and make it more clear for other developers on how the flow works.
This issue is here so that future PRs (which me and @GabrielBrascher will open) can refer to this issue.