openwisp / openwisp/openwisp-controller
[change] Allow subnet division rule to use white space in subnet
Open
@nemesifier is already working on this.
Since Sep 14, 2026.
enhancement
subnet-division-rules
- Dominant language
- Python
- Stars
- 773
- Forks
- 315
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 14
Description
When assigning new subnets, we always look at the end of the last available subnets, but we do not reallocate any white space if some subnet gets deleted, which is inefficient from the space perspective.
We must first assess what kind of impact would this have on performance.
If I remember correctly, the subnet division rule works in the background, therefore it should have enough time to do this additional processing.
We will need to do additional queries to look for white space and try to fill it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.