Report: crossing readings from traceroutes and cable owners; flat-fit section removed
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -204,7 +204,7 @@ def nets():
|
||||
ends.sort(key=lambda e: (e["kind"], e["city"]))
|
||||
cname = {c["id"]: c["name"].replace(" Cable", "") for c in json.load(open(P("data/cables.json")))["cables"]}
|
||||
xs = [dict(src_city=city(x["src"].split(":")[-1]), dst_city=city(x["dst"].split(":")[-1]), cable_name=cname.get(x["cable"]) if x["cable"] else None,
|
||||
owners=x["owners"], before=x["before"], after=x["after"]) for x in a["crossings"]]
|
||||
owners=x["owners"], path=x["path"], reading=x["reading"], assumed=x["cable"] == "tasman-global-access-tga-cable") for x in a["crossings"]]
|
||||
return dict(summary=a["summary"], traces=a["traces"], endpoints=ends, gp=sorted(gp.values(), key=lambda x: -x["probes"]),
|
||||
transit=a["transit"], ixps=a["ixps"], crossings=xs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user