[openstack-dev] [nova] placement/resource providers update 4

Ed Leafe ed at leafe.com
Tue Dec 6 20:28:32 UTC 2016


On Dec 6, 2016, at 2:16 PM, Jay Pipes <jaypipes at 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








More information about the OpenStack-dev mailing list