DOCFIX-142: opentofu/ network + storage-pool scaffold (VR1 IaC, gap #2)
First OpenTofu content in the repo. Network/pool layer only: modules/dc-planes
(the six per-DC planes, D-052/D-100), modules/mesh-link (the D-100 dark-fiber
triangle), modules/dc-storage-pool, wired for DC1 (inherits DC0's CIDRs per
D-101) and Office1. DC2 deliberately not wired -- its CIDRs aren't assigned
yet (D-101 open sub-item).

Provider schema (dmacvicar/libvirt v0.9.8) verified against its actual current
docs this session, not memory -- it has diverged materially from older common
examples (network isolation is a nested forward.mode, not top-level mode;
libvirt_domain restructured to ~40 args mirroring raw libvirt XML). Node-VM/
volume resources, OPNsense config, and tc netem application are deliberately
deferred: that schema is too large/unfamiliar to author safely without a real
`tofu providers schema` pass on a connected machine -- see opentofu/README.md
for the full account and the concrete next step.

Added scripts/opentofu-validate.sh (fmt/init/validate wrapper) + a harness
testing what's actually exercisable without a tofu binary (none is available
anywhere this repo has been worked in this session -- logged, not hidden).
Extended repo_lint.py's L1 check to cover .tf files (uncovered before since
none existed). repo-lint 0 fail / 1 documented warn; both harnesses green.
Workflow doc + its companion visual tracker updated to match.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QrcJx8TUar7pYAvpGJw57A
1 parent 374aef5 commit 14d7382cae8f4044251502140c3891c58462e863
@JANeumatrix JANeumatrix authored 1 hour ago
Showing 19 changed files
View
docs/changelog-20260709-opentofu-scaffold.md 0 → 100644
View
docs/dc-dc-deployment-workflow.md
View
docs/session-ledger.md
View
opentofu/README.md 0 → 100644
View
opentofu/main.tf 0 → 100644
View
opentofu/modules/dc-planes/main.tf 0 → 100644
View
opentofu/modules/dc-planes/outputs.tf 0 → 100644
View
opentofu/modules/dc-planes/variables.tf 0 → 100644
View
opentofu/modules/dc-storage-pool/main.tf 0 → 100644
View
opentofu/modules/dc-storage-pool/outputs.tf 0 → 100644
View
opentofu/modules/dc-storage-pool/variables.tf 0 → 100644
View
opentofu/modules/mesh-link/main.tf 0 → 100644
View
opentofu/modules/mesh-link/outputs.tf 0 → 100644
View
opentofu/modules/mesh-link/variables.tf 0 → 100644
View
opentofu/variables.tf 0 → 100644
View
opentofu/versions.tf 0 → 100644
View
scripts/opentofu-validate.sh 0 → 100644
View
scripts/repo_lint.py
View
tests/opentofu-validate/run-tests.sh 0 → 100644