Skip to content
Snippets Groups Projects

Update IPtrunk migration IPAM step behaviour

Merged Karel van Klink requested to merge feature/update-trunk-migration-ipam into develop
All threads resolved!
@@ -548,7 +548,8 @@ def update_ipam(subscription: Iptrunk, replace_index: int, new_node: Router, new
Move the DNS record pointing to the old side of the trunk, to the new side.
"""
v4_addr = subscription.iptrunk.iptrunk_ipv4_network[replace_index]
v6_addr = subscription.iptrunk.iptrunk_ipv6_network[replace_index]
# IPv6 networks start with an unused address we need to skip past.
v6_addr = subscription.iptrunk.iptrunk_ipv6_network[replace_index + 1]
# Out with the old
try:
Loading