portspec

Camera recording

15U cabinet. Two 24-port PoE switches with patch panels for cameras, 10G aggregation, two recorders, UPS.

Camera recording, 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: 15
    panels:
      brush-11: { u: 11, type: brush }
      vent-3:   { u: 3, type: vent }
devices:
  panel-a: { model: patch-panel-24, in: cabinet, u: 15 }
  poe-a: { model: ubiquiti/usw-pro-24-poe, name: Cameras A, in: cabinet, u: 14, ports: { "sfp+-25": { module: sfp+-lc-10g } } }
  panel-b: { model: patch-panel-24, in: cabinet, u: 13 }
  poe-b: { model: ubiquiti/usw-pro-24-poe, name: Cameras B, in: cabinet, u: 12, ports: { "sfp+-25": { module: sfp+-lc-10g } } }
  agg: { model: ubiquiti/usw-aggregation, name: Aggregation, in: cabinet, u: 10, ports: { "sfp+-1": { module: sfp+-lc-10g }, "sfp+-2": { module: sfp+-lc-10g }, "sfp+-7": { module: sfp+-lc-10g }, "sfp+-8": { module: sfp+-lc-10g } } }
  nvr-a: { model: ubiquiti/envr, name: Recorder A, in: cabinet, u: 6, ports: { "sfp+-1": { module: sfp+-lc-10g } } }
  nvr-b: { model: ubiquiti/unvr-pro, name: Recorder B, in: cabinet, u: 4, ports: { "sfp+-2-lan": { module: sfp+-lc-10g } } }
  ups: { model: ups-2u, in: cabinet, u: 1 }
  outlet-1: { model: wall-outlet-2, name: Camera 1–2 }
  outlet-2: { model: wall-outlet-2, name: Camera 3–4 }
  outlet-3: { model: wall-outlet-2, name: Camera 5–6 }
  outlet-4: { model: wall-outlet-2, name: Camera 7–8 }
  outlet-5: { model: wall-outlet-2, name: Camera 9 }
  outlet-6: { model: wall-outlet-2, name: Camera 10–11 }
  outlet-7: { model: wall-outlet-2, name: Camera 12–13 }
  outlet-8: { model: wall-outlet-2, name: Camera 14–15 }
  outlet-9: { model: wall-outlet-2, name: Camera 16 }
links:
  a-up: { ends: [poe-a/sfp+-25, agg/sfp+-1], cable: lc-duplex }
  b-up: { ends: [poe-b/sfp+-25, agg/sfp+-2], cable: lc-duplex }
  nvr-a: { ends: [nvr-a/sfp+-1, agg/sfp+-7], cable: lc-duplex }
  nvr-b: { ends: [nvr-b/sfp+-2-lan, agg/sfp+-8], cable: lc-duplex }
  ca-1: { ends: [poe-a/port-1, panel-a/1], cable: cat6-green }
  ca-2: { ends: [poe-a/port-2, panel-a/2], cable: cat6-green }
  ca-3: { ends: [poe-a/port-3, panel-a/3], cable: cat6-green }
  ca-4: { ends: [poe-a/port-4, panel-a/4], cable: cat6-green }
  ca-7: { ends: [poe-a/port-7, panel-a/7], cable: cat6-green }
  ca-8: { ends: [poe-a/port-8, panel-a/8], cable: cat6-green }
  ca-13: { ends: [poe-a/port-13, panel-a/13], cable: cat6-green }
  ca-14: { ends: [poe-a/port-14, panel-a/14], cable: cat6-green }
  ca-19: { ends: [poe-a/port-19, panel-a/19], cable: cat6-green }
  cb-1: { ends: [poe-b/port-1, panel-b/1], cable: cat6-blue }
  cb-2: { ends: [poe-b/port-2, panel-b/2], cable: cat6-blue }
  cb-5: { ends: [poe-b/port-5, panel-b/5], cable: cat6-blue }
  cb-6: { ends: [poe-b/port-6, panel-b/6], cable: cat6-blue }
  cb-11: { ends: [poe-b/port-11, panel-b/11], cable: cat6-blue }
  cb-12: { ends: [poe-b/port-12, panel-b/12], cable: cat6-blue }
  cb-20: { ends: [poe-b/port-20, panel-b/20], cable: cat6-blue }
  run-panel-a-1: { ends: [panel-a/r1, outlet-1/ra], cable: cat6-green }
  run-panel-a-2: { ends: [panel-a/r2, outlet-1/rb], cable: cat6-green }
  run-panel-a-3: { ends: [panel-a/r3, outlet-2/ra], cable: cat6-green }
  run-panel-a-4: { ends: [panel-a/r4, outlet-2/rb], cable: cat6-green }
  run-panel-a-7: { ends: [panel-a/r7, outlet-3/ra], cable: cat6-green }
  run-panel-a-8: { ends: [panel-a/r8, outlet-3/rb], cable: cat6-green }
  run-panel-a-13: { ends: [panel-a/r13, outlet-4/ra], cable: cat6-green }
  run-panel-a-14: { ends: [panel-a/r14, outlet-4/rb], cable: cat6-green }
  run-panel-a-19: { ends: [panel-a/r19, outlet-5/ra], cable: cat6-green }
  run-panel-b-1: { ends: [panel-b/r1, outlet-6/ra], cable: cat6-blue }
  run-panel-b-2: { ends: [panel-b/r2, outlet-6/rb], cable: cat6-blue }
  run-panel-b-5: { ends: [panel-b/r5, outlet-7/ra], cable: cat6-blue }
  run-panel-b-6: { ends: [panel-b/r6, outlet-7/rb], cable: cat6-blue }
  run-panel-b-11: { ends: [panel-b/r11, outlet-8/ra], cable: cat6-blue }
  run-panel-b-12: { ends: [panel-b/r12, outlet-8/rb], cable: cat6-blue }
  run-panel-b-20: { ends: [panel-b/r20, outlet-9/ra], cable: cat6-blue }
scenes:
  front: { title: Camera recording, layout: [cabinet] }
  rear: { title: "Camera recording, rear", layout: [cabinet, { column: { gap: 24, items: [outlet-1, outlet-2, outlet-3, outlet-4, outlet-5, outlet-6] } }, { column: { gap: 24, items: [outlet-7, outlet-8, outlet-9] } }], view: rear }