def METHOD_NAME(self, networks: Mapping[IPNetwork, NetworkDescription], out_file: str):
    d = dict()
    for net_desc in networks.values():
        for prog, ip_net in net_desc.ip_net.items():
            if prog.startswith("sd"):
                ia = prog[2:].replace("_", ":")
                d[ia] = str(ip_net.ip)
    with open(os.path.join(self.args.output_dir, out_file), mode="w") as f:
        json.dump(d, f, sort_keys=True, indent=4)