-
Committer:
Rick Harding
-
Author(s):
Richard Harding
-
Date:
2013-08-23 14:37:48 UTC
-
mfrom:
(969.1.12 deploy-constraints)
-
Revision ID:
rick.harding@canonical.com-20130823143748-lwkyt9cq1uzd3b2f
Add support for providing constraints on deploy.
- The deploy methods for both environments assume constraints is an empty
object.
- This adds support for the constraints on both go/python environments.
- For the go environment we have to map the names of the constraints from the
ones provided to the user to the Go Caps names required.
- Updates fakebackend and sandboxes for the changes accepting constraints as
well.
- This required adding another argument to env.deploy() and a bunch of adding
a 'null' constraints argument to those calls. This, of course, led to lint'ing
needing to kick in and resize the long lines.
R=jeff.pihach, matthew.scott
CC=
https://codereview.appspot.com/13084045