summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJan-Philipp Litza <jplitza@users.noreply.github.com>2026-04-08 13:59:30 +0200
committerJan-Philipp Litza <jplitza@users.noreply.github.com>2026-04-08 13:59:30 +0200
commit0d7099e88f9d366619e9eaac84d5ada3b9d2d8d3 (patch)
treeed8de7dce66d0a35eb665b19b406df33ee26f15f /.github/workflows
parent11d4c4719c45807c9fa4449479b359402f9c054b (diff)
downloadvyos-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/workflows')
0 files changed, 0 insertions, 0 deletions