OS::Neutron::Subnet constraint to validate allocation_pool cidr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
In TripleO we've got some templates which create OS::Neutron::Subnet resources that expose an allocation_pools parameter:
http://
We've discovered that it is quite easy for end users to specify a CIDR which does not match the parameter they specified for allocation_pools. If the CIDR and allocation_pool don't match Neutron will fail... but it would be really nice if Heat could also pre-check the same subnet parameters ahead of time and provide the end user a clear error message.
Do we have any other inter-parameter constraint validations like this in Heat? Or would it be better to accomplish this sort of validation via an external tool?
Changed in heat: | |
status: | New → Triaged |
Changed in heat: | |
importance: | Undecided → Wishlist |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
AFAIK, there is nothing atm for inter property validation contraints. Some cases we do that in resource validate method. cationPool error thrown by neutron if that helps?
We can possibly add an validation to check this and raise something similar to OutOfBoundsAllo