API change: service state nodes

Gustavo Niemeyer gustavo.niemeyer at canonical.com
Fri Dec 16 12:12:20 UTC 2011


> As part of the machine constraints story, I propose we add a
> "constraints" key to the service state nodes' content. This would
(...)
> charm: cs:oneiric/mysql-42
> constraints: [arch=amd64, cpu=, mem=16G]

Sounds good. I'm just wondering about the choice of a string list.
This feels like a natural fit for a map/dict.

-- 
Gustavo Niemeyer
http://niemeyer.net
http://niemeyer.net/plus
http://niemeyer.net/twitter
http://niemeyer.net/blog

-- I'm not absolutely sure of anything.



More information about the Juju mailing list