Merge ~chad.smith/cloud-init:aws-ipv6-dhcp-support into cloud-init:master
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Scott Moser | ||||
Approved revision: | ca7da13aa0501c481742b94bf3943a03c7fee4bb | ||||
Merged at revision: | 3c45330af2a301f2bf219da556844d01cef6778e | ||||
Proposed branch: | ~chad.smith/cloud-init:aws-ipv6-dhcp-support | ||||
Merge into: | cloud-init:master | ||||
Diff against target: |
182 lines (+135/-0) 2 files modified
cloudinit/sources/DataSourceEc2.py (+38/-0) tests/unittests/test_datasource/test_ec2.py (+97/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Review via email:
|
Description of the change
ec2: Add IPv6 dhcp support to Ec2DataSource.
DataSourceEc2 now parses the metadata for each nic to determine if
configured for ipv6 and/or ipv4 addresses. In AWS for metadata version
2016-09-02, nics configured for ipv4 or ipv6 addresses will have non-zero
values stored in metadata at network/
The network configuration returned from the datasource will also 'pin' the
nic name to the name presented on the instance for each nic.
LP: #1639030
FAILED: Continuous integration, rev:83bffab3829 2026588d55e4058 6e3b02d3dea7df /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 194/
https:/
Executed test runs:
SUCCESS: Checkout
FAILED: Unit & Style Tests
Click here to trigger a rebuild: /jenkins. ubuntu. com/server/ job/cloud- init-ci/ 194/rebuild
https:/