From 6eb21055eff29741b7f4ae9f29fd8bf9e9be31bf Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sat, 14 Mar 2026 22:10:17 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20topology=20=E2=80=94=20reflect=20VLAN90?= =?UTF-8?q?=20Ceph=20network=20and=20DHCP=20management=20separation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 10G SFP+ ports on USW-Agg are VLAN90 (10.10.90.x/24, static IPs, Ceph storage). 1G ports on Pro 24 PoE are DHCP management. Update topology to show this: - USW-Agg sublabel shows VLAN90 · 10.10.90.x (cyan) - Pro 24 PoE sublabel shows DHCP mgmt (cyan) - Host sublabels changed from "10G+1G" to "VLAN90" for the 10G Agg connection - 1G management band label updated to "← 1G DHCP mgmt (Pro 24 PoE) →" - Add .topo-vlan-tag CSS for cyan VLAN annotation on switch nodes Co-Authored-By: Claude Sonnet 4.6 --- static/style.css | 6 ++++++ templates/index.html | 21 ++++++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/static/style.css b/static/style.css index 4fdf55a..3cdf235 100644 --- a/static/style.css +++ b/static/style.css @@ -366,6 +366,12 @@ a:hover { text-decoration: underline; text-shadow: var(--glow-amber); } .topo-badge-unknown { color:var(--text-muted); border-color:var(--border); } +.topo-vlan-tag { + color: var(--cyan) !important; + opacity: .7; + font-size: .54em !important; +} + /* Switch tier: two switches with horizontal connector */ .topo-switch-tier { display: flex; diff --git a/templates/index.html b/templates/index.html index a787c3c..11d9b03 100644 --- a/templates/index.html +++ b/templates/index.html @@ -60,6 +60,7 @@ USW-Agg 8×10G SFP+ · RU22 + VLAN90 · 10.10.90.x @@ -77,9 +79,9 @@
- +
-
+
@@ -88,20 +90,21 @@
+
- 1G mgmt (PoE) + ← 1G DHCP mgmt (Pro 24 PoE) →
{%- set topo_h = snapshot.hosts if snapshot.hosts else {} -%} {%- set all_defs = [ - ('compute-storage-gpu-01', 'csg-01', 'RU4–12 · 10G+1G', False), - ('compute-storage-01', 'cs-01', 'RU14–17 · 10G+1G', False), - ('storage-01', 'storage-01','rack · 10G+1G', False), - ('monitor-01', 'monitor-01','ZimaBoard · 10G+1G', False), - ('monitor-02', 'monitor-02','ZimaBoard · 10G+1G', False), - ('large1', 'large1', 'table · 10G+1G', True), + ('compute-storage-gpu-01', 'csg-01', 'RU4–12 · VLAN90', False), + ('compute-storage-01', 'cs-01', 'RU14–17 · VLAN90', False), + ('storage-01', 'storage-01','rack · VLAN90', False), + ('monitor-01', 'monitor-01','ZimaBoard · VLAN90', False), + ('monitor-02', 'monitor-02','ZimaBoard · VLAN90', False), + ('large1', 'large1', 'table · VLAN90', True), ] -%} {%- for hname, hlabel, hsub, off_rack in all_defs -%} {%- set st = topo_h[hname].status if hname in topo_h else 'unknown' -%}