Reduce addresses to intervals

The allocation viewer accepts pasted CSV and compares each IPv4 CIDR against a selected root. The underlying model converts networks into inclusive integer intervals. From that representation, it can report malformed addresses, canonicalization warnings, out-of-root allocations, duplicates, and overlaps.

CSV parsing accepts explicit headers as well as inferred layouts. That choice accommodates the uneven spreadsheets and exports that often sit at the edge of infrastructure planning.

Let policy change the interpretation

A strict policy treats every overlap as interference. A nested policy permits parent planning blocks to contain child allocations while continuing to flag duplicates and partial overlap. The distinction is important because a hierarchy can be intentional rather than a defect.

The same interval data feeds a linear chart and a Hilbert map. The linear view preserves address order; the square map offers another way to inspect fragmentation. The visualization is useful because it stays tied to the validation model.

One model, several views

The server uses Deno built-ins and a locally bundled D3 version, with no runtime CDN requirement. Both visualizations depend on the same interval calculations, keeping display and validation connected. The resulting plan can reveal address conflicts before configuration changes are attempted, while live cloud inventory remains a separate source of truth.