DescriptionAdd 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.
https://code.launchpad.net/~rharding/juju-gui/deploy-constraints/+merge/181610
(do not edit description out of merge proposal)
Patch Set 1 #Patch Set 2 : Add support for providing constraints on deploy. #
Total comments: 4
Patch Set 3 : Add support for providing constraints on deploy. #
Total comments: 1
Patch Set 4 : Add support for providing constraints on deploy. #Patch Set 5 : Add support for providing constraints on deploy. #
MessagesTotal messages: 9
|