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

Issue 90310043: juju: Omit IPv6 and local addresses from jenv

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years ago by gz
Modified:
10 years ago
Reviewers:
mp+216744, wallyworld
Visibility:
Public.

Description

juju: Omit IPv6 and local addresses from jenv Until the jenv addresses cache gains the extra metadata fields that are returned over the API, filter out the addresses that are unlikely to be useful for connecting to an API server. https://code.launchpad.net/~gz/juju-core/api_endpoint_no_machine_local_1310258/+merge/216744 (do not edit description out of merge proposal)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M juju/api.go View 1 chunk +5 lines, -1 line 0 comments Download
M juju/apiconn_test.go View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 2
gz
Please take a look.
10 years ago (2014-04-22 15:06:00 UTC) #1
wallyworld
10 years ago (2014-04-23 01:20:41 UTC) #2
I tested this with local provider and got:

- 10.0.1.1:17070
- localhost:17070
- 192.168.1.116:17070
- 172.16.48.1:17070
- 172.16.175.1:17070

So localhost is still included which is kinda cool because that's where the
state server runs for local provider. So even though the bug says localhost
should be excluded that's not entirely accurate. 

LGTM
Sign in to reply to this message.

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