Commit Graph

64 Commits

Author SHA1 Message Date
Hany Fahim 7852248f0e Moved project block down 2015-09-24 17:04:45 -04:00
Hany Fahim fc89f576ca Change IS_GLOBAL_RESOURCE to UnlimitedResourceID to keep terminology in sync with CloudStack 2015-09-24 16:49:21 -04:00
Hany Fahim 7b4bb968d6 Add project parameter to cloudstack_template resource 2015-09-24 16:28:40 -04:00
Hany Fahim aa950be63b Use constant for global resources 2015-09-24 16:16:12 -04:00
Hany Fahim 03d7c1fa7d Allow for -1 for Zone ID, which is valid in CloudStack 2015-09-24 15:57:25 -04:00
Anthony Scalisi 198e1a5186 remove various typos 2015-09-11 11:56:20 -07:00
Sander van Harmelen ce50f35679 Small refactor of the CloudStack load balancer tests
This makes the code a little more generic and inline with the other
code. Functionally the same things are tested.
2015-09-08 11:19:41 +02:00
Glen Mailer 981c40fec1 Expand cloudstack_loadbalancer_rule to work without vpcs
When using load balancer rules on an IP associated with a network
instead of a vpc, the network field can be omitted and inferred from the
IP. Filling this into state on read causes a spurious diff.

The openfirewall flag defaults to true when used on a network IP.
Implicit resource creation doesn't fit the terraform model, so we
disable it.

