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
Sander van Harmelen
221b48bd5a
Adding a managed parameter
...
And fixing a few small logic errors
2015-03-03 12:26:13 +01:00
Jeff Mitchell
f2bd1f45ab
Move duplicated envDefaultFunc out of each provider and into Schema.
2015-01-16 17:25:39 +00:00
Sander van Harmelen
8f223c020b
Extending the managed firewall option
...
It’s now also possible to don’t give any rules, when the firewall is
configured with `managed = true`. This will in effect mean; make sure
no rules exist at all for the firewall.
2015-01-16 13:26:43 +01:00
Sander van Harmelen
ab8977eed6
Last tweaks needed to get through all acc tests
...
Needed to tweak a few things in order get all tests running OK and to
be able to handle the latest changes in master. All is good again now…
2015-01-15 21:46:06 +01:00
Sander van Harmelen
19776ba402
Updating some logic and tests
...
These fixes are needed to make the provider work with master again.
These are still some issues, but they seem not to be related to the
provider, but the changes in `helper/schema`.
2015-01-15 11:29:04 +01:00
Sander van Harmelen
3898098c78
Adding the ability to manage the whole firewall
...
This goes for the normal firewall, the egress firewall and the network
ACL.
USE WITH CAUTION! When setting `managed = true` in your config, it
means it will delete all firewall rules that are not in your config, so
unknown to TF.
Also adding the new `cloudstack_egress_firewall` resource with this
commit and updating go-cloudstack to the latest API version (v4.4)
2015-01-15 10:04:09 +01:00
Emil Hessman
335d8fa1e6
builtin/providers/cloudstack: fix err checks in tests
...
Wrong return value is used to determine if an error occured.
Make sure to check the actual Error value that the functions return.
2015-01-14 19:54:29 +01:00
Sander van Harmelen
fa1b3c88d8
Fix conversion error
...
This causes a crash of the provider
2015-01-13 08:55:47 +01:00
Sander van Harmelen
7b16c44cc2
provider/cloudstack: make timeout configurable
...
Seems some platforms need more time, so make it configurable with a
sane default…
2015-01-12 15:57:24 +01:00
Sander van Harmelen
9cf0c44247
provider/cloudstack: fixing the cloudstack_disk provider
...
This value is read back from the environment to the state, without
setting this to `Computed: true` it will see the read back value as a
diff.
2015-01-12 15:04:58 +01:00
Sander van Harmelen
72fa547557
Making things consistent throughout the provider
2014-12-25 22:58:17 +01:00
Sander van Harmelen
bb3bbcc0fc
Changing this fixes an Excoscale issue where 'all' is not allowed
2014-12-19 19:14:46 +01:00
Sander van Harmelen
83c760fcb3
core: refactoring the way sets work internally v2
...
This is a refactored solution for PR #616 . Functionally this is still
the same change, but it’s implemented a lot cleaner with less code and
less changes to existing parts of TF.
2014-12-12 23:21:20 +01:00
Sander van Harmelen
4910423d83
First release of a provider for CloudStack
...
Of course not all resources are covered by this first release, but
there should be enough resources available to handle most common
operations.
Tests and docs are included.
2014-12-10 22:20:52 +01:00