Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cloudstack: return known used resources in fail_json (#24575) | René Moser | 2017-05-13 | 1 | -24/+34 |
| | |||||
* | Python 3 fixes for CloudStack modules and tests. (#24400) | Matt Clay | 2017-05-09 | 1 | -7/+17 |
| | |||||
* | cloudstack: implement config overloading and ENV vars for API auth (#22724) | René Moser | 2017-03-17 | 1 | -112/+83 |
| | | | | | | | | | | * cloudstack: fix connection by ENV vars and configs overloading * cloudstack: pep8 cloudstack module_utils * cloudstack: allow api_url to be set in ini config * docsite: explain ENV vars support as written in python-cs for ansible | ||||
* | cloudstack: cs_instance: revert VPC support (#22629) | René Moser | 2017-03-15 | 1 | -14/+0 |
| | | | Partly reverts 5374c7cd096b72b7998fb9ef0cad11600273b62c | ||||
* | cloudstack: fix wrong vpc found by name (#22603) | René Moser | 2017-03-14 | 1 | -4/+8 |
| | | | Fail fast if more than one VPC found with given identifier. | ||||
* | cloudstack: cs_portforward: implement vpc support (#19044) | René Moser | 2017-02-08 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | * cloudstack: cs_portforward: implement vpc support * cloudstack: cs_portforward: add vpc and network to returns * cloudstack: cs_portforward: networkid must not be used for rule listing * cloudstack: fail for get_network when vpc but no network name This seem to be a global pattern for get_network, we want to enforce a network name to be set if a vpn param is given. This is used for cs_portforward. * cloudstack: cs_portforward: doc: fix defaults for vpc, network | ||||
* | Removed dict.iteritems() in several other files. | Andrea Tartaglia | 2016-12-14 | 1 | -3/+3 |
| | | | | This is for py3 compatibility #18506 | ||||
* | cloudstack: utils: fail friendlier if no zones available (#19332) | René Moser | 2016-12-14 | 1 | -0/+3 |
| | |||||
* | cloudstack: add helpers to distinguish VMs not in VPC (#18560) | René Moser | 2016-11-20 | 1 | -1/+36 |
| | | | | VMs in VPC and not in VPC can have an identical name. As a result VMs in a VPC must be sorted out if no VPC is given. Due the API limitation, the only way is to check if the network of the VM is in a VPC. | ||||
* | cloudstack: fix distinguish VPC and other networks (#18515) | René Moser | 2016-11-19 | 1 | -0/+3 |
| | |||||
* | cloudstack: extend support for VPC (#18434) | René Moser | 2016-11-14 | 1 | -14/+19 |
| | |||||
* | cloudstack: add additional CLOUDSTACK_VPC env var (#18467) | René Moser | 2016-11-11 | 1 | -0/+2 |
| | |||||
* | fix iteritems for python 3 | Daniel Menet | 2016-11-01 | 1 | -0/+1 |
| | |||||
* | cloudstack: implement diff support (#18254) | René Moser | 2016-10-30 | 1 | -5/+18 |
| | |||||
* | cloudstack: add support for defining some args as ENV vars (#17946) | René Moser | 2016-10-30 | 1 | -0/+9 |
| | | | | | | | | | These ENV vars are: - CLOUDSTACK_ZONE - CLOUDSTACK_DOMAIN - CLOUDSTACK_ACCOUNT - CLOUDSTACK_PROJECT help to DRY on every task, args still have precedence. | ||||
* | cloudstack: move common code to module_utils (#17635) | René Moser | 2016-09-19 | 1 | -0/+27 |
| | |||||
* | cloudstack: fix has_changed dict values comparsion (#17632) | René Moser | 2016-09-19 | 1 | -1/+11 |
| | | | | | | In some rare situations, the CloudStack API returns string for numbers when we expected int. With this fix, we ensure we compare the types expected. | ||||
* | cloudstack: handle unicode API results in has_changed (#16601) | René Moser | 2016-07-06 | 1 | -5/+13 |
| | | | | | | * cloudstack: handle unicode API results in has_changed * cloudstack: add more case sensitve keys | ||||
* | cloudstack: simplify tag handling (#16188) | René Moser | 2016-06-13 | 1 | -15/+3 |
| | | | Fixes tag support in projects. | ||||
* | cloudstack: add common network code | Rene Moser | 2016-05-24 | 1 | -0/+27 |
| | | | | Also used for VPC support. | ||||
* | cloudstack: add VPC support | Rene Moser | 2016-05-23 | 1 | -0/+27 |
| | |||||
* | cloudstack: fix bug, api_secret always None | Rene Moser | 2016-03-31 | 1 | -1/+1 |
| | | | In case if api args are used, api_secret is None in every cloudstack module. | ||||
* | cloudstack: add CS_HYPERVISORS constant | Rene Moser | 2016-03-01 | 1 | -0/+12 |
| | |||||
* | cloudstack: fix case insensitivity | Rene Moser | 2016-01-10 | 1 | -11/+13 |
| | | | | | cloudstack: fix has_change reports changed for case insensitivity values | ||||
* | cloudstack: change order of tags handling, fixes update of tag value does ↵ | Rene Moser | 2015-11-08 | 1 | -1/+1 |
| | | | | not work | ||||
* | cloudstack: use jop polling in tag handling, fixes outdated tags returned. | Rene Moser | 2015-11-08 | 1 | -2/+3 |
| | | | In some cases the async job did not finish fast enough, causing returning an unexpeded result. | ||||
* | Add imports for stdlib modules that are used. | Toshio Kuratomi | 2015-11-02 | 1 | -0/+1 |
| | | | | This is cleanup that will aid us when we get ziploader implemented for 2.1 | ||||
* | cloudstack: clean up unneeded ";" | Rene Moser | 2015-11-01 | 1 | -2/+2 |
| | |||||
* | Remove mutable default arguments. | gduke | 2015-10-20 | 1 | -1/+3 |
| | |||||
* | cloudstack: make tags handling idempotence | Rene Moser | 2015-09-22 | 1 | -38/+37 |
| | | | Credits to @jeffersongirao, who provided the patch. | ||||
* | cloudstack: add returns_to_int return handling into utils | Rene Moser | 2015-09-22 | 1 | -0/+7 |
| | | | It is not uncommon that the API returns string for int values e.g. ports in listFirewallRules or listPortForwardings, | ||||
* | cloudstack: common argument_spec and requried_together to utils | Rene Moser | 2015-09-22 | 1 | -0/+12 |
| | |||||
* | cloudstack: implement general api_region support, update docs | Rene Moser | 2015-08-25 | 1 | -1/+2 |
| | |||||
* | cloudstack: rename returns for consistency | Rene Moser | 2015-08-19 | 1 | -2/+2 |
| | |||||
* | cloudstack: add more common returns | Rene Moser | 2015-08-17 | 1 | -8/+11 |
| | |||||
* | cloudstack: refactor get_result() | Rene Moser | 2015-08-12 | 1 | -11/+31 |
| | | | | | | | * A commen dict of keys has been defined, which we look in results returned from the API. * self.returns dict can be use in subclass to extend this dict. * Optionally the key name can be replaced with a new key name, often used to make the return keys identical to the arguments passed. * Use new style class | ||||
* | cloudstack: add get_result() in utils to return common results | Rene Moser | 2015-08-11 | 1 | -0/+15 |
| | |||||
* | cloudstack: fix domain name is not unique, use full path | Rene Moser | 2015-06-26 | 1 | -3/+4 |
| | |||||
* | cloudstack: add get_or_failback() | Rene Moser | 2015-06-26 | 1 | -0/+8 |
| | |||||
* | cloudstack: methods renaming | Rene Moser | 2015-06-10 | 1 | -2/+10 |
| | |||||
* | cloudstack: remove unused methods used for backward compatibility | Rene Moser | 2015-06-10 | 1 | -25/+0 |
| | |||||
* | cloudstack: prevent getting the wrong project. | Rene Moser | 2015-06-09 | 1 | -2/+2 |
| | | | | | Since we use domain and account data to filter the project, listall is not needed and can return the wrong identical named project of another account if root admin permissions are used. Fixed projects names are not case insensitive. | ||||
* | cloudstack: add timeout to utils | Rene Moser | 2015-06-02 | 1 | -0/+2 |
| | |||||
* | cloudstack: fix typo in variable, fixes get_domain() | Rene Moser | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | cloudstack: implement account und domain support in utils | Rene Moser | 2015-05-03 | 1 | -2/+14 |
| | |||||
* | cloudstack: add get_domain() and get_account() to utils | Rene Moser | 2015-05-03 | 1 | -2/+40 |
| | |||||
* | cloudstack: _has_changed() should not compare None values | Rene Moser | 2015-05-01 | 1 | -0/+4 |
| | |||||
* | cloudstack: add tag support in utils | Rene Moser | 2015-04-29 | 1 | -0/+61 |
| | |||||
* | cloudstack: get_vm(): fix missing zone | Rene Moser | 2015-04-26 | 1 | -0/+1 |
| | | | | Fixes returning wrong VM having identical name in different zone. | ||||
* | cloudstack: add method to to get infos of API | Rene Moser | 2015-04-25 | 1 | -0/+9 |
| | | | | | get_capabilities() allows you to get infos e.g. `cloudstackversion` to compare functionality of the API in your modules. |