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

Issue 6596051: ec2: added security group configuration (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by TheMue
Modified:
11 years, 6 months ago
Reviewers:
mp+127318
Visibility:
Public.

Description

ec2: added security group configuration Added a configuration option to enable and disable the usage of one security group per machine in EC2. Currently only the configuration change is not used, only hints in ec2.go. https://code.launchpad.net/~themue/juju-core/go-ec2-security-group-config/+merge/127318 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : ec2: added security group configuration #

Total comments: 7

Patch Set 3 : ec2: added security group configuration #

Total comments: 2

Patch Set 4 : ec2: added security group configuration #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -1 line) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M environs/config/config.go View 1 2 3 5 chunks +28 lines, -0 lines 0 comments Download
M environs/config/config_test.go View 1 2 3 2 chunks +25 lines, -0 lines 0 comments Download
M environs/ec2/config_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M environs/ec2/ec2.go View 1 4 chunks +5 lines, -0 lines 0 comments Download

Messages

Total messages: 7
TheMue
Please take a look.
11 years, 7 months ago (2012-10-01 15:55:32 UTC) #1
niemeyer
This is going in the right direction, but this problem is not specific to EC2, ...
11 years, 7 months ago (2012-10-01 19:05:26 UTC) #2
TheMue
Please take a look.
11 years, 7 months ago (2012-10-02 13:44:36 UTC) #3
niemeyer
LGTM, but please add a test where indicated. https://codereview.appspot.com/6596051/diff/3001/environs/config/config.go File environs/config/config.go (right): https://codereview.appspot.com/6596051/diff/3001/environs/config/config.go#newcode10 environs/config/config.go:10: // ...
11 years, 7 months ago (2012-10-02 13:52:38 UTC) #4
TheMue
Please take a look. https://codereview.appspot.com/6596051/diff/3001/environs/config/config.go File environs/config/config.go (right): https://codereview.appspot.com/6596051/diff/3001/environs/config/config.go#newcode10 environs/config/config.go:10: // per machine of global. ...
11 years, 7 months ago (2012-10-02 15:33:18 UTC) #5
niemeyer
LGTM https://codereview.appspot.com/6596051/diff/3002/environs/config/config.go File environs/config/config.go (right): https://codereview.appspot.com/6596051/diff/3002/environs/config/config.go#newcode78 environs/config/config.go:78: return nil, fmt.Errorf("invalid firewall mode %q in environment ...
11 years, 7 months ago (2012-10-02 15:53:23 UTC) #6
TheMue
11 years, 7 months ago (2012-10-02 16:40:52 UTC) #7
*** Submitted:

ec2: added security group configuration

Added a configuration option to enable and disable the
usage of one security group per machine in EC2. Currently
only the configuration change is not used, only hints
in ec2.go.

R=niemeyer
CC=
https://codereview.appspot.com/6596051

https://codereview.appspot.com/6596051/diff/3002/environs/config/config.go
File environs/config/config.go (right):

https://codereview.appspot.com/6596051/diff/3002/environs/config/config.go#ne...
environs/config/config.go:78: return nil, fmt.Errorf("invalid firewall mode %q
in environment configuration", firewallMode)
On 2012/10/02 15:53:23, niemeyer wrote:
> Good catch.
> 
> This should follow the existing convention above:
> 
> "invalid firewall mode in environment configuration: %q"

Done.
Sign in to reply to this message.

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