Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allocate machine with interface and storage constraints #28

Merged
merged 7 commits into from
Apr 8, 2016

Conversation

howbazaar
Copy link
Contributor

After talking with the MaaS folks, I got a better understanding of the allocation process.

In particular the mapping of storage devices and interfaces to the constraints requested.
There is a dictionary in the response structure of allocate that isn't a standard machine attribute that indicates how the machine was chosen. The keys in this dictionary are only specified when constraints of that type are specified.

Zone string
NotInZone []string
// Storage is an optional value listing one or more storage constraints.
// Format is an optional label, followed by an optional colon, then size
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/Format/The format/

@mjs
Copy link

mjs commented Apr 8, 2016

LGTM. Looks much better.

@howbazaar
Copy link
Contributor Author

$$merge$$

@jujubot
Copy link
Contributor

jujubot commented Apr 8, 2016

Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju-gomaasapi

@jujubot jujubot merged commit dcd36c2 into juju:master Apr 8, 2016
@howbazaar howbazaar deleted the allocate-machine-mark2 branch April 8, 2016 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants