portspec

Industrial cabinet

Steel enclosure, three shelves. 5G router with a backup modem, two ring switches on fibre, edge PC, rugged field switch.

Industrial 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:
  box:
    type: cabinet
    door: none
    shelves:
      upper:  { level: 3, justify: space-between }
      middle: { level: 2, justify: space-between }
      lower:  { level: 1, justify: space-between }
devices:
  cell: { model: teltonika/rutx50, name: 5G router, in: box/upper, order: 1 }
  backup: { model: teltonika/trb500, name: Backup modem, in: box/upper, order: 2 }
  ring-a: { model: teltonika/tsw212, name: Ring switch A, in: box/middle, order: 1, ports: { sfp1: { module: sfp-lc-1g } } }
  ring-b: { model: teltonika/tsw212, name: Ring switch B, in: box/middle, order: 2, ports: { sfp1: { module: sfp-lc-1g } } }
  edge: { model: mini-pc, name: Edge PC, in: box/lower, order: 1 }
  field: { model: peplink/sd-switch-8-port-rugged, name: Field switch, in: box/lower, order: 2 }
links:
  wan: { ends: [cell/eth1, ring-a/eth1], cable: cat6-yellow }
  wan-b: { ends: [backup/lan, ring-b/eth1], cable: cat6-yellow }
  ring: { ends: [ring-a/sfp1, ring-b/sfp1], cable: lc-duplex }
  f-a: { ends: [ring-a/eth8, field/eth1], cable: cat6-green }
  f-b: { ends: [ring-b/eth8, field/eth2], cable: cat6-green }
  cell-2: { ends: [cell/eth2, ring-b/eth2], cable: cat6-blue }
scenes:
  front: { title: Industrial cabinet, layout: [box] }