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

[feature] Allow shared subnets to have non shared child subnets #90

Closed
pandafy opened this issue Mar 30, 2021 · 1 comment · Fixed by #92
Closed

[feature] Allow shared subnets to have non shared child subnets #90

pandafy opened this issue Mar 30, 2021 · 1 comment · Fixed by #92
Assignees
Labels
bug Something isn't working

Comments

@pandafy
Copy link
Member

pandafy commented Mar 30, 2021

Steps to replicate

  1. Create a shared subnet 10.0.0.0/16
  2. Try to create a child subnet of 10.0.0.0/16 under the default organization.

You will see the following error:

Please ensure that the organization of this subnet and the organization of the related subnet match.

Expected behaviour

Subnet should get created without any error.

@nemesifier nemesifier added the bug Something isn't working label Mar 30, 2021
@nemesifier nemesifier added this to Backlog in OpenWISP Priorities for next releases via automation Mar 30, 2021
@nemesifier
Copy link
Member

@pandafy also, I think that we should change the validation so that when a subnet or IP has any parent which is shared, we should check any organization in the overlapping validation, is this clear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging a pull request may close this issue.

2 participants