[openstack-dev] [nova][oslo.utils] Bug-1680130 Check validation of UUID length

Matt Riedemann mriedemos at gmail.com
Mon Apr 24 18:05:47 UTC 2017


On 4/24/2017 12:58 PM, Sean Dague wrote:
>
> Which uses is_uuid_like to do the validation -
> https://github.com/openstack/nova/blob/1106477b78c80743e6443abc30911b24a9ab7b15/nova/api/validation/validators.py#L85-L87
>
> We assumed (as did many others) that is_uuid_like was strict enough for
> param validation. It is apparently not.
>
> Either it needs to be fixed to be so, or some other function needs to be
> created that is, that people can cut over to.
>
> 	-Sean
>

Well kiss my grits. I had always assumed that was built into jsonschema.

-- 

Thanks,

Matt



More information about the OpenStack-dev mailing list