On 04/06/2016 01:28 PM, Dean Troyer wrote:
> On Wed, Apr 6, 2016 at 12:10 PM, Tim Bell <[email protected]
> <mailto:[email protected]>> wrote:
>
> I think Heat needs more of an query engine along the lines of “give me a
> flavor with at least X cores and Y GB RAM” rather than hard coding
> m1.large.
> Core performance is another parameter that would be interesting to
> select,
> “give me a core with at least 50000 bogomips”
>
>
> I've played with a version of OSC's "server create" command that uses
> --cpu, --ram, etc rather than --flavor to size the created VM. It is a
> tiny bit of client-side work to do this, Heat could easily do it too...
> The trick is to not get carried away with spec'ing every last detail.
Or even just put it in Nova.
GET /flavors/?min_ram=1G&min_cpu=2
I think would be an entirely reasonable add for the flavors GET call.
It's an API add, so would need a spec, but it's fundamentally pretty
easy and probably not very controversial.
-Sean
--
Sean Dague
http://dague.net
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev