Commit Graph

8 Commits

Author SHA1 Message Date
Robert McMahon 376616808e Add fabric/concentrator packages, FDIR, and lab documentation
Introduce fiwicontrol.fabric (definition, merge, builder CLI, fingerprint checks)
and fiwicontrol.concentrator for local workstation snapshots. Add system scripts
(fabric_realize, dump_concentrator, pcie_hotswap_harness, acroname discovery).

Document architecture (docs/architecture.md) and fault handling (docs/fdir.md);
expand fabric-builder, system-test-scripts, pcie-hotswap-setup, install, and
README with env vars, security boundaries, and intended-use limits.

Harden INI merge and serial resolution for pcie_bdf and patch_panel_ports;
bound patch-panel JSON reads; gate remote SSH tests behind FIWI_RUN_REMOTE_TESTS.

fabric_realize: exit codes, --realize-discovery-timeout, --patch-panel-json,
and [FiWi-FDIR] stderr lines. Fabric.realize supports discovery timeout and
FDIR logging; binding_cache_status logs fault paths.

Made-with: Cursor
2026-04-12 20:33:54 -07:00
Robert McMahon 7b57568176 refactor: fronthaul, telemetry, radio packages; system harness dir
- Add fiwicontrol.fronthaul (FrontHaul link) and fiwicontrol.telemetry
  (FrontHaulTelemetry + retimer/SFP structs; common placeholder).
- Move RadioHead to fiwicontrol.radio; lab is discovery + INI only.
- Rename FrontHaulSnapshot to FrontHaulTelemetry; FrontHaul.snapshot
  to telemetry field.
- Add scripts/system/ for long-running hardware harnesses (vs pytest).
- README and pyproject describe the new layout; Power docstring path fix.

Made-with: Cursor
2026-04-12 12:27:51 -07:00
Robert McMahon 958465baf6 feat(spc): ShewhartControlChart and HotellingT2 under fiwicontrol.spc
- Add spc/ package (not under flows): shewhart.py, hotelling.py, lazy __init__.
- Optional [spc] extra (numpy, scipy); extend layout test; add test_spc.py.
- README: fifth package bullet, tree includes flows/ and spc/.

Made-with: Cursor
2026-04-10 19:39:00 -07:00
Robert McMahon 2dfbecc3f8 build: flows optional extra; test imports fiwicontrol.flows
Made-with: Cursor
2026-04-10 19:33:40 -07:00
Robert McMahon 4ad0b4b249 refactor: move lab discovery to fiwicontrol.lab; remote setup to commands
- Add fiwicontrol.lab package (discovery, inventory_config, inventory_verify)
  with default lab INI configs/default.ini (FIWI_LAB_INI override).
- Move remote_setup to fiwicontrol.commands; add python -m fiwicontrol.commands.
- Power CLI keeps --discovery-json, --list-power-devices, --verify-inventory;
  add -c/--config for inventory paths; drop --setup-remote (use commands module).
- Re-export lab symbols from fiwicontrol.power for compatibility.
- Update docs, scripts, and tests.

Made-with: Cursor
2026-04-10 18:39:43 -07:00
Robert McMahon be9cc4c7b5 major work 2026-04-10 17:14:15 -07:00
Robert McMahon 1f3803c75a Use orchestrator package layout; docs and tests for remote_nodes
- Move src/fiwicontrol to src/orchestrator; imports orchestrator.*
- Remove REFACTOR-REVIEW.md; expand Running tests in design doc
- README: distribution fiwicontrol, link to test instructions

Made-with: Cursor
2026-04-10 11:37:34 -07:00
Robert McMahon 5874253359 Initial import: fiwicontrol package (commands + power scaffold)
Made-with: Cursor
2026-04-10 11:36:23 -07:00