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

Issue 7265043: nova: floating ip errors (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+146182, fwereade, rog
Visibility:
Public.

Description

nova: floating ip errors Adds control points for addFloatingIP so the response can be tweaked and error conditions tested. Added two errors - NoMoreFloatingIPs and IPLimitExceeded, and added tests to handle them. This is closely related to the other CL in juju-core: https://codereview.appspot.com/7226068/ https://code.launchpad.net/~dimitern/goose/nova-floating-ips-errors/+merge/146182 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 4

Patch Set 2 : nova: floating ip errors #

Patch Set 3 : nova: floating ip errors #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -6 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M http/client.go View 1 chunk +1 line, -1 line 0 comments Download
M nova/local_test.go View 1 3 chunks +43 lines, -4 lines 0 comments Download
M testservices/novaservice/service.go View 1 chunk +3 lines, -0 lines 0 comments Download
M testservices/novaservice/service_http.go View 1 2 chunks +20 lines, -0 lines 0 comments Download
M testservices/openstackservice/openstack.go View 1 chunk +1 line, -1 line 0 comments Download
M testservices/service.go View 1 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 6
dimitern
Please take a look.
11 years, 3 months ago (2013-02-01 17:28:19 UTC) #1
rog
LGTM. i have misgivings about the approach to errors here, but that's nothing new :-) ...
11 years, 3 months ago (2013-02-01 18:11:21 UTC) #2
dimitern
Please take a look. https://codereview.appspot.com/7265043/diff/1/nova/local_test.go File nova/local_test.go (right): https://codereview.appspot.com/7265043/diff/1/nova/local_test.go#newcode142 nova/local_test.go:142: return &testservices.NoMoreFloatingIPs{fmt.Errorf("zero floating ips available")} ...
11 years, 3 months ago (2013-02-04 15:53:13 UTC) #3
rog
On 2013/02/04 15:53:13, dimitern wrote: > Please take a look. > > https://codereview.appspot.com/7265043/diff/1/nova/local_test.go > File ...
11 years, 3 months ago (2013-02-04 15:57:32 UTC) #4
fwereade
LGTM
11 years, 3 months ago (2013-02-04 15:59:14 UTC) #5
dimitern
11 years, 3 months ago (2013-02-04 16:11:27 UTC) #6
Submitted through Goose bot (we should link it with lbox)
Sign in to reply to this message.

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