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

Issue 12768044: ec2: Add IP addresses to Instance struct

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 8 months ago by gz
Modified:
10 years, 8 months ago
Reviewers:
mp+179733, niemeyer, rog
Visibility:
Public.

Description

ec2: Add IP addresses to Instance struct Expose IPAddress and PrivateIPAddress on Instance and add sample values to ec2test server. R=rogpeppe, niemeyer https://codereview.appspot.com/12768044/ https://code.launchpad.net/~gz/goamz/add_instance_addresses/+merge/179733 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Add IP addresses to Instance struct #

Patch Set 3 : Add IP addresses to Instance struct #

Total comments: 5

Patch Set 4 : Add IP addresses to Instance struct #

Patch Set 5 : ec2: Add IP addresses to Instance struct #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -15 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M ec2/ec2.go View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ec2/ec2_test.go View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ec2/ec2t_test.go View 1 3 chunks +27 lines, -3 lines 0 comments Download
M ec2/ec2test/server.go View 1 2 3 4 chunks +21 lines, -12 lines 0 comments Download

Messages

Total messages: 14
gz
Please take a look.
10 years, 8 months ago (2013-08-12 15:39:35 UTC) #1
rog
On 2013/08/12 15:39:35, gz wrote: > Please take a look. LGTM
10 years, 8 months ago (2013-08-15 09:48:46 UTC) #2
niemeyer
LGTM
10 years, 8 months ago (2013-08-15 14:18:43 UTC) #3
niemeyer
I've added you to the goamz team, Martin.
10 years, 8 months ago (2013-08-15 14:19:46 UTC) #4
gz
Please take a look.
10 years, 8 months ago (2013-08-15 15:36:18 UTC) #5
gz
Please take a look.
10 years, 8 months ago (2013-08-15 15:40:12 UTC) #6
gz
Thanks for the reviews! We also needed to add support to the test server (should ...
10 years, 8 months ago (2013-08-15 15:43:55 UTC) #7
niemeyer
https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go File ec2/ec2test/server.go (right): https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go#newcode549 ec2/ec2test/server.go:549: fmt.Sscanf(inst.id, "i-%d", &id) Is this better than randomly assigning ...
10 years, 8 months ago (2013-08-15 15:58:43 UTC) #8
rog
LGTM modulo the below suggestions. https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go File ec2/ec2test/server.go (right): https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go#newcode494 ec2/ec2test/server.go:494: id: fmt.Sprintf("i-%d", srv.maxId.next()), You ...
10 years, 8 months ago (2013-08-15 16:04:44 UTC) #9
gz
Please take a look.
10 years, 8 months ago (2013-08-15 16:30:30 UTC) #10
gz
https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go File ec2/ec2test/server.go (right): https://codereview.appspot.com/12768044/diff/9003/ec2/ec2test/server.go#newcode494 ec2/ec2test/server.go:494: id: fmt.Sprintf("i-%d", srv.maxId.next()), On 2013/08/15 16:04:44, rog wrote: > ...
10 years, 8 months ago (2013-08-15 16:31:16 UTC) #11
niemeyer
LGTM
10 years, 8 months ago (2013-08-15 16:39:47 UTC) #12
rog
still LGTM, thanks.
10 years, 8 months ago (2013-08-15 17:29:37 UTC) #13
gz
10 years, 8 months ago (2013-08-20 12:01:16 UTC) #14
*** Submitted:

ec2: Add IP addresses to Instance struct

Expose IPAddress and PrivateIPAddress on Instance and add
sample values to ec2test server.

R=rogpeppe, niemeyer
https://codereview.appspot.com/12768044/

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

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