Skip to content

Fix AS allocation to avoid wasted prefixes and enforce clean area boundaries#59

Open
mrVVoo wants to merge 1 commit intonsg-ethz:masterfrom
netd-tud:reduce-asn-overallocation
Open

Fix AS allocation to avoid wasted prefixes and enforce clean area boundaries#59
mrVVoo wants to merge 1 commit intonsg-ethz:masterfrom
netd-tud:reduce-asn-overallocation

Conversation

@mrVVoo
Copy link
Copy Markdown
Contributor

@mrVVoo mrVVoo commented Apr 14, 2026

At the moment, platform/utils/build_configs/generate_connections.py covers only 127 in skip_groups which does not reflect the actual configuration. When adding all prefixes to be skipped, the current implementation wastes many prefixes.

This PR provides an optimiziation, that ensures

  • each area starts at the next (10n + 1) boundary.
  • AS numbers are assigned consecutively while skipping only entries in skip_groups.
  • if an area spills over into the next area due to skipped ASes, the following area begins at the next valid boundary after the last assigned AS number.

…and extend AS numbers to be skipped to the current internal reservations
@mrVVoo mrVVoo force-pushed the reduce-asn-overallocation branch from b1f4ff9 to c0c57e9 Compare April 14, 2026 14:39
@mrVVoo mrVVoo marked this pull request as ready for review April 14, 2026 14:40
@mrVVoo mrVVoo changed the title Fix AS allocation to avoid wasted prefixes and enforce clean decade boundaries Fix AS allocation to avoid wasted prefixes and enforce clean area boundaries Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant