Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create prefix within container automatically #17590

Open
ya-cha opened this issue Sep 24, 2024 · 0 comments
Open

Create prefix within container automatically #17590

ya-cha opened this issue Sep 24, 2024 · 0 comments
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application

Comments

@ya-cha
Copy link

ya-cha commented Sep 24, 2024

NetBox version

v.4.0.10

Feature type

New functionality

Proposed functionality

When creating a prefix in other prefixes, Netbox is looking for the next available. This happens in the user interface /ipam/prefixes/add/?prefix={id} and in the API /api/ipam/prefixes/{id}/available-prefixes/.
If there are child prefixes with the status container, I would expect those containers to be used when finding the next free one (so creating a prefix inside the container inside the given prefix).

Use case

For internal purposes (rDNS) the prefix used for our customers is divided in multiple containers. The Netbox considers it as completely full. In our understanding the purpose of containers is not to block prefixes but to group them. I would expect the Netbox to create a prefix in the container.

Database changes

To prevent breaking changes this behaviour could be managed in a feature flag. This would be a DB change

External dependencies

No response

@ya-cha ya-cha added status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application labels Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage This issue is awaiting triage by a maintainer type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant