jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graeme Miller (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCLOUDS-1311) Azure ARM: Create network if it does not exist
Date Fri, 16 Jun 2017 13:36:00 GMT
Graeme Miller created JCLOUDS-1311:
--------------------------------------

             Summary: 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)

Mime
View raw message