Fixed addMachines.
authorPete Vander Giessen <petevg@gmail.com>
Mon, 28 Nov 2016 18:26:51 +0000 (13:26 -0500)
committerPete Vander Giessen <petevg@gmail.com>
Mon, 28 Nov 2016 18:26:51 +0000 (13:26 -0500)
commitb87114e40c5f095103be4a9339b38552333d0190
tree6ff436a9904882c8dd96291dbb6cb98d71aefab9
parentedc3fa5061258968907f7cb9454fd43576f956bd
Fixed addMachines.

We now accept a single dict called params, which is what we get back
from the planner, rather than expecting expanded arguments.

We do some parsing of constraints, to put them in a format that should
make juju core happy.
juju/constraints.py [new file with mode: 0644]
juju/model.py
tests/unit/test_constraints.py [new file with mode: 0644]