summaryrefslogtreecommitdiff
path: root/lib/ansible/module_utils/cloudstack.py
Commit message (Collapse)AuthorAgeFilesLines
* cloudstack: handle unicode API results in has_changed (#16601)René Moser2016-07-061-5/+13
| | | | | | * cloudstack: handle unicode API results in has_changed * cloudstack: add more case sensitve keys
* cloudstack: simplify tag handling (#16188)René Moser2016-06-131-15/+3
| | | Fixes tag support in projects.
* cloudstack: add common network codeRene Moser2016-05-241-0/+27
| | | | Also used for VPC support.
* cloudstack: add VPC supportRene Moser2016-05-231-0/+27
|
* cloudstack: fix bug, api_secret always None Rene Moser2016-03-311-1/+1
| | | In case if api args are used, api_secret is None in every cloudstack module.
* cloudstack: add CS_HYPERVISORS constantRene Moser2016-03-011-0/+12
|
* cloudstack: fix case insensitivity Rene Moser2016-01-101-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 Moser2015-11-081-1/+1
| | | | not work
* cloudstack: use jop polling in tag handling, fixes outdated tags returned. Rene Moser2015-11-081-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 Kuratomi2015-11-021-0/+1
| | | | This is cleanup that will aid us when we get ziploader implemented for 2.1
* cloudstack: clean up unneeded ";"Rene Moser2015-11-011-2/+2
|
* Remove mutable default arguments.gduke2015-10-201-1/+3
|
* cloudstack: make tags handling idempotenceRene Moser2015-09-221-38/+37
| | | Credits to @jeffersongirao, who provided the patch.
* cloudstack: add returns_to_int return handling into utilsRene Moser2015-09-221-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 utilsRene Moser2015-09-221-0/+12
|
* cloudstack: implement general api_region support, update docsRene Moser2015-08-251-1/+2
|
* cloudstack: rename returns for consistencyRene Moser2015-08-191-2/+2
|
* cloudstack: add more common returnsRene Moser2015-08-171-8/+11
|
* cloudstack: refactor get_result()Rene Moser2015-08-121-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 resultsRene Moser2015-08-111-0/+15
|
* cloudstack: fix domain name is not unique, use full pathRene Moser2015-06-261-3/+4
|
* cloudstack: add get_or_failback()Rene Moser2015-06-261-0/+8
|
* cloudstack: methods renamingRene Moser2015-06-101-2/+10
|
* cloudstack: remove unused methods used for backward compatibilityRene Moser2015-06-101-25/+0
|
* cloudstack: prevent getting the wrong project.Rene Moser2015-06-091-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 utilsRene Moser2015-06-021-0/+2
|
* cloudstack: fix typo in variable, fixes get_domain()Rene Moser2015-05-081-1/+1
|
* cloudstack: implement account und domain support in utilsRene Moser2015-05-031-2/+14
|
* cloudstack: add get_domain() and get_account() to utilsRene Moser2015-05-031-2/+40
|
* cloudstack: _has_changed() should not compare None valuesRene Moser2015-05-011-0/+4
|
* cloudstack: add tag support in utilsRene Moser2015-04-291-0/+61
|
* cloudstack: get_vm(): fix missing zoneRene Moser2015-04-261-0/+1
| | | | Fixes returning wrong VM having identical name in different zone.
* cloudstack: add method to to get infos of APIRene Moser2015-04-251-0/+9
| | | | | get_capabilities() allows you to get infos e.g. `cloudstackversion` to compare functionality of the API in your modules.
* cloudstack: fix missing self. in cloudstack utilsRene Moser2015-04-241-5/+5
|
* cloudstack: add _has_changed() to utilsRene Moser2015-04-241-0/+21
| | | Generic method to compare values in dict.
* cloudstack: use _get_by_key in get_...() methods in utilsRene Moser2015-04-241-30/+55
| | | | But also add backward compatibility for existing modules in extras.
* cloudstack: add _get_by_key() to utilsRene Moser2015-04-241-0/+8
| | | | Generic method to get the whole dict or just a singe value by key if found.
* cloudstack: fix other projects not foundRene Moser2015-04-241-1/+1
|
* cloudstack: fix vm not found by displaynameRene Moser2015-04-201-1/+1
|
* cloudstack: add error result handling in async job Rene Moser2015-04-201-2/+4
|
* cloudstack: module utils are BSD licensedRene Moser2015-03-261-10/+20
|
* cloudstack: fail_json() if library cs is not foundRene Moser2015-03-261-4/+5
|
* cloudstack: add utils for common functionalityRene Moser2015-03-261-0/+182