Also added a test which shows arguments that can be changed without
creating a new resource.
2015-09-06 23:43:37 +01:00
Glen Mailer eee86d58f8 Make it easier to run the cloudstack acceptance tests
* Document what should go in the environment variables
* Generate set hash for egress firewall based on selected public ip
2015-09-06 18:21:55 +01:00
Sander van Harmelen 6b8d37e938 Fix issue #3033 and update tweak several cloudstack resources
- Added a retry loop for attaching disks as this something was tried to
fast when the VM was still booting
- Fix issue #3033
- Update docs for latest updates and done some minor refactoring
(styling)
2015-08-21 16:59:35 +02:00
Sander van Harmelen cb49c8da3d Merge pull request #2934 from jeroendekorte/master
provider/cloudstack: Added loadbalancer support to the provider
2015-08-21 11:16:04 +02:00
Jeroen de Korte 2d1d47fac6 Added LoadBalancer support for Cloudstack Provider
PR is complete with docs and tests
2015-08-21 10:37:08 +02:00
Hany Fahim 330673038c Add project parameter to cloudstack_disk 2015-08-20 13:35:11 -04:00
Hany Fahim 078b16b20e Add project parameter to cloudstack_ipaddress 2015-08-20 08:32:57 -04:00
Hany Fahim 228da7cf27 Add project parameter to VPC and network Cloudstack resources 2015-08-19 17:56:57 -04:00
Sander van Harmelen 9897e55594 Fixing last test 2015-07-16 17:58:52 +02:00
Sander van Harmelen 28b7b53be6 Updates and tweaks 2015-07-16 17:40:11 +02:00
Sander van Harmelen b7b770d0da Update user date size check
This makes sure we check the right thing.
2015-06-25 09:45:39 +02:00
Chiradeep Vittal f8d190f537 fix compile error not caught by 'make dev' 2015-06-18 10:45:15 -07:00
Chiradeep Vittal 139500e076 increase allowed size of userdata for cloudstack provider 2015-06-17 15:41:25 -07:00
Sander van Harmelen c9d3b988bc provider/cloudstack: updating and tweaking tests and docs
Making sure everything is up-to-spec again and all tests run flawless,
after merging in some new functionality.
2015-06-09 12:38:05 +02:00
Sander van Harmelen ec5cef4de8 Merge pull request #2115 from jalemieux/master
provider/cloudstack: add project support for CloudStack Instances
2015-06-08 17:34:24 +02:00
Paul Hinze 84afeb73b1 acc tests: ensure each resource has a _basic test
Helpful for breadth first acc test sweeps `-run '_basic$'`
2015-06-07 18:18:14 -05:00
Jacques Lemieux 1d9df96fc1 typo 2015-06-03 11:25:07 -07:00
benjvi bfcf5cd3d1 Cloudstack - allow OVA template upload 2015-06-03 16:46:56 +01:00
Benjamin vickers 5e9d385f96 Add cloudstack ssh key resource and attr for instances 2015-06-02 17:24:17 +01:00
Jacques Lemieux 6c7f632c22 added test creating instance with project id, added const in provider_test 2015-06-01 18:01:28 -07:00
Jacques Lemieux 5687045f10 added test for instance creation with project name 2015-06-01 17:56:43 -07:00
Jacques Lemieux 7e49714c3d fixed project schema, added project support to retrieveUUID 2015-05-28 18:41:58 -07:00
_jac a09afbb4aa add project support https://github.com/xanzy/go-cloudstack/pull/21/files 2015-05-27 18:33:57 -07:00
Sander van Harmelen 44541c5465 Fixing up some tests after a couple of thorough test rounds 2015-05-05 12:31:21 +02:00
Avi Nanhkoesingh 1411d4010f Fixes #1: sets the rights values based on isUUID 2015-05-05 12:31:21 +02:00
Sander van Harmelen 764bdbcac9 Merge pull request #1711 from jeroendekorte/b-cloudstack-aclrule
Provider/Cloudstack: Fixed the acl rules to support protocol all and icmp
2015-04-28 18:39:21 +02:00
Jeroen de Korte bf05734b9a Added some extra tests for the acl-rules 2015-04-28 18:17:02 +02:00
Jeroen de Korte 92128b48a8 Added support for protocol all and fixed the hash diff for icmp and all 2015-04-28 17:05:43 +02:00
Trevor Pounds fe62312617 Fix comment typos. 2015-04-24 10:25:19 -07:00
Sander van Harmelen 41536c0d58 Reverting the behavioural change, while still fixing the logic error 2015-04-13 17:33:22 +02:00
Sander van Harmelen 852e7a3554 Merge pull request #1492 from svanharmelen/f-cloudstack-network
Fixing a small logic error
2015-04-11 17:56:09 +02:00
Sander van Harmelen 8c37a95a5e Fixing a small logic error 2015-04-11 17:53:25 +02:00
Sander van Harmelen 0963d556a3 Refactored the template provider to make it fit in nicely
Fixing a few things while add it and added a additional test as well.
2015-04-11 17:50:06 +02:00
Sander van Harmelen 365251f7a3 Merge pull request #1228 from benjvi/cloudstack-template-resource
provider/cloudstack: added template resource for CloudStack
2015-04-11 17:42:13 +02:00
Sander van Harmelen b7a6692548 Adding a few lines to set the connection info 2015-04-10 20:39:52 +02:00
Benjamin Vickers 909fb66f5b template resource for cloudstack 2015-04-01 17:27:45 +01:00
Sander van Harmelen 041cce36b4 Some small fixes, needed to work with bigger templates 2015-03-25 22:48:44 +01:00
Sander van Harmelen 94608fc4bc Fixing up the tests to make them pass correctly 2015-03-09 17:44:09 +01:00
Sander van Harmelen bb88adb5a3 Fixing a corner case while retrieving a template UUID
Added some logic to the go-cloudstack package to support a more
customised call to GetTemplateID in order to get the correct/expected
UUID.
2015-03-09 14:02:18 +01:00
Sander van Harmelen bb7ef8db67 Adding tests and docs for the new VPN resources
And did some (very) minor refactoring in the existing docs
2015-03-09 14:00:29 +01:00
Sander van Harmelen b6f89d3e32 Adding a few new resources
Tests and docs will be added tomorrow so we can merge the new resources…
2015-03-04 18:51:07 +01:00
Sander van Harmelen 426fb2e457 Updating the docs so the represent the added feature
Adding info about the `managed` option for port forwards…
2015-03-03 13:51:22 +01:00
Sander van Harmelen 033cee31f3 Fixing a small bug in the ACL rule hash function
Since the default value is not available in the initial config (when
`action` or `traffic_type` is omitted), the result would be `nil`
instead of a string when trying to access one of these the values.
2015-03-03 13:40:28 +01:00