This adds a new client API call: ServiceDeployWithNetworks,
which works exactly like ServiceDeploy, but takes two extra
arguments (required) IncludedNetworks and ExcludedNetworks.
These specify a list of VLANs/networks to enable or disable
at boot time for the machine being deployed, and also record
that into the service document.
Right now, the new API does not change the service and/or
machine documents to add the networks, because there's another
branch mgz is doing for that right now.
Affected files (+162, -37 lines):
A [revision details]
M juju/deploy.go
M state/api/client.go
M state/api/params/params.go
M state/apiserver/client/client.go
M state/apiserver/client/client_test.go
M state/apiserver/client/perm_test.go
Reviewers: mp+211773_ code.launchpad. net,
Message:
Please take a look.
Description: ServiceDeployWi thNetworks
state/api: Add Client.
This adds a new client API call: ServiceDeployWi thNetworks,
which works exactly like ServiceDeploy, but takes two extra
arguments (required) IncludedNetworks and ExcludedNetworks.
These specify a list of VLANs/networks to enable or disable
at boot time for the machine being deployed, and also record
that into the service document.
Right now, the new API does not change the service and/or
machine documents to add the networks, because there's another
branch mgz is doing for that right now.
https:/ /code.launchpad .net/~dimitern/ juju-core/ 350-api- service- deploy- with-networks/ +merge/ 211773
(do not edit description out of merge proposal)
Please review this at https:/ /codereview. appspot. com/76910044/
Affected files (+162, -37 lines): params/ params. go /client/ client. go /client/ client_ test.go /client/ perm_test. go
A [revision details]
M juju/deploy.go
M state/api/client.go
M state/api/
M state/apiserver
M state/apiserver
M state/apiserver