: [openstack-dev] [Neutron] REST API - entity level validation
Avishay,
what you say here is correct.
However, as we are in the process of moving to Pecan as REST API framework I
would probably refrain from adding new features to it at this stage.
Therefore, even if far from ideal, this kind of
Avishay,
what you say here is correct.
However, as we are in the process of moving to Pecan as REST API framework
I would probably refrain from adding new features to it at this stage.
Therefore, even if far from ideal, this kind of validation should perhaps
be performed in the DB layer. I think
Hi
With the current REST API engine in neutron we can declare attributes
validations.
We have a rich set of validation functions
https://github.com/openstack/neutron/blob/master/neutron/api/v2/attributes.py
However we do not have the concept of entity level validation.
Example:
I have an API ‘cr