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

Issue 80600044: cmd/juju: Add --(exclude-)networks args to deploy (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by dimitern
Modified:
10 years ago
Reviewers:
mp+212860, fwereade, jameinel
Visibility:
Public.

Description

cmd/juju: Add --(exclude-)networks args to deploy Implemented two new arguments to juju deploy: --networks and --exclude-networks. They allow specifying networks to enable/disable when deploying new machines hosting units of the service. If the API server is older than 1.17.7 and does not support ServiceDeployWithNetworks, and networks are specified, an error is returned. Otherwise (without networks specified), the command falls back to using ServiceDeploy API. https://code.launchpad.net/~dimitern/juju-core/370-cli-deploy-networks/+merge/212860 Requires: https://code.launchpad.net/~dimitern/juju-core/350-api-service-deploy-with-networks/+merge/211773 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 6

Patch Set 2 : cmd/juju: Add --networks/--no-networks to deploy #

Total comments: 4

Patch Set 3 : cmd/juju: Add --(exclude-)networks args to deploy #

Patch Set 4 : cmd/juju: Add --(exclude-)networks args to deploy #

Unified diffs Side-by-side diffs Delta from patch set Stats (+86 lines, -7 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/deploy.go View 1 2 3 8 chunks +72 lines, -7 lines 0 comments Download
M cmd/juju/deploy_test.go View 1 2 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 8
dimitern
Please take a look.
10 years ago (2014-03-26 14:43:59 UTC) #1
fwereade
Couple of questions https://codereview.appspot.com/80600044/diff/1/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/80600044/diff/1/cmd/juju/deploy.go#newcode70 cmd/juju/deploy.go:70: --no-networks. Only supported when using the ...
10 years ago (2014-03-26 15:48:29 UTC) #2
dimitern
This is on hold for a short time until I land a related branch, which ...
10 years ago (2014-03-28 10:25:20 UTC) #3
dimitern
Please take a look.
10 years ago (2014-03-28 17:34:19 UTC) #4
jameinel
I thought the CLI was --networks/--exclude-networks, and I think William had asked that it be ...
10 years ago (2014-03-31 06:14:00 UTC) #5
dimitern
Please take a look. https://codereview.appspot.com/80600044/diff/20001/cmd/juju/deploy.go File cmd/juju/deploy.go (right): https://codereview.appspot.com/80600044/diff/20001/cmd/juju/deploy.go#newcode71 cmd/juju/deploy.go:71: --no-networks. Only supported when using ...
10 years ago (2014-03-31 08:54:58 UTC) #6
dimitern
Please take a look.
10 years ago (2014-03-31 08:59:55 UTC) #7
jameinel
10 years ago (2014-03-31 09:05:45 UTC) #8
Message was sent while issue was closed.
LGTM
Sign in to reply to this message.

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