GitHub user Graeme-Miller opened a pull request:

    https://github.com/apache/brooklyn-server/pull/739

    A default network is now created when deploying to Azure ARM

    In an upcoming release of JClouds, support for Azure ARM will be added. The 
JClouds code for Azure ARM will place each created VM into a network based on 
it's group ID. As we do not use the concept of a group ID in Brooklyn, this 
means that each VM deployed by Brooklyn is deployed in it's own subnet. 
    
    For most other clouds, a sensible default network is provided by the cloud. 
As such a Brooklyn user can be assured that if he deploys a blueprint with 
multiple VMs, they can reach each other on the private IPs that are provided. 
Unless we create a default network in Azure, those blueprints will not be 
portable and a user will have to manually create a network first. I believe 
that it is confusing for a user to have the clouds act differently on 
networking, which is an essential part of Brooklyn.
    
    A few things to mention:
    *) The default network/subnet is only created when needed
    *) The default network/subnet is created per region
    *) It is never cleaned up or deleted
    
    --------------------------------------------------------------------
    As a side note, I discovered this as AMP, which is a downstream project of 
Brooklyn, pulled in and was using Azure ARM support from JClouds. An older 
version of the JClouds code created the default network, but was recently 
removed meaning a regression in AMP. The code which I have added to create a 
default network is based on the JClouds code.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/Graeme-Miller/brooklyn-server 
add_azure_default_network

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/brooklyn-server/pull/739.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #739
    
----
commit 120d9075e56972a486ae473cced62f1380b4cbb6
Author: graeme.miller <graeme.mil...@cloudsoftcorp.com>
Date:   2017-06-20T14:59:04Z

    A default network is now created when deploying to Azure ARM

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to