API change: unit and machine nodes

William Reade william.reade at canonical.com
Tue Jan 3 17:17:45 UTC 2012

On Tue, 2012-01-03 at 12:04 -0200, Gustavo Niemeyer wrote:
> > Sorry delayed reply; nice peaceful holiday (still going, technically, but
> > whatever ;)).
> That's great. Happy new year! :-)

And to you! :)

> I propose we use this format to store all of the constraints, in all
> of the locations we store them, and that we have a single type that
> manages it code-wise:
>     {"mem": "1GB", "cpu": "1", "ec2-zone": "b", ...}
> Is there any significant problem with doing so?

Nothing significant, I guess. I maintain that a partial constraint set
is not *really* the same thing as a full specification, but I'm happy to
go ahead as suggested :-).


More information about the Juju mailing list