jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From code4clouds <notificati...@github.com>
Subject Re: [jclouds/jclouds-labs] JCLOUDS-1342 : Azure-ARM Virtual Machine Scale Set Support (#412)
Date Thu, 02 Nov 2017 16:07:55 GMT
code4clouds commented on this pull request.



> +      String subnetName = String.format("s-%s-%s", this.getClass().getSimpleName().toLowerCase(),
System.getProperty("user.name"));
+      this.subnet = createDefaultSubnet(resourceGroupName, subnetName, virtualNetworkName,
"10.2.0.0/23");
+      assertNotNull(subnet);
+      assertNotNull(subnet.id());
+      this.subnetId = subnet.id();
+
+
+      vmssName = String.format("%3.24s", System.getProperty("user.name") + RAND + this.getClass().getSimpleName()).toLowerCase().substring(0,
15);
+   }
+
+   @Test
+   public void testCreate() {
+      VirtualMachineScaleSet vmss = api().createOrUpdate(vmssName, LOCATIONDESCRIPTION, getSKU(),
+         Collections.<String, String>emptyMap(), getProperties());
+      assertTrue(!vmss.name().isEmpty());
+   }

That's been done on the BaseAzureComputeApiLiveTest.java using the tearDown().  The system
cleans after the live test is complete...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/412#discussion_r148580687
Mime
View raw message