From bf40d2ed2b57d2d2344b97f4205a30cd88142fb3 Mon Sep 17 00:00:00 2001 From: Ignasi Barrera Date: Tue, 18 Oct 2016 11:17:38 +0200 Subject: [PATCH] Configure jclouds group in virtualmachine tags --- .../arm/compute/AzureComputeServiceAdapter.java | 10 +++++++--- .../functions/VirtualMachineToNodeMetadata.java | 8 +++++++- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java b/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java index 4574ca71f1..96704335e6 100644 --- a/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java +++ b/providers/azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java @@ -99,6 +99,8 @@ import com.google.common.collect.Lists; @Singleton public class AzureComputeServiceAdapter implements ComputeServiceAdapter { + public static final String GROUP_KEY = "jclouds_group"; + private final CleanupResources cleanupResources; private final AzureComputeApi api; private final AzureComputeConstants azureComputeConstants; @@ -125,8 +127,6 @@ public class AzureComputeServiceAdapter implements ComputeServiceAdapter create one nic in each network // TODO inbound ports @@ -145,6 +145,9 @@ public class AzureComputeServiceAdapter implements ComputeServiceAdapter metadataAndTags = metadataAndTagsAsCommaDelimitedValue(template.getOptions()); Plan plan = getMarketplacePlanFromImageMetadata(template.getImage()); @@ -187,7 +190,8 @@ public class AzureComputeServiceAdapter implements ComputeServiceAdapter