This also introduces a small change to store the jclouds group in the virtual
machine tags so we can properly identify vms with custom names in the
corresponding group.
With this commit we also have the version details (there is an extra api call
needed to determine if the vm is from the Marketplace) in each image, and we
can better fallback to the generic operating system (Linux/Windows) if we can't
parse the specific version.
/cc @andreaturli
You can view, comment on, or merge this pull request online at:
https://github.com/jclouds/jclouds-labs/pull/328
-- Commit Summary --
* Configuration to deploy VMs from the Marketplace
* Configure jclouds group in virtualmachine tags
-- File Changes --
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/AzureComputeServiceAdapter.java
(21)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/VMImageToImage.java
(99)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/compute/functions/VirtualMachineToNodeMetadata.java
(8)
A
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/Plan.java
(47)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/VMImage.java
(8)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/Version.java
(51)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/domain/VirtualMachine.java
(37)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/features/OSImageApi.java
(10)
M
azurecompute-arm/src/main/java/org/jclouds/azurecompute/arm/features/VirtualMachineApi.java
(7)
M
azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/features/VirtualMachineApiLiveTest.java
(2)
M
azurecompute-arm/src/test/java/org/jclouds/azurecompute/arm/features/VirtualMachineApiMockTest.java
(166)
M azurecompute-arm/src/test/resources/createvirtualmachineresponse.json (5)
M azurecompute-arm/src/test/resources/virtualmachine.json (5)
-- Patch Links --
https://github.com/jclouds/jclouds-labs/pull/328.patch
https://github.com/jclouds/jclouds-labs/pull/328.diff
--
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/328