You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2018/12/03 14:37:20 UTC

[GitHub] wido opened a new pull request #3077: ipv6: Calculate IPv6 address instead of fetching one from a pool

wido opened a new pull request #3077: ipv6: Calculate IPv6 address instead of fetching one from a pool
URL: https://github.com/apache/cloudstack/pull/3077
 
 
   ## Description
   With IPv6 we are not using DHCP to allocate addresses, but using
   StateLess Address Auto Configuration (SLAAC) a Instance will calculate
   it's own address based on the Router Advertisements send out by the
   routers in the network.
   
   This Advertisement contains the IPv6 Subnet in use in that subnet and
   allows to calculate the stable Address the Instance will obtain based
   on it's MAC Address.
   
   The existing code is 'dead code' as it has been written, but was never
   used by any production code.
   
   SLAAC only works properly with subnets of exactly 64-bits large.
   
   ## Types of changes
   - [ ] Enhancement (improves an existing feature and functionality)
   
   ## Screenshots (if appropriate):
   ![screenshot from 2018-12-03 15-34-52](https://user-images.githubusercontent.com/326786/49380082-1003f680-f711-11e8-8665-60dafe4313ca.png)
   
   ![screenshot from 2018-12-03 15-35-10](https://user-images.githubusercontent.com/326786/49380078-0da19c80-f711-11e8-94b9-86722150a9af.png)
   
   ## How Has This Been Tested?
   On a CloudStack test setup running from master (4.12) and trying manually.
   
   The zone is running with Advanced Networking and Guest Networks have been provided a IPv6 64-bits subnet:
   
   - Advanced Networking
   - Shared VXLAN network
   - Ubuntu 18.04 hypervisors
   
   UnitTesting has also been added to check that the code calculates the IPv6 Address as it should.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services