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

Issue 7197049: api/state: allow multiple addresses; add APIInfo

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by rog
Modified:
11 years, 3 months ago
Reviewers:
mp+144534
Visibility:
Public.

Description

api/state: allow multiple addresses; add APIInfo We don't use them yet, but as we only ever have one server currently, that's shouldn't be an issue. We also add APIInfo to cloudinit.Config, which probably shouldn't have got mixed into this CL, but hopefully it's ok here. https://code.launchpad.net/~rogpeppe/juju-core/203-api-multi-addr/+merge/144534 Requires: https://code.launchpad.net/~rogpeppe/juju-core/202-environs-apiinfo/+merge/144452 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : api/state: allow multiple addresses #

Total comments: 4

Patch Set 3 : api/state: allow multiple addresses; add APIInfo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -50 lines) Patch
A [revision details] View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/jujud/machine.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/jujud/machine_test.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/agent/agent.go View 4 chunks +18 lines, -11 lines 0 comments Download
M environs/agent/agent_test.go View 6 chunks +6 lines, -6 lines 0 comments Download
M environs/cloudinit/cloudinit.go View 1 2 9 chunks +42 lines, -4 lines 0 comments Download
M environs/cloudinit/cloudinit_test.go View 1 2 8 chunks +54 lines, -11 lines 0 comments Download
M environs/dummy/environs.go View 1 chunk +1 line, -1 line 0 comments Download
M environs/ec2/ec2.go View 1 2 7 chunks +16 lines, -10 lines 0 comments Download
M environs/jujutest/tests.go View 1 chunk +1 line, -1 line 0 comments Download
M juju/testing/conn.go View 2 chunks +3 lines, -1 line 0 comments Download
M state/api/api_test.go View 1 chunk +1 line, -1 line 0 comments Download
M state/api/client.go View 2 chunks +5 lines, -3 lines 0 comments Download
M state/api/server.go View 0 chunks +-1 lines, --1 lines 0 comments Download

Messages

Total messages: 5
rog
Please take a look.
11 years, 3 months ago (2013-01-23 16:53:38 UTC) #1
dimitern
LGTM, only one question - why do we use Addrs[0] only? There's a TODO about ...
11 years, 3 months ago (2013-01-23 17:26:21 UTC) #2
rog
On 2013/01/23 17:26:21, dimitern wrote: > LGTM, only one question - why do we use ...
11 years, 3 months ago (2013-01-23 17:39:07 UTC) #3
niemeyer
I don't understand the relationship of some of the changes with the CL description. Otherwise, ...
11 years, 3 months ago (2013-01-24 13:39:38 UTC) #4
rog
11 years, 3 months ago (2013-01-24 14:06:22 UTC) #5
*** Submitted:

api/state: allow multiple addresses; add APIInfo

We don't use them yet, but as we only ever have
one server currently, that's shouldn't be an issue.

We also add APIInfo to cloudinit.Config, which
probably shouldn't have got mixed into this CL,
but hopefully it's ok here.

R=dimitern, niemeyer
CC=
https://codereview.appspot.com/7197049

https://codereview.appspot.com/7197049/diff/2001/environs/ec2/ec2.go
File environs/ec2/ec2.go (right):

https://codereview.appspot.com/7197049/diff/2001/environs/ec2/ec2.go#newcode265
environs/ec2/ec2.go:265: apiInfo: &api.Info{
On 2013/01/24 13:39:38, niemeyer wrote:
> This looks unrelated to the multiple addresses change that this CL claims in
its
> description.

yes. it got dragged in somehow, and i did change the CL description, but
couldn't fit it all in the top 50 characters.

i hope you're ok with it all going in in one lump.
Sign in to reply to this message.

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