openwisp / openwisp/openwisp-controller

[feature] Allow subnet division rule to assign IP addresses from the main subnet

Open
#843 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement subnet-division-rules
Dominant language
Python
Stars
773
Forks
315
Avg merge
2d 16h
Merged PRs (30d)
14

Description

I wonder if it makes sense to allow to specify 0 in the "Number of subnets" so that the rule does not trigger the creation of a new subnet but just assigns new IP addresses to a device from the main subnet.

Somewhat related to #842.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the subnet division rule and its handling of the "Number of subnets" setting, then read related issue #842 for context. Confirm the existing behavior and tests before defining the change. Done means allowing 0 to skip creation of a new subnet while assigning new device IP addresses from the main subnet.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.