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

Issue 6419069: cmd/juju: status: gather basic machine properties (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 9 months ago by dave
Modified:
11 years, 9 months ago
Reviewers:
mp+116341
Visibility:
Public.

Description

cmd/juju: status: gather basic machine properties This proposal adds the ability to gather basic machine properties. % juju status machines: "0": dns-name: ec2-50-16-84-143.compute-1.amazonaws.com instance-id: i-0ea58c76 services: {} nb. The key of the machines map is a string, not an int, which is an incompatability with the current pythonic output. This will be addressed shortly. https://code.launchpad.net/~dave-cheney/juju-core/go-cmd-juju-status-part-two/+merge/116341 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : cmd/juju: status: gather basic machine properties #

Patch Set 3 : cmd/juju: status: gather basic machine properties #

Patch Set 4 : cmd/juju: status: gather basic machine properties #

Total comments: 10

Patch Set 5 : cmd/juju: status: gather basic machine properties #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -14 lines) Patch
A [revision details] View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M cmd/juju/status.go View 1 2 2 chunks +107 lines, -1 line 0 comments Download
M cmd/juju/status_test.go View 1 2 3 4 3 chunks +56 lines, -13 lines 0 comments Download

Messages

Total messages: 8
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-23 18:41:07 UTC) #1
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-24 08:23:50 UTC) #2
dave_cheney.net
Please take a look.
11 years, 9 months ago (2012-07-24 09:30:16 UTC) #3
fwereade
Good start, LGTM. https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go#newcode138 cmd/juju/status.go:138: dnsname, err := instance.DNSName() As I ...
11 years, 9 months ago (2012-07-24 10:28:57 UTC) #4
dave_cheney.net
Thank you for your comments. https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go#newcode138 cmd/juju/status.go:138: dnsname, err := instance.DNSName() ...
11 years, 9 months ago (2012-07-24 10:56:23 UTC) #5
niemeyer
LGTM https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go#newcode111 cmd/juju/status.go:111: machineid := strconv.Itoa(m.Id()) This will need to be ...
11 years, 9 months ago (2012-07-24 11:25:29 UTC) #6
dave_cheney.net
Thank you for your review. https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go File cmd/juju/status.go (right): https://codereview.appspot.com/6419069/diff/2002/cmd/juju/status.go#newcode111 cmd/juju/status.go:111: machineid := strconv.Itoa(m.Id()) On ...
11 years, 9 months ago (2012-07-24 11:31:43 UTC) #7
dave_cheney.net
11 years, 9 months ago (2012-07-24 11:32:41 UTC) #8
*** Submitted:

cmd/juju: status: gather basic machine properties

This proposal adds the ability to gather basic machine
properties. 

% juju status 
machines:
  "0":
    dns-name: ec2-50-16-84-143.compute-1.amazonaws.com
    instance-id: i-0ea58c76
services: {}

nb. The key of the machines map is a string, not an int, which
is an incompatability with the current pythonic output. This
will be addressed shortly.

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

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