subnet_is_ipv6() function does not work for types ipv6_dhcpv6-stateless|stateful
Bug #1848690 reported by
Harald Jensås
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Undecided
|
Harald Jensås |
Bug Description
def subnet_
"""Common helper for checking network_state subnets for ipv6."""
# 'static6' or 'dhcp6'
if subnet[
# This is a request for DHCPv6.
return True
elif subnet['type'] == 'static' and is_ipv6_
return True
return False
Function return false for ipv6_dhcpv6-
Related branches
~harald-jensas/cloud-init:bug/1848690
Merged
into
cloud-init:master
- Server Team CI bot: Approve (continuous-integration)
- Ryan Harper: Approve
-
Diff: 41 lines (+18/-2)2 files modifiedcloudinit/net/network_state.py (+2/-2)
tests/unittests/test_net.py (+16/-0)
~harald-jensas/cloud-init:bug/1806014
Superseded
for merging
into
cloud-init:master
- Ryan Harper: Needs Fixing
-
Diff: 357 lines (+206/-6)5 files modifiedcloudinit/net/eni.py (+10/-0)
cloudinit/net/netplan.py (+4/-1)
cloudinit/net/network_state.py (+8/-4)
cloudinit/net/sysconfig.py (+9/-1)
tests/unittests/test_net.py (+175/-0)
Changed in cloud-init: | |
status: | New → In Progress |
assignee: | nobody → Harald Jensås (harald-jensas) |
To post a comment you must log in.
This bug is fixed with commit fcc92ad1 to cloud-init on branch master. /git.launchpad. net/cloud- init/commit/ ?id=fcc92ad1
To view that commit see the following URL:
https:/