[openstack-dev] [Heat] looking to add support for server groups to heat...any comments?

Mike Spreitzer mspreitz at us.ibm.com
Fri Apr 25 16:32:34 UTC 2014


Chris Friesen <chris.friesen at windriver.com> wrote on 04/25/2014 12:23:00 
PM:

> I'm looking to add support for server groups to heat.  I've got working 
> code, but I thought I'd post the overall design here in case people had 
> objections.
> 
> Basically, what I propose is to add a "class NovaServerGroup" resource. 
>   Currently it would only support a "policy" property to store the 
> scheduler policy for the server group.  The scheduler policy would not 
> support updating on the fly.
> 
> The "LaunchConfiguration" and "Instance" classes would be extended with 
> an optional "ServerGroup" property.  In the "Instance" class if the 
> "ServerGroup" property is set then the group name is added to the 
> scheduler_hints when building the instance.
> 
> The "Server" class would be extended with an optional "server_group" 
> property.  If it is set then the group name is added to the 
> scheduler_hints when building the server.
> 
> All in all, its around a hundred lines of code.
> 
> Any comments?

Sounds exactly right to me, and timely too.

Cheers,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140425/8f84ef1a/attachment.html>


More information about the OpenStack-dev mailing list