You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Ignasi Barrera (JIRA)" <ji...@apache.org> on 2017/06/16 14:14:00 UTC

[jira] [Commented] (JCLOUDS-1311) Azure ARM: Create network if it does not exist

    [ https://issues.apache.org/jira/browse/JCLOUDS-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16051954#comment-16051954 ] 

Ignasi Barrera commented on JCLOUDS-1311:
-----------------------------------------

In my opinion we shouldn't be doing this. I just posted my reasoning in the other issue:
https://issues.apache.org/jira/browse/JCLOUDS-1308?focusedCommentId=16051951&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-16051951

> Azure ARM: Create network if it does not exist
> ----------------------------------------------
>
>                 Key: JCLOUDS-1311
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1311
>             Project: jclouds
>          Issue Type: Improvement
>            Reporter: Graeme Miller
>
> An initial discussion was had in JCLOUDS-1308.
> Currently, when deploying a VM to Azure, a user can specify a Network and Subnet by specifying a subnet resource ID (the network ID is retrieved from the resource id). If this network and subnet does not exist the deployment fails.
> I would like to modify the Azure Arm code to create the network if it does not exist. To achieve this I propose:
> *) Modifying IpOptions so that a user can specify a NetworkName, SubnetName and NetworkResourceGroup (optional, will use the groups resource group if not specified)
> *) We either replace the current subnet config (which is actually a subnet resource id) or we keep it and make it mutually exclusive with the above
> *) If the Network/Subnet does not exist we create it in the NetworkResourceGroup specified. We would do that in the normalizeNetworkOptions method [here|https://github.com/jclouds/jclouds-labs/blob/master/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/strategy/CreateResourcesThenCreateNodes.java#L219]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)