On Dec 6, 2016, at 2:16 PM, Jay Pipes <jaypi...@gmail.com> wrote:

> I would prefer:
> 
> GET /resource_providers?resources=DISK_GB:40,VCPU:2,MEMORY_MB:2048
> 
> to "group" the resources parameter together. When we add in trait lookups, 
> we're going to want a way to clearly delineate between resource classes and 
> traits other than just knowing resource classes are ALL_CAPS...
> 
> GET /resource_providers?resources=DISK_GB:40,VCPU:2,MEMORY_MB:2048
>      &required=storage:ssd,hw:cpu:x86:avx2
>      &preferred=virt:hyperv:gen2

OK, that’s fine. The URI path is still just 126 characters, well below the 
limit of around 8K. It still seems anything but scary.

-- Ed Leafe






__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to