Regarding next availible subnet #29. #195
Closed
pranshustuff
started this conversation in
General
Replies: 1 comment
-
|
Please keep discussions about issues in the issue itself, there's no point in opening a different thread. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wrote this function in /openwisp_ipam/base/models.py:
And I call it as follows:
So if 10.0.0.0/24 exists in DB.
And currenty it directly saves the next available subnet instead of autofilling and then prompting the user like in add IP address. Which can be fixed after the core logic is decided.
I would like some help. Especially on how to not hardcode the parent subnet.
Beta Was this translation helpful? Give feedback.
All reactions