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

Issue 98600047: api: new Networker API facade (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 11 months ago by vladislav.klyachin
Modified:
9 years, 11 months ago
Reviewers:
dimitern, mp+221180, jameinel, fwereade
Visibility:
Public.

Description

api: new Networker API facade The original task was: "new Networker API facade (client/server) with ListVLANsForMachine API call" The additional tas was: "Networker API" should do all network setup staff done by cloud-init But all thing are changing and now Networker API has the only method calld MachineNetworkInfo(machineTag string) ([]network.Info, error). https://code.launchpad.net/~klyachin/juju-core/118-networker-facade/+merge/221180 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 44

Patch Set 2 : api: new Networker API facade #

Total comments: 48

Patch Set 3 : api: new Networker API facade #

Patch Set 4 : api: new Networker API facade #

Unified diffs Side-by-side diffs Delta from patch set Stats (+802 lines, -14 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M environs/network/network.go View 1 2 2 chunks +14 lines, -3 lines 0 comments Download
M provider/maas/environ.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M provider/maas/environ_test.go View 1 1 chunk +4 lines, -4 lines 0 comments Download
A state/api/networker/networker.go View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
A state/api/networker/networker_test.go View 1 2 3 1 chunk +244 lines, -0 lines 0 comments Download
A state/api/networker/package_test.go View 1 2 1 chunk +14 lines, -0 lines 0 comments Download
M state/api/params/internal.go View 1 2 3 2 chunks +17 lines, -2 lines 0 comments Download
M state/api/state.go View 2 chunks +7 lines, -0 lines 0 comments Download
A state/apiserver/networker/networker.go View 1 2 3 1 chunk +113 lines, -0 lines 0 comments Download
A state/apiserver/networker/networker_test.go View 1 2 3 1 chunk +294 lines, -0 lines 0 comments Download
A state/apiserver/networker/package_test.go View 1 2 3 1 chunk +14 lines, -0 lines 0 comments Download
M state/apiserver/root.go View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M state/networkinterfaces.go View 1 2 3 chunks +17 lines, -2 lines 0 comments Download
M state/networks.go View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16
vladislav.klyachin
Please take a look.
9 years, 11 months ago (2014-05-28 08:13:18 UTC) #1
jameinel
I think this is an interesting start, but it sounds like the API we are ...
9 years, 11 months ago (2014-05-28 09:27:50 UTC) #2
fwereade
General agreement with jam, posting my own comments now so you see them. In particular, ...
9 years, 11 months ago (2014-05-28 09:53:20 UTC) #3
dimitern
This can be made a lot simpler for our current needs. It's a good direction, ...
9 years, 11 months ago (2014-05-28 14:48:08 UTC) #4
vladislav.klyachin
Please take a look.
9 years, 11 months ago (2014-06-02 05:50:04 UTC) #5
fwereade
A few more comments, sorry, not exhaustive. https://codereview.appspot.com/98600047/diff/20001/environs/network/network.go File environs/network/network.go (right): https://codereview.appspot.com/98600047/diff/20001/environs/network/network.go#newcode34 environs/network/network.go:34: // Raw ...
9 years, 11 months ago (2014-06-02 10:43:45 UTC) #6
dimitern
Lots of comments, but now it looks a lot better. Tests need to get simpler ...
9 years, 11 months ago (2014-06-02 14:17:13 UTC) #7
vladislav.klyachin
On 2014/05/28 09:27:50, jameinel wrote: > I think this is an interesting start, but it ...
9 years, 11 months ago (2014-06-03 05:39:10 UTC) #8
vladislav.klyachin
On 2014/05/28 09:53:20, fwereade wrote: > General agreement with jam, posting my own comments now ...
9 years, 11 months ago (2014-06-03 05:43:05 UTC) #9
vladislav.klyachin
On 2014/05/28 14:48:08, dimitern wrote: > This can be made a lot simpler for our ...
9 years, 11 months ago (2014-06-03 07:05:43 UTC) #10
vladislav.klyachin
> https://codereview.appspot.com/98600047/diff/1/state/api/networker/networker_test.go#newcode193 > state/api/networker/networker_test.go:193: func (s *networkerSuite) > TestListVLANsForMachineNoRawInterface(c *gc.C) { > I totally don't ...
9 years, 11 months ago (2014-06-03 07:11:16 UTC) #11
vladislav.klyachin
On 2014/06/02 10:43:45, fwereade wrote: > A few more comments, sorry, not exhaustive. > > ...
9 years, 11 months ago (2014-06-03 07:19:05 UTC) #12
vladislav.klyachin
On 2014/06/02 14:17:13, dimitern wrote: > Lots of comments, but now it looks a lot ...
9 years, 11 months ago (2014-06-03 07:50:44 UTC) #13
vladislav.klyachin
> https://codereview.appspot.com/98600047/diff/20001/state/api/networker/networker_test.go#newcode303 > state/api/networker/networker_test.go:303: networks := []state.NetworkInfo{{ > These networks and ifaces should be initialized ...
9 years, 11 months ago (2014-06-04 14:13:06 UTC) #14
vladislav.klyachin
> > https://codereview.appspot.com/98600047/diff/20001/state/apiserver/networker/networker_test.go#newcode126 > state/apiserver/networker/networker_test.go:126: IsVirtual: false, > On 2014/06/02 10:43:44, fwereade wrote: > > ...
9 years, 11 months ago (2014-06-04 14:13:30 UTC) #15
vladislav.klyachin
9 years, 11 months ago (2014-06-04 16:03:43 UTC) #16
Please take a look.
Sign in to reply to this message.

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