Merge ~harald-jensas/cloud-init:bug/1847517 into cloud-init:master
Status: | Merged |
---|---|
Approved by: | Ryan Harper |
Approved revision: | 4cd556d88a2660dd383bbff2664f08a77f915016 |
Merge reported by: | Server Team CI bot |
Merged at revision: | not available |
Proposed branch: | ~harald-jensas/cloud-init:bug/1847517 |
Merge into: | cloud-init:master |
Diff against target: |
210 lines (+141/-3) 5 files modified
cloudinit/net/eni.py (+6/-1) cloudinit/net/sysconfig.py (+6/-1) cloudinit/sources/helpers/openstack.py (+2/-1) tests/unittests/test_datasource/test_configdrive.py (+39/-0) tests/unittests/test_net.py (+88/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ryan Harper | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email: mp+373932@code.launchpad.net |
Commit message
net: handle openstack dhcpv6-stateless configuration
Openstack subnets can be configured to use SLAAC by setting
ipv6_address_
the sysconfig interface configuration should use
IPV6_AUTOCONF=yes and not set DHCPV6C=yes.
This change sets the subnets type property to the full
network['type'] from openstack metadata.
cloudinit/
are updated to support new subnet types:
- 'ipv6_dhcpv6-
- 'ipv6_dhcpv6-
Type 'dhcp6' in sysconfig is kept for backward compatibility
with any implementations that set subnet_type == 'dhcp6'.
LP: #1847517
thanks for the well done bug report and merge proposal!
Please add a test to the unfortunately long and difficult to follow tests/unittests /test_net. py .
Also, as this is your first submission:
To contribute, you must sign the Canonical Contributor License Agreement
(CLA) [1].
If you have already signed it as an individual, your Launchpad user will agreement- canonical launchpad group [2].
be listed in the contributor-
Unfortunately there is no easy way to check if an organization or company
you are doing work for has signed. If you are unsure or have questions,
email <email address hidden> or ping powersj in #cloud-init channel
via freenode.
For information on how to sign, please see the HACKING document [3].
Thanks again, and please feel free to reach out with any questions.
– www.canonical. com/contributor s /launchpad. net/~contributo r-agreement- canonical/ +members cloudinit. readthedocs. io/en/latest/ topics/ hacking. html
[1] http://
[2] https:/
[3] http://