portspec

Wall cabinet

6U wall cabinet with a glass door. Patch panel, 24-port switch, router, PDU.

Wall cabinet, drawn from its YAML file

Devices

YAML

network: 1
imports:
  - ../../catalog/index.network.yaml
cables:
  cat6-blue:   { extends: cat6, color: "#3689c9" }
  cat6-green:  { extends: cat6, color: "#41a282" }
  cat6-yellow: { extends: cat6, color: "#d9a520" }
  cat6-red:    { extends: cat6, color: "#c8504a" }
racks:
  wall:
    type: rack-cabinet
    door: glass
    units: 6
    panels:
      brush-4: { u: 4, type: brush }
      blank-2: { u: 2, type: blank }
devices:
  panel: { model: patch-panel-24, in: wall, u: 6 }
  switch: { model: mikrotik/crs326-24g-2s+rm, name: Switch, in: wall, u: 5 }
  router: { model: mikrotik/rb4011igs+rm, name: Router, in: wall, u: 3 }
  pdu: { model: pdu-8, in: wall, u: 1 }
  outlet-1: { model: wall-outlet-2, name: Room 1–2 }
  outlet-2: { model: wall-outlet-2, name: Room 3–4 }
  outlet-3: { model: wall-outlet-2, name: Room 5–6 }
links:
  up: { ends: [router/ether2, switch/ether24], cable: cat6-yellow }
  p-2: { ends: [switch/ether2, panel/2], cable: cat6 }
  p-3: { ends: [switch/ether3, panel/3], cable: cat6-blue }
  p-6: { ends: [switch/ether6, panel/6], cable: cat6 }
  p-9: { ends: [switch/ether9, panel/9], cable: cat6-blue }
  p-12: { ends: [switch/ether12, panel/12], cable: cat6 }
  p-15: { ends: [switch/ether15, panel/15], cable: cat6-blue }
  run-2: { ends: [panel/r2, outlet-1/ra], cable: cat6 }
  run-3: { ends: [panel/r3, outlet-1/rb], cable: cat6-blue }
  run-6: { ends: [panel/r6, outlet-2/ra], cable: cat6 }
  run-9: { ends: [panel/r9, outlet-2/rb], cable: cat6-blue }
  run-12: { ends: [panel/r12, outlet-3/ra], cable: cat6 }
  run-15: { ends: [panel/r15, outlet-3/rb], cable: cat6-blue }
scenes:
  front: { title: Wall cabinet, layout: [wall] }
  rear: { title: "Wall cabinet, rear", layout: [wall, { column: { gap: 24, items: [outlet-1, outlet-2, outlet-3] } }], view: rear }