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

Issue 24780043: Move generic bits to container package.

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

Description

Move generic bits to container package. The ContainerManager and the config type to create it are common over both LXC and KVM. Also, network config is similarly generic. Most of this work is just moving types, changing imports and parameter types. https://code.launchpad.net/~thumper/juju-core/container-interface/+merge/194757 Requires: https://code.launchpad.net/~thumper/juju-core/fix-add-machine-test/+merge/194753 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -81 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
A container/interface.go View 1 chunk +31 lines, -0 lines 0 comments Download
M container/lxc/lxc.go View 8 chunks +21 lines, -61 lines 0 comments Download
M container/lxc/lxc_test.go View 10 chunks +15 lines, -14 lines 0 comments Download
A container/network.go View 1 chunk +29 lines, -0 lines 2 comments Download
M provider/local/environ.go View 4 chunks +4 lines, -3 lines 0 comments Download
M worker/provisioner/lxc-broker.go View 4 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 3
thumper
Please take a look.
10 years, 6 months ago (2013-11-11 21:50:49 UTC) #1
wallyworld
LGTM. Very pleased to see this factored out. https://codereview.appspot.com/24780043/diff/1/container/network.go File container/network.go (right): https://codereview.appspot.com/24780043/diff/1/container/network.go#newcode7 container/network.go:7: // ...
10 years, 6 months ago (2013-11-11 22:59:13 UTC) #2
thumper
10 years, 6 months ago (2013-11-12 00:35:44 UTC) #3
https://codereview.appspot.com/24780043/diff/1/container/network.go
File container/network.go (right):

https://codereview.appspot.com/24780043/diff/1/container/network.go#newcode7
container/network.go:7: // BridgeNetwork will have the container use the lxc
bridge.
On 2013/11/11 22:59:14, wallyworld wrote:
> s/lxc/network   ?

Done.
Sign in to reply to this message.

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