diff options
| author | Jan-Philipp Litza <jplitza@users.noreply.github.com> | 2026-04-08 13:59:30 +0200 |
|---|---|---|
| committer | Jan-Philipp Litza <jplitza@users.noreply.github.com> | 2026-04-08 13:59:30 +0200 |
| commit | 0d7099e88f9d366619e9eaac84d5ada3b9d2d8d3 (patch) | |
| tree | ed8de7dce66d0a35eb665b19b406df33ee26f15f /.github | |
| parent | 11d4c4719c45807c9fa4449479b359402f9c054b (diff) | |
| download | vyos-cloud-init-0d7099e88f9d366619e9eaac84d5ada3b9d2d8d3.tar.gz vyos-cloud-init-0d7099e88f9d366619e9eaac84d5ada3b9d2d8d3.zip | |
vyos: Fix handling of IPv6 netmasks on OpenStack
On OpenStack with a network with DHCP disabled, IPv6 routes are passed
like this:
'routes': [{'network': '::', 'netmask': '::', 'gateway': '2001:db8::1'}]
This results in a call to ipaddress.ip_network('::/::'), which Python
does not regard as valid network notation.
So this commit uses ipv6_mask_to_net_prefix from the package
cloudinit.net.network_state to convert the netmask for IPv6 networks.
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
