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

Issue 7195046: nova: get/set server addresses (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by dimitern
Modified:
13 years, 1 month ago
Reviewers:
gz, mp+144537, rog
Visibility:
Public.

Description

nova: get/set server addresses Implemented GetServerAddresses() Nova API call to retrieve a server's private and public addresses. Did the same for the service double - only reading supported through HTTP, but that's what we need. This is needed in order to implement DNSName() and WaitDNSName() in the juju-core/environs/openstack provider. https://code.launchpad.net/~dimitern/goose/nova-get-server-addresses/+merge/144537 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -12 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M nova/live_test.go View 1 chunk +7 lines, -0 lines 0 comments Download
M nova/nova.go View 2 chunks +43 lines, -0 lines 1 comment Download
M testservices/novaservice/service.go View 3 chunks +45 lines, -12 lines 2 comments Download
M testservices/novaservice/service_http.go View 4 chunks +36 lines, -0 lines 3 comments Download
M testservices/novaservice/service_http_test.go View 2 chunks +25 lines, -0 lines 1 comment Download
M testservices/novaservice/service_test.go View 1 chunk +24 lines, -0 lines 0 comments Download

Messages

Total messages: 4
dimitern
Please take a look.
13 years, 1 month ago (2013-01-23 17:19:34 UTC) #1
rog
LGTM with one minor thought below, although i can't say anything about how appropriate the ...
13 years, 1 month ago (2013-01-23 18:03:27 UTC) #2
gz
Strictly, a using a new api should not be needed, as juju will be using ...
13 years, 1 month ago (2013-01-23 18:29:31 UTC) #3
dimitern
13 years, 1 month ago (2013-01-24 14:05:31 UTC) #4
As discussed, I'm abandoning this approach and will implement a similar behavior
using the servers/detail API, parsing the addresses as needed. Juju will handle
the logic of selecting private and public address. So I'm closing this.
Sign in to reply to this message.

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