From fa108b2a1e45f3be54fc113433973a10feabfa31 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Wed, 18 Nov 2026 16:15:31 -0500 Subject: [PATCH] docs: remove large1 leftovers; no node names for HA guests large1 was renamed to compute-storage-02 on 2026-11-18. Updates text that still named large1. HA guests no longer carry a fixed node (they move between nodes). Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- ticket_text.py | 2 +- topology.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 58a3944..29ad7f0 100644 --- a/README.md +++ b/README.md @@ -227,7 +227,7 @@ servers along the bottom. Power gear (PDU, UPS, power strip) sits in a rail on t named "Patch panel port 1" (the device beyond the panel is unknown); a stub that already has a name keeps it and adds "via Patch panel port 2". The cable details show where the cutsheet cable goes. - **Port names**: a ⚠ marks a port named after one device with a different one plugged in (a port - called "Large1 Management" with the AP on it). Generic names ("Port 4", "SFP+ 2", "Uplink") and + called "compute-storage-02 Management" with the AP on it). Generic names ("Port 4", "SFP+ 2", "Uplink") and "Downlink to X" with X on the other end never flag. - **Alerts**: a device with active alerts (not suppressed) gets a ring and a count in its worst severity colour, and the NIC it is about is marked. diff --git a/ticket_text.py b/ticket_text.py index e264c41..40ee78d 100644 --- a/ticket_text.py +++ b/ticket_text.py @@ -62,7 +62,7 @@ def link(text: str, url: str) -> str: def port_text(switch: str, port_name: str, port: dict) -> str: - """'8SFP-AGG port 7 "Large1": up at 10 Gbps, DAC'""" + """'8SFP-AGG port 7 "compute-storage-02": up at 10 Gbps, DAC'""" idx = port.get('port_idx') text = f'{switch} port {idx}' if idx is not None else f'{switch} {port_name}' if port_name and idx is not None and port_name != f'Port {idx}': diff --git a/topology.py b/topology.py index 3b55364..5516d11 100644 --- a/topology.py +++ b/topology.py @@ -25,7 +25,7 @@ _TOKEN_RE = re.compile(r'[a-z0-9]+') def _norm(name: str) -> str: - """A name with case, spaces, dashes and underscores ignored: "Large1" == "large-1".""" + """A name with case, spaces, dashes and underscores ignored: "Storage-01" == "storage_01".""" return ''.join(_TOKEN_RE.findall((name or '').lower())) @@ -114,7 +114,7 @@ def name_mismatch(port_name: str, neighbour: str, own: str, known: Dict[str, str """A port named after a different device than the one plugged into it. known: {normalised name: display name} of every device. Runs of up to four words of - the port name are compared with them, so "Large1 Management" names large1 and + the port name are compared with them, so "Storage-01 Management" names storage-01 and "Downlink to 24RJ45-POE" names 24RJ45-POE. Ports named only "Port 4" never match. """ if not port_name or _is_generic_port_name(port_name):