#!/bin/bash

systemctl stop wide-dhcpv6-client

% for interface, subnet_id in sorted(targets.items()):
ip -6 addr flush dev ${interface} scope global
% endfor