portspec

Small office

9U cabinet. 24-port PoE switch, patch panel, 2U NAS, gateway and firewall on a tray.

Small office, 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:
  cabinet:
    type: rack-cabinet
    door: none
    units: 9
    shelves: { tray: { u: 8, justify: space-between } }
    panels:
      brush-5: { u: 5, type: brush }
      blank-1: { u: 1, type: blank }
devices:
  gateway: { model: tp-link/er7206, name: Gateway, in: cabinet/tray, order: 1 }
  fw:      { model: protectli/fw4b, name: Firewall, in: cabinet/tray, order: 2 }
  switch:  { model: cisco/cbs350-24p-4g, name: Floor switch, in: cabinet, u: 6 }
  panel:   { model: patch-panel-24, in: cabinet, u: 4 }
  nas:     { model: synology/rs1221+, name: Files, in: cabinet, u: 2 }
links:
  wan:   { ends: [fw/eth2, gateway/wan2], cable: cat6-yellow }
  lan:   { ends: [gateway/wan-lan5, switch/gigabitethernet1-0-24], cable: cat6-blue }
  d-1:   { ends: [switch/gigabitethernet1-0-1, panel/1], cable: cat6 }
  d-2:   { ends: [switch/gigabitethernet1-0-4, panel/4], cable: cat6 }
  d-3:   { ends: [switch/gigabitethernet1-0-9, panel/9], cable: cat6-green }
  nas-1: { ends: [switch/gigabitethernet1-0-23, nas/lan-1], cable: cat6-red }
scenes:
  front: { title: Small office, layout: [cabinet] }