Merge lp:~mfoord/gomaasapi/devices into lp:gomaasapi
Proposed by
Michael Foord
on 2015-06-30
| Status: | Merged |
|---|---|
| Approved by: | Michael Foord on 2015-07-03 |
| Approved revision: | 95 |
| Merged at revision: | 63 |
| Proposed branch: | lp:~mfoord/gomaasapi/devices |
| Merge into: | lp:gomaasapi |
| Diff against target: |
559 lines (+478/-5) 2 files modified
testservice.go (+250/-5) testservice_test.go (+228/-0) |
| To merge this branch: | bzr merge lp:~mfoord/gomaasapi/devices |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Raphaël Badin (community) | Approve on 2015-07-03 | ||
| Dimiter Naydenov (community) | 2015-06-30 | Approve on 2015-07-03 | |
|
Review via email:
|
|||
Commit Message
Adding devices support to gomaasapi test server.
Description of the Change
Adding devices support to gomaasapi test server.
To post a comment you must log in.
lp:~mfoord/gomaasapi/devices
updated
on 2015-07-02
- 95. By Michael Foord on 2015-07-02
-
Updated comments
| Michael Foord (mfoord) wrote : | # |
> LGTM in general, apart from the one comment inline below, if I wish we had
> logging in places where StatusBadRequest is returned to explain the reason and
> make the test server a bit easier to use.
>
> Also, as discussed on IRC we need support for op=claim_sticky_ip (or was it
> claim-sticky-ip?).
There's no logging in gomaasapi I'm afraid. The rest is now done.
| Raphaël Badin (rvb) wrote : | # |
Looks good to me as well… lots of TODOs in there but I understand creating a test double is costly and you're only implementing what you need right now.
review:
Approve

LGTM in general, apart from the one comment inline below, if I wish we had logging in places where StatusBadRequest is returned to explain the reason and make the test server a bit easier to use.
Also, as discussed on IRC we need support for op=claim_sticky_ip (or was it claim-sticky-ip?).