-
Committer:
Raphael Badin
-
Author(s):
Raphaël Badin
-
Date:
2013-04-19 10:19:30 UTC
-
mfrom:
(1172.1.5 add-constraints)
-
Revision ID:
raphael.badin@canonical.com-20130419101930-14f7no0278a0ya1b
Add constraints support to the MAAS provider.
It does not add support for MAAS-specific constraints ('maas-name' and
'maas-tag') because juju-core currently does not support provider-specific
constraints yet.
Also, the constraint 'CpuPower' has no obvious meaning in MAAS so it is simply
ignored (with a warning).
I had to change the testservice in gomaasapi so that the 'acquire' operation
is now recorded (hence the change to existing tests).
[https://code.launchpad.net/~rvb/gomaasapi/record-node-acquire/+merge/159404].
This change was successfully tested in the MAAS lab.