Merge lp:~themue/juju-core/go-ec2-security-group-config into lp:~juju/juju-core/trunk
Proposed by
Frank Mueller
Status: | Merged |
---|---|
Merged at revision: | 610 |
Proposed branch: | lp:~themue/juju-core/go-ec2-security-group-config |
Merge into: | lp:~juju/juju-core/trunk |
Diff against target: |
159 lines (+59/-1) 4 files modified
environs/config/config.go (+28/-0) environs/config/config_test.go (+25/-0) environs/ec2/config_test.go (+1/-1) environs/ec2/ec2.go (+5/-0) |
To merge this branch: | bzr merge lp:~themue/juju-core/go-ec2-security-group-config |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
The Go Language Gophers | Pending | ||
Review via email: mp+127318@code.launchpad.net |
Description of the change
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.
To post a comment you must log in.
This is going in the right direction, but this problem is not specific
to EC2, so we can take another step forward and have it ready for the
next providers. I suggest introducing:
firewall-mode: default / global
With an internal API such as:
func (c *Config) FirewallMode() FirewallMode { ... }
type FirewallMode string
const (
FwDefault FirewallMode = "default"
FwGlobal FirewallMode = "global"
)
https:/ /codereview. appspot. com/6596051/