cloudstack-go.git
3 years agoFixed typo within README.md (#102)
Ryan Hamilton [Fri, 12 Oct 2018 20:53:18 +0000 (13:53 -0700)] 
Fixed typo within README.md (#102)

3 years agoUpdate secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101) v2.2.1 v2.3.4
Cezar Sá Espinola [Mon, 27 Aug 2018 20:52:50 +0000 (17:52 -0300)] 
Update secondarystoragetotal field to float64 for Cloudstack 4.11.1.0 (#101)

After Cloudstack 4.11.1.0 the secondarystoragetotal field was changed
from Long to Float in Cloudstack in apache/cloudstack#2439.
Changing this in the generated client seems safe and backward compatible
because long values will still be parsed correctly as a float64.

4 years agoChange synchronous boolean response to bool (#99)
Sander van Harmelen [Wed, 23 May 2018 08:50:01 +0000 (10:50 +0200)] 
Change synchronous boolean response to bool (#99)

The `success` fields in newer versions of CloudStack will use a `bool` value instead of a `string`, matching the behavious of asynchronious responses.

To make sure this change is backwards compatible the related types now have a custom `UnmarshalJSON` method that unmarshals the data (string or bool) into the new bool field.

4 years agoMake sure we treat `OutOfBandManagementResponse` correctly (#97) v2.3.3
Sander van Harmelen [Thu, 19 Apr 2018 19:16:51 +0000 (21:16 +0200)] 
Make sure we treat `OutOfBandManagementResponse` correctly (#97)

4 years agoAdd support for the login command
Sander van Harmelen [Mon, 16 Apr 2018 11:55:48 +0000 (13:55 +0200)] 
Add support for the login command

4 years agoUpdate the generated code using the correct layout v2.3.2
Sander van Harmelen [Tue, 20 Mar 2018 22:55:36 +0000 (23:55 +0100)] 
Update the generated code using the correct layout

4 years agoUpdate layout to match CS 4.9.3
Sander van Harmelen [Tue, 20 Mar 2018 22:53:47 +0000 (23:53 +0100)] 
Update layout to match CS 4.9.3

4 years agoUpdate the generated code
Sander van Harmelen [Tue, 20 Mar 2018 10:30:31 +0000 (11:30 +0100)] 
Update the generated code

4 years agoAdd option to generate code from a custom input file
Sander van Harmelen [Tue, 20 Mar 2018 10:30:21 +0000 (11:30 +0100)] 
Add option to generate code from a custom input file

4 years agoGeneration updates:
Daniel Paul Carbone [Fri, 9 Feb 2018 05:04:21 +0000 (23:04 -0600)] 
Generation updates:

- Allowing generation based on local "listApis" response
- Adding flag to prevent ",omitempty" on generated response models
- Changing "set" type from "[]string" to "[]interface{}"
- Adding "massageServices" function to facilitate manual cleanup of
  somewhat...loose listApis response from cloudstack.
- Updating "cloudstack" package based on 4.8 api response

4 years agoUpdate to support CloudStack 4.9.3 (#91) v2.3.1
Sander van Harmelen [Mon, 19 Mar 2018 19:35:42 +0000 (20:35 +0100)] 
Update to support CloudStack 4.9.3 (#91)

4 years agoUpdate encoding of 'details' maps (#86) v2.3.0
Sander van Harmelen [Sat, 13 Jan 2018 11:26:33 +0000 (12:26 +0100)] 
Update encoding of 'details' maps (#86)

Update encoding of 'details' maps

4 years agoAllow setting default options (#85)
Sander van Harmelen [Sat, 13 Jan 2018 11:25:49 +0000 (12:25 +0100)] 
Allow setting default options (#85)

Using it looks like this:

```
// Create a new API client
cs := cloudstack.NewAsyncClient("https://cloudstack.company.com", "your-api-key", "your-api-secret", false)

// Set an option
cs.DefaultOptions(WithProject(“project”))

// Or set multiple options
cs.DefautlOptions(WithProject(“project”), WithVPCID(“xxxx”))
```

4 years agoTweak the CustomService (#83) v2.2.0
Sander van Harmelen [Thu, 5 Oct 2017 09:31:45 +0000 (11:31 +0200)] 
Tweak the CustomService (#83)

4 years agoadds support for custom services (#82)
André Carvalho [Thu, 5 Oct 2017 09:09:34 +0000 (06:09 -0300)] 
adds support for custom services (#82)

4 years agoFixed responses for create user and register user keys (#81)
pdube [Mon, 2 Oct 2017 18:44:02 +0000 (14:44 -0400)] 
Fixed responses for create user and register user keys (#81)

4 years agoCorrectly unmarshal the `CreateAccountResponse` (#80)
Sander van Harmelen [Sun, 24 Sep 2017 14:35:58 +0000 (16:35 +0200)] 
Correctly unmarshal the `CreateAccountResponse` (#80)

Fixes #78

4 years agoAdd an example of how to use the package (#74)
Sander van Harmelen [Fri, 25 Aug 2017 08:34:59 +0000 (10:34 +0200)] 
Add an example of how to use the package (#74)

5 years agoMake sure the FirewallService works with old CS version (#72) v2.1.7
Sander van Harmelen [Thu, 11 May 2017 07:54:48 +0000 (09:54 +0200)] 
Make sure the FirewallService works with old CS version (#72)

5 years agoFix the authorizeSecurityGroup[In|E]gress responses (#69) v2.1.6
Sander van Harmelen [Wed, 26 Oct 2016 18:16:49 +0000 (20:16 +0200)] 
Fix the authorizeSecurityGroup[In|E]gress responses (#69)

5 years agoFix/improve #66 (#68) v2.1.5
Sander van Harmelen [Mon, 24 Oct 2016 10:36:39 +0000 (12:36 +0200)] 
Fix/improve #66 (#68)

Fixing it this way makes it cleaner to use/set the `usersecuritygrouplist` in clients using this, and keeps it simular in use compared to working with `serviceproviderlist` and `tags`.

Fixes #67

5 years agoFix usersecuritygrouplist parameters (#66)
Sander van Harmelen [Sun, 23 Oct 2016 09:28:36 +0000 (11:28 +0200)] 
Fix usersecuritygrouplist parameters (#66)

5 years agoFix a bug in the createSecurityGroup call (#62) (#63) v2.1.4
Sander van Harmelen [Wed, 28 Sep 2016 15:38:44 +0000 (17:38 +0200)] 
Fix a bug in the createSecurityGroup call (#62) (#63)

5 years agoFix a bug in the listAffinityGroup call (#61) v2.1.3
Sander van Harmelen [Wed, 31 Aug 2016 14:38:59 +0000 (16:38 +0200)] 
Fix a bug in the listAffinityGroup call (#61)

It reports the number of VirtualMachines in the groups as being the number of groups found.

5 years agoFix a bug that created bad parameter names (#60) v2.1.2
Sander van Harmelen [Mon, 29 Aug 2016 09:53:18 +0000 (11:53 +0200)] 
Fix a bug that created bad parameter names (#60)

When the parameter is called `type` we have to convert this to prevent using the reserved keyword `type` as a variable name. But we were doing it in a few other locations as well. That’s fixed now.

6 years agoAdd a copy of the license file to the cloudstack package
Sander van Harmelen [Thu, 28 Jul 2016 18:03:36 +0000 (20:03 +0200)] 
Add a copy of the license file to the cloudstack package

6 years agoFix the ListLoadBalancerRuleInstances response (#59) v2.1.1
Sander van Harmelen [Wed, 27 Jul 2016 11:02:17 +0000 (13:02 +0200)] 
Fix the ListLoadBalancerRuleInstances response (#59)

This one can have two possible response types, depending on the query values used. By adding this, both types are supported.

6 years agoImprover helper function to retrieve ID (#58) v2.1.0
Sander van Harmelen [Tue, 26 Jul 2016 17:27:01 +0000 (19:27 +0200)] 
Improver helper function to retrieve ID (#58)

6 years agoMerge pull request #56 from svanharmelen/f-list-with-vpcid-option
Sander van Harmelen [Wed, 18 May 2016 12:33:22 +0000 (14:33 +0200)] 
Merge pull request #56 from svanharmelen/f-list-with-vpcid-option

Add an option to search with VPC ID

6 years agoAdd an option to search with VPC ID
Sander van Harmelen [Wed, 18 May 2016 12:32:33 +0000 (14:32 +0200)] 
Add an option to search with VPC ID

6 years agoMerge pull request #55 from svanharmelen/b-loadbalancerruleinstance-response
Sander van Harmelen [Mon, 2 May 2016 10:32:14 +0000 (12:32 +0200)] 
Merge pull request #55 from svanharmelen/b-loadbalancerruleinstance-response

Fix issue #54

6 years agoFix issue #54
Sander van Harmelen [Mon, 2 May 2016 10:28:32 +0000 (12:28 +0200)] 
Fix issue #54

This fixes issue #54 by adding some specific tweaks needed to handle
the `listLoadBalancerRuleInstances` response correctly.

Unfortunately the CloudStack API has a few strange corner
cases/inconsistencies that requires specific handling of certain calls.

6 years agoMerge pull request #53 from svanharmelen/f-project-support
Sander van Harmelen [Thu, 21 Apr 2016 14:52:44 +0000 (16:52 +0200)] 
Merge pull request #53 from svanharmelen/f-project-support

Add better support for using projects with the helper functions

6 years agoAdd better support for using projects with the helper functions
Sander van Harmelen [Thu, 21 Apr 2016 14:51:29 +0000 (16:51 +0200)] 
Add better support for using projects with the helper functions

6 years agoMerge pull request #51 from svanharmelen/f-v50 v2.0.0
Sander van Harmelen [Tue, 19 Apr 2016 19:34:13 +0000 (21:34 +0200)] 
Merge pull request #51 from svanharmelen/f-v50

Change repo layout and updated to latest version

6 years agoMake sure the FirewallService remains backwards compatible
Sander van Harmelen [Tue, 19 Apr 2016 19:28:38 +0000 (21:28 +0200)] 
Make sure the FirewallService remains backwards compatible

6 years agoGenerate packages based on latest API output
Sander van Harmelen [Tue, 19 Apr 2016 13:38:59 +0000 (15:38 +0200)] 
Generate packages based on latest API output

Also cleanup the old packages and make sure the the current package is
backwards compatible.

6 years agoMerge pull request #50 from Carles-Figuerola/f-createnetworkoffering
Sander van Harmelen [Fri, 29 Jan 2016 15:37:40 +0000 (16:37 +0100)] 
Merge pull request #50 from Carles-Figuerola/f-createnetworkoffering

Add a special use case for CreateNetworkOffering

6 years agoAdd a special use case for CreateNetworkOffering
Carles Figuerola [Fri, 29 Jan 2016 15:32:55 +0000 (09:32 -0600)] 
Add a special use case for CreateNetworkOffering

6 years agoMerge pull request #49 from svanharmelen/dev
Sander van Harmelen [Fri, 29 Jan 2016 15:14:55 +0000 (16:14 +0100)] 
Merge pull request #49 from svanharmelen/dev

Introduce a way to have specific key/value names

6 years agoIntroduce a way to have specific key/value names
Sander van Harmelen [Fri, 29 Jan 2016 14:50:18 +0000 (15:50 +0100)] 
Introduce a way to have specific key/value names

This is an alternative solution for PR #47.

By using this approach we don’t have to make any changes to the raw
output generated by the `listApis` API call (which is saved in the
`v43.go` and `v44.go` files).

So when we now want to generate code based on a new version, we only
have to paste the output of the `listApis` call info a new `vxx.go`
file and were good to go, without having to manually alter the file.

Next to all that’ it simple feels a little cleaner and more robust
:wink:

6 years agoMerge pull request #48 from svanharmelen/dev
Sander van Harmelen [Fri, 29 Jan 2016 14:12:44 +0000 (15:12 +0100)] 
Merge pull request #48 from svanharmelen/dev

Add a special use case for CreateServiceOffering

6 years agoAdd a special use case for CreateServiceOffering
Sander van Harmelen [Fri, 29 Jan 2016 14:12:06 +0000 (15:12 +0100)] 
Add a special use case for CreateServiceOffering

I tried to make this a more generic fix as it seems more API’s have
this pattern, but it seems CloudStack is just too inconsistent for this.

Fixes #44

6 years agoMerge pull request #45 from svanharmelen/Dev
Sander van Harmelen [Mon, 25 Jan 2016 17:03:51 +0000 (18:03 +0100)] 
Merge pull request #45 from svanharmelen/Dev

Fix listAsyncJobs

6 years agoFix listAsyncJobs
Sander van Harmelen [Mon, 25 Jan 2016 17:03:37 +0000 (18:03 +0100)] 
Fix listAsyncJobs

6 years agoMerge pull request #43 from svanharmelen/dev
Sander van Harmelen [Thu, 3 Dec 2015 12:13:49 +0000 (13:13 +0100)] 
Merge pull request #43 from svanharmelen/dev

Tweak the async logic

6 years agoAdd a simple kind of exponential backoff feature for async clients
Sander van Harmelen [Thu, 3 Dec 2015 11:17:44 +0000 (12:17 +0100)] 
Add a simple kind of exponential backoff feature for async clients

6 years agoImprove async job handling and increase default timeout
Sander van Harmelen [Mon, 30 Nov 2015 23:37:48 +0000 (00:37 +0100)] 
Improve async job handling and increase default timeout

6 years agoMerge pull request #42 from svanharmelen/dev
Sander van Harmelen [Wed, 25 Nov 2015 17:17:36 +0000 (18:17 +0100)] 
Merge pull request #42 from svanharmelen/dev

Extend the ISO helper functions

6 years agoExtend the ISO helper functions
Sander van Harmelen [Wed, 25 Nov 2015 17:16:09 +0000 (18:16 +0100)] 
Extend the ISO helper functions

6 years agoMerge pull request #41 from svanharmelen/dev
Sander van Harmelen [Tue, 13 Oct 2015 11:30:51 +0000 (13:30 +0200)] 
Merge pull request #41 from svanharmelen/dev

Generate new code form files instead of API calls

6 years agoGenerate new code form files instead of API calls
Sander van Harmelen [Tue, 13 Oct 2015 11:26:32 +0000 (13:26 +0200)] 
Generate new code form files instead of API calls

This release adds the possibility to generate updated packages based on
the files in this repo instead of needing actual access to a certain
CloudStack environment.

6 years agoMerge pull request #40 from svanharmelen/dev
Sander van Harmelen [Tue, 13 Oct 2015 08:43:22 +0000 (10:43 +0200)] 
Merge pull request #40 from svanharmelen/dev

Make closing the body a little more robust

6 years agoMake closing the body a little more robust
Sander van Harmelen [Tue, 13 Oct 2015 08:29:48 +0000 (10:29 +0200)] 
Make closing the body a little more robust

And with that also a little more idiomatic

6 years agoMerge pull request #39 from benjvi/http-timeout-and-retry
Sander van Harmelen [Tue, 22 Sep 2015 10:27:29 +0000 (12:27 +0200)] 
Merge pull request #39 from benjvi/http-timeout-and-retry

Added http request timeout & queryAsyncJobResult retry

6 years agohttp request timeout & queryasynjob retry
Benjamin Vickers [Wed, 16 Sep 2015 11:43:57 +0000 (12:43 +0100)] 
http request timeout & queryasynjob retry

6 years agoMerge pull request #38 from benjvi/list-apis-v43
Sander van Harmelen [Thu, 10 Sep 2015 11:03:49 +0000 (13:03 +0200)] 
Merge pull request #38 from benjvi/list-apis-v43

add listApis response for v43

6 years agoadd listApis response for v43
Benjamin Vickers [Thu, 10 Sep 2015 09:06:55 +0000 (10:06 +0100)] 
add listApis response for v43

6 years agoMerge pull request #37 from svanharmelen/dev
Sander van Harmelen [Mon, 7 Sep 2015 13:13:34 +0000 (15:13 +0200)] 
Merge pull request #37 from svanharmelen/dev

Add listApis response for v44

6 years agoAdd listApis response for v44
Sander van Harmelen [Mon, 7 Sep 2015 13:12:25 +0000 (15:12 +0200)] 
Add listApis response for v44

6 years agoMerge pull request #36 from glenjamin/master
Sander van Harmelen [Sun, 6 Sep 2015 11:10:42 +0000 (13:10 +0200)] 
Merge pull request #36 from glenjamin/master

Capitalise the k in apiKey, as some api handlers require this

6 years agoCapitalise the k in apiKey, as some api handlers require this
Glen Mailer [Sun, 6 Sep 2015 10:01:15 +0000 (11:01 +0100)] 
Capitalise the k in apiKey, as some api handlers require this

7 years agoMerge pull request #34 from svanharmelen/dev
Sander van Harmelen [Thu, 16 Jul 2015 16:11:13 +0000 (18:11 +0200)] 
Merge pull request #34 from svanharmelen/dev

Adding a special case for secondary IPs

7 years agoAdding a special case for secondary IPs
Sander van Harmelen [Thu, 16 Jul 2015 16:10:53 +0000 (18:10 +0200)] 
Adding a special case for secondary IPs

7 years agoMerge pull request #33 from svanharmelen/dev
Sander van Harmelen [Wed, 15 Jul 2015 08:38:38 +0000 (10:38 +0200)] 
Merge pull request #33 from svanharmelen/dev

Export the HTTPGETOnly field for direct access

7 years agoExport the HTTPGETOnly field for direct access
Sander van Harmelen [Wed, 15 Jul 2015 08:37:35 +0000 (10:37 +0200)] 
Export the HTTPGETOnly field for direct access

As you would need both read and write access, it makes sense to just
export the field instead of writing a getter and setter.

7 years agoMerge pull request #32 from svanharmelen/dev
Sander van Harmelen [Wed, 15 Jul 2015 08:20:34 +0000 (10:20 +0200)] 
Merge pull request #32 from svanharmelen/dev

Add option to only use HTTP GET calls

7 years agoAdd option to only use HTTP GET calls
Sander van Harmelen [Wed, 15 Jul 2015 08:19:18 +0000 (10:19 +0200)] 
Add option to only use HTTP GET calls

7 years agoMerge pull request #29 from benjvi/update-cloudstack-43
Sander van Harmelen [Fri, 12 Jun 2015 17:45:18 +0000 (19:45 +0200)] 
Merge pull request #29 from benjvi/update-cloudstack-43

Generate v4.3 code for getID projects update

7 years agogen. v4.3 code for id projects update
Benjamin Vickers [Fri, 12 Jun 2015 15:14:29 +0000 (16:14 +0100)] 
gen. v4.3 code for id projects update

7 years agoMerge pull request #28 from svanharmelen/dev
Sander van Harmelen [Tue, 9 Jun 2015 09:22:20 +0000 (11:22 +0200)] 
Merge pull request #28 from svanharmelen/dev

Make the GetXXXID also search projects

7 years agoMake the GetXXXID also search projects
Sander van Harmelen [Tue, 9 Jun 2015 09:21:32 +0000 (11:21 +0200)] 
Make the GetXXXID also search projects

7 years agoMerge pull request #27 from svanharmelen/dev
Sander van Harmelen [Mon, 8 Jun 2015 15:31:11 +0000 (17:31 +0200)] 
Merge pull request #27 from svanharmelen/dev

Generated packages based on latests fixes...

7 years agoGenerated packages based on latests fixes...
Sander van Harmelen [Mon, 8 Jun 2015 15:30:55 +0000 (17:30 +0200)] 
Generated packages based on latests fixes...

7 years agoMerge pull request #26 from benjvi/listNetworks
Sander van Harmelen [Mon, 8 Jun 2015 15:24:34 +0000 (17:24 +0200)] 
Merge pull request #26 from benjvi/listNetworks

Fixes for API requests that contain maps and lists

7 years agodont encrypt param keys when making cloudstack requests
Benjamin Vickers [Fri, 8 May 2015 16:18:33 +0000 (17:18 +0100)] 
dont encrypt param keys when making cloudstack requests

Generate cloudstack43 code

7 years agoRemove extraneous space breaking list values in requests
Benjamin Vickers [Fri, 8 May 2015 14:06:22 +0000 (15:06 +0100)] 
Remove extraneous space breaking list values in requests

7 years agoMerge pull request #25 from svanharmelen/dev
Sander van Harmelen [Wed, 3 Jun 2015 08:30:56 +0000 (10:30 +0200)] 
Merge pull request #25 from svanharmelen/dev

Generated the packages using on the last updates

7 years agoGenerated the packages using on the last updates
Sander van Harmelen [Wed, 3 Jun 2015 08:30:35 +0000 (10:30 +0200)] 
Generated the packages using on the last updates

7 years agoMerge pull request #24 from benjvi/postuserdataupdate
Sander van Harmelen [Tue, 2 Jun 2015 19:23:34 +0000 (21:23 +0200)] 
Merge pull request #24 from benjvi/postuserdataupdate

updateVirtualMachine should use POST

7 years agoMerge pull request #23 from benjvi/project-generate-cloudstack43
Sander van Harmelen [Sat, 30 May 2015 18:50:23 +0000 (20:50 +0200)] 
Merge pull request #23 from benjvi/project-generate-cloudstack43

Generate cloudstack43 services including latest updates

7 years agoGenerate cloudstack43 services including latest updates
Benjamin Vickers [Fri, 29 May 2015 14:09:12 +0000 (15:09 +0100)] 
Generate cloudstack43 services including latest updates

7 years agoMerge pull request #22 from svanharmelen/dev
Sander van Harmelen [Thu, 28 May 2015 08:12:03 +0000 (10:12 +0200)] 
Merge pull request #22 from svanharmelen/dev

Made minor tweaks to the generation code and regenerated the packages

7 years agoMade minor tweaks to the generation code and regenerated the packages
Sander van Harmelen [Thu, 28 May 2015 08:11:02 +0000 (10:11 +0200)] 
Made minor tweaks to the generation code and regenerated the packages

7 years agoMerge pull request #21 from jalemieux/master
Sander van Harmelen [Thu, 28 May 2015 07:55:47 +0000 (09:55 +0200)] 
Merge pull request #21 from jalemieux/master

Project Support

7 years agofix asisgnment, add conditional on projectid in params
_jac [Wed, 27 May 2015 21:54:45 +0000 (14:54 -0700)] 
fix asisgnment, add conditional on projectid in params

7 years agocleaned up generate helper function
_jac [Wed, 27 May 2015 18:38:18 +0000 (11:38 -0700)] 
cleaned up generate helper function

7 years agoadded double call to List% helper function to get resources from in projects
_jac [Tue, 26 May 2015 22:47:41 +0000 (15:47 -0700)] 
added double call to List% helper function to get resources from in projects

7 years agoupdateVirtualMachine should use POST
Benjamin Vickers [Thu, 21 May 2015 13:41:29 +0000 (14:41 +0100)] 
updateVirtualMachine should use POST

7 years agoMerge pull request #20 from svanharmelen/dev
Sander van Harmelen [Mon, 18 May 2015 16:25:00 +0000 (18:25 +0200)] 
Merge pull request #20 from svanharmelen/dev

Generate updated packages...

7 years agoGenerated updated packages...
Sander van Harmelen [Mon, 18 May 2015 16:24:12 +0000 (18:24 +0200)] 
Generated updated packages...

7 years agoMerge pull request #19 from benjvi/sshkey
Sander van Harmelen [Mon, 18 May 2015 16:17:20 +0000 (18:17 +0200)] 
Merge pull request #19 from benjvi/sshkey

Fix for parsing create/register SSH keypair responses

7 years agofix to parse create/register sshkeypair correctly (as createnetworks)
Benjamin Vickers [Thu, 9 Apr 2015 14:31:36 +0000 (15:31 +0100)] 
fix to parse create/register sshkeypair correctly (as createnetworks)

Add updated cloudstack43 generated file

7 years agoMerge pull request #18 from benjvi/dev
Sander van Harmelen [Wed, 25 Mar 2015 21:50:48 +0000 (22:50 +0100)] 
Merge pull request #18 from benjvi/dev

Generated v4.3 code for long/registerTemplate update

7 years agoRegenerated v4.3 files with new fixes applied, stratosphere service unchanged
Benjamin Vickers [Wed, 25 Mar 2015 14:31:03 +0000 (14:31 +0000)] 
Regenerated v4.3 files with new fixes applied, stratosphere service unchanged

7 years agoFixing two bugs
Sander van Harmelen [Mon, 23 Mar 2015 23:22:26 +0000 (00:22 +0100)] 
Fixing two bugs

1. Fix the response for registerTemplate calls
2. Make sure we use `int64` instead of `int` for `long` field

7 years agoMerge pull request #16 from svanharmelen/dev
Sander van Harmelen [Mon, 9 Mar 2015 16:48:13 +0000 (17:48 +0100)] 
Merge pull request #16 from svanharmelen/dev

Fixed a corner case for the GetTemplateID helper func

7 years agoFixed a corner case for the GetTemplateID helper func
Sander van Harmelen [Mon, 9 Mar 2015 10:25:32 +0000 (11:25 +0100)] 
Fixed a corner case for the GetTemplateID helper func

Without the zoneid it’s possible that you get the UUID of a template
with the same name, but for a different zone as the one where you
currently need the template for.

7 years agoMerge pull request #15 from svanharmelen/dev v1.2.0
Sander van Harmelen [Mon, 26 Jan 2015 16:56:50 +0000 (17:56 +0100)] 
Merge pull request #15 from svanharmelen/dev

Changing the API call for deployVirtualMachine

7 years agoChanging the API call for deployVirtualMachine
Sander van Harmelen [Mon, 26 Jan 2015 16:53:47 +0000 (17:53 +0100)] 
Changing the API call for deployVirtualMachine

By making this a POST call, we don’t have to worry about the userdata
size anymore, as this can now be 32KB