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

Issue 7241045: openstack: (Wait)DNSName() implemented (Closed)

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

Description

openstack: (Wait)DNSName() implemented This is a follow up of https://codereview.appspot.com/7228058/. Implements WaitDNSName() and DNSName() calls in the OpenStack provider, using the map of networks to IP addresses, correctly extracting the correct IP address from it. See getInstanceAddress() - logic ported from py-juju's openstack provider, along with the needed tests to check all real-world cases of OS. Modified the behavior, as discussed to use the public address if available. https://code.launchpad.net/~dimitern/juju-core/openstack-server-addresses/+merge/145340 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : openstack: (Wait)DNSName() implemented #

Total comments: 2

Patch Set 3 : openstack: (Wait)DNSName() implemented #

Patch Set 4 : openstack: (Wait)DNSName() implemented #

Patch Set 5 : openstack: (Wait)DNSName() implemented #

Unified diffs Side-by-side diffs Delta from patch set Stats (+186 lines, -10 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M environs/openstack/export_test.go View 1 2 chunks +5 lines, -0 lines 0 comments Download
M environs/openstack/local_test.go View 1 2 3 4 2 chunks +108 lines, -0 lines 0 comments Download
M environs/openstack/provider.go View 1 4 chunks +71 lines, -10 lines 0 comments Download

Messages

Total messages: 6
dimitern
Please take a look.
11 years, 3 months ago (2013-01-29 10:04:31 UTC) #1
rog
LGTM with one trivial remark below, but i can't speak more than superficially. https://codereview.appspot.com/7241045/diff/1/environs/openstack/provider.go File ...
11 years, 3 months ago (2013-01-29 10:44:42 UTC) #2
dimitern
Please take a look. https://codereview.appspot.com/7241045/diff/1/environs/openstack/provider.go File environs/openstack/provider.go (right): https://codereview.appspot.com/7241045/diff/1/environs/openstack/provider.go#newcode117 environs/openstack/provider.go:117: func GetPrivateAddress(addresses map[string][]nova.IPAddress) (string, error) ...
11 years, 3 months ago (2013-01-29 15:08:31 UTC) #3
dimitern
Changes done as discussed.
11 years, 3 months ago (2013-01-29 15:08:34 UTC) #4
gz
LGTM, bar my whining about the tests. :) https://codereview.appspot.com/7241045/diff/4001/environs/openstack/local_test.go File environs/openstack/local_test.go (right): https://codereview.appspot.com/7241045/diff/4001/environs/openstack/local_test.go#newcode153 environs/openstack/local_test.go:153: private: ...
11 years, 3 months ago (2013-01-29 15:53:10 UTC) #5
dimitern
11 years, 3 months ago (2013-01-29 16:13:32 UTC) #6
*** Submitted:

openstack: (Wait)DNSName() implemented

This is a follow up of https://codereview.appspot.com/7228058/.
Implements WaitDNSName() and DNSName() calls in the OpenStack provider, using
the
map of networks to IP addresses, correctly extracting the correct IP address
from it.
See getInstanceAddress() - logic ported from py-juju's openstack provider, along
with
the needed tests to check all real-world cases of OS. Modified the behavior, as
discussed
to use the public address if available.

R=rog, gz
CC=
https://codereview.appspot.com/7241045
Sign in to reply to this message.

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