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' -%}