Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(812)

Issue 23440043: Migrate manual provisioning to API (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by wallyworld
Modified:
10 years, 6 months ago
Reviewers:
mp+194445, axw
Visibility:
Public.

Description

Migrate manual provisioning to API Manual provisioning now works using the API. Two new client endpoints are provided: InjectMachines MachineConfig The MachineConfig API is similar to the ContainerConfig used by the local provider, however more information is required in order to handle provisioning bootstrap as well as normal host nodes. Some refactoring of the ProvisionManchine method was also done to split it into smaller chunks. https://code.launchpad.net/~wallyworld/juju-core/cli-api-manualprovider/+merge/194445 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+437 lines, -160 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/manual/provisioner.go View 4 chunks +111 lines, -120 lines 0 comments Download
M environs/manual/provisioner_test.go View 3 chunks +11 lines, -8 lines 0 comments Download
M state/api/client.go View 2 chunks +24 lines, -0 lines 1 comment Download
M state/api/params/params.go View 4 chunks +31 lines, -6 lines 0 comments Download
M state/apiserver/client/client.go View 4 chunks +119 lines, -25 lines 0 comments Download
M state/apiserver/client/client_test.go View 3 chunks +138 lines, -0 lines 0 comments Download
M state/apiserver/client/tools.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3
wallyworld
Please take a look.
10 years, 6 months ago (2013-11-08 04:55:53 UTC) #1
axw
On 2013/11/08 04:55:53, wallyworld wrote: > Please take a look. Very nice, LGTM.
10 years, 6 months ago (2013-11-08 06:00:42 UTC) #2
axw
10 years, 6 months ago (2013-11-08 06:00:51 UTC) #3
https://codereview.appspot.com/23440043/diff/1/state/api/client.go
File state/api/client.go (right):

https://codereview.appspot.com/23440043/diff/1/state/api/client.go#newcode11
state/api/client.go:11: //	"launchpad.net/juju-core/environs/cloudinit"
Delete me
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b