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

Issue 11524044: Azure provider: create virtual network.

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 9 months ago by rvb
Modified:
10 years, 9 months ago
Reviewers:
dimitern, mp+175315
Visibility:
Public.

Description

Azure provider: create virtual network. Each azure environment must be associated with an affinity group and a virtual network used for direct machine-to-machine communication. This branch adds all the utilities to create and delete the environment's affinity group and virtual network. The Bootstrap() method is still being refactored and is thus left untested for now. Branches to remove the environment's affinity group and virtual network (when the environment is destroyed) and use the private address for machine-to-machine communication will follow. https://code.launchpad.net/~rvb/juju-core/create-vnet/+merge/175315 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+224 lines, -16 lines) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M environs/azure/environ.go View 6 chunks +101 lines, -9 lines 2 comments Download
M environs/azure/environ_test.go View 9 chunks +121 lines, -7 lines 0 comments Download

Messages

Total messages: 3
rvb
Please take a look.
10 years, 9 months ago (2013-07-19 07:04:42 UTC) #1
dimitern
LGTM with a couple of suggestions. https://codereview.appspot.com/11524044/diff/1/environs/azure/environ.go File environs/azure/environ.go (right): https://codereview.appspot.com/11524044/diff/1/environs/azure/environ.go#newcode173 environs/azure/environ.go:173: func (env *azureEnviron) ...
10 years, 9 months ago (2013-07-19 08:17:04 UTC) #2
rvb
10 years, 9 months ago (2013-07-19 08:24:15 UTC) #3
On 2013/07/19 08:17:04, dimitern wrote:
> LGTM with a couple of suggestions.
> 
> https://codereview.appspot.com/11524044/diff/1/environs/azure/environ.go
> File environs/azure/environ.go (right):
> 
>
https://codereview.appspot.com/11524044/diff/1/environs/azure/environ.go#newc...
> environs/azure/environ.go:173: func (env *azureEnviron) destroyAffinityGroup()
> error {
> Why not deleteAffinityGroup?
> 
>
https://codereview.appspot.com/11524044/diff/1/environs/azure/environ.go#newc...
> environs/azure/environ.go:208: func (env *azureEnviron)
destroyVirtualNetwork()
> error {
> removeVirtualNetwork ? (for consistency with the gwacl API) Or
> deleteVirtualNetwork perhaps? (for consistency with the provider API)

Good points, I've renamed the methods.
Sign in to reply to this message.

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