|
Introduce lxc-use-clone, ContainerManagerConfig
A new lxc-use-clone config attribute and a new
ContainerManagerConfig provisioner API are introduced.
If lxc-use-clone is set to true, then the LXC
provisioner will be configured to use cloning
regardless of provider type. This setting is currently
immutable; additional work will be required to support
reacting to changes and reconfiguring the provisioner.
Fixes lp:1315216
https://code.launchpad.net/~axwalk/juju-core/lp1315216-lxc-use-clone/+merge/218773
(do not edit description out of merge proposal)
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+158 lines, -15 lines) |
Patch |
|
A |
[revision details]
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
environs/config/config.go
|
View
|
|
4 chunks |
+13 lines, -3 lines |
0 comments
|
Download
|
|
M |
environs/config/config_test.go
|
View
|
1
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/api/params/params.go
|
View
|
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/api/provisioner/provisioner.go
|
View
|
1
2
|
1 chunk |
+8 lines, -1 line |
0 comments
|
Download
|
|
M |
state/api/provisioner/provisioner_test.go
|
View
|
1
|
2 chunks |
+54 lines, -0 lines |
0 comments
|
Download
|
|
M |
state/apiserver/provisioner/provisioner.go
|
View
|
1
2
|
2 chunks |
+20 lines, -1 line |
0 comments
|
Download
|
|
M |
state/apiserver/provisioner/provisioner_test.go
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/container_initialisation.go
|
View
|
|
4 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/kvm-broker.go
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
worker/provisioner/kvm-broker_test.go
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/lxc-broker.go
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
worker/provisioner/lxc-broker_test.go
|
View
|
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 7
|