|
MaaS tag support in constraints
Added a new constraint called tags. In MaaS this corresponds to maas-tags, it is currently unsupported in other providers, though it could be implemented in the future to allow a pass-through for provider-specific features. Tags are simply comma-delimited strings.
Added code to disable constraints.Value serialization to yaml, since goyaml has bugs with how it handles slices.
https://code.launchpad.net/~natefinch/juju-core/013-maas-tags/+merge/187298
(do not edit description out of merge proposal)
Total comments: 10
Total comments: 1
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+282 lines, -78 lines) |
Patch |
 |
A |
[revision details]
|
View
|
1
2
3
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/addmachine_test.go
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/constraints_test.go
|
View
|
1
2
3
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/juju/deploy.go
|
View
|
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
cmd/jujud/bootstrap_test.go
|
View
|
1
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
constraints/constraints.go
|
View
|
1
2
3
|
8 chunks |
+65 lines, -1 line |
1 comment
|
Download
|
 |
M |
constraints/constraints_test.go
|
View
|
1
2
3
|
7 chunks |
+122 lines, -44 lines |
0 comments
|
Download
|
 |
M |
environs/instances/instancetype.go
|
View
|
1
2
3
|
4 chunks |
+20 lines, -0 lines |
0 comments
|
Download
|
 |
M |
instance/instance.go
|
View
|
1
2
3
|
4 chunks |
+28 lines, -5 lines |
0 comments
|
Download
|
 |
M |
juju/conn.go
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
provider/azure/instancetype.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
provider/dummy/environs.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
provider/ec2/ec2.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
provider/maas/environ.go
|
View
|
1
2
3
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
provider/maas/environ_test.go
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
provider/openstack/image.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
provider/openstack/provider.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
state/constraints.go
|
View
|
1
2
3
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/initialize_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/machine.go
|
View
|
1
2
3
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
state/machine_test.go
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
state/service_test.go
|
View
|
|
3 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
 |
M |
state/state.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
state/state_test.go
|
View
|
1
2
3
|
9 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
state/unit.go
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
worker/provisioner/provisioner_test.go
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 11
|