Merge ~raharper/cloud-init:net-dont-use-alias into cloud-init:master
Status: | Merged |
---|---|
Merged at revision: | 2de1c247e285cce0b25ab70abdc56ccd41019c27 |
Proposed branch: | ~raharper/cloud-init:net-dont-use-alias |
Merge into: | cloud-init:master |
Diff against target: |
161 lines (+53/-26) 2 files modified
cloudinit/net/eni.py (+19/-14) tests/unittests/test_net.py (+34/-12) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
cloud-init Commiters | Pending | ||
Review via email:
|
Commit message
Fix eni rendering of multiple IPs per interface
The iface:alias syntax for eni rendering is brittle with ipv6.
Replace it with using multiple iface stanzas with the same iface
name which is supported. Side-effect is that one can no longer
do 'ifup $iface:$alias' but requires instead use of ip address
{add|delete} instead.
LP: #1657940
Description of the change
Fix eni rendering of multiple IPs per interface
The iface:alias syntax for eni rendering is brittle with ipv6.
Replace it with using multiple iface stanzas with the same iface
name which is supported. Side-effect is that one can no longer
do 'ifup $iface:$alias' but requires instead use of ip address
{add|delete} instead.
LP: #1657940