Commit b15308a
committed
feat(schema): GREEN — rule 18, remote onprem systems must itemize product_nodes
check_deployment_rules now raises for deployment=onprem +
storage_location remote/remote_and_local when product_nodes is absent
or empty. Once the section exists, rules 2 and 6 already enforce the
per-node/per-switch power blocks, so rule 18 closes the only gap that
let a remote-storage system publish a blank Provisioned Power (W) cell.
storage_location 'local' is exempt (drives draw through client PSUs,
excluded from the power sum by definition; Chassis.rack_units ge=1 +
rule 11's total of 0 make product-side entries inexpressible), as is
cloud (power fields are forbidden there).
Verified against the live tree: fires on Everpure FBEXA + TuringData
F9200 (message names the fix), silent on FarmGPU potato + SAMSUNG
MEMORY_AE which are otherwise fully schema-valid. Surfaces through
system_yaml_schema_checks as an ERROR under the 2.1.7 mapping.1 parent 45fda49 commit b15308a
1 file changed
Lines changed: 19 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
337 | | - | |
| 337 | + | |
338 | 338 | | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
339 | 357 | | |
340 | 358 | | |
341 | 359 | | |
| |||
0 commit comments