Commit Graph

27 Commits (e9fd5ad5dc5a72ae9255fcff0c65f3653462d13a)

Author SHA1 Message Date
Rene Moser 8a235e4e53 cloudstack: use poll_job() from utils 9 years ago
Rene Moser efcfe21732 cloudstack: remove duplicate import cs handling, already in utils. 9 years ago
René Moser 039005bfaa cloudstack: cs_firewall: get_network moved to utils, cleanup (#2293) 9 years ago
René Moser 0fa30f8d93 cloudstack, cs_firewall: fix network not found error in return results (#2006)
Only a small issue in results.

In case of type is ingress, we rely on ip address, but in results we also return the network.
Resolving the ip address works without zone params. If the ip address is not located in the default zone and zone param is not set,
the network won't be found because default zone was used for the network query listing.

However since network param is not used for type ingress we skip the return of the network in results.
9 years ago
Rene Moser 99385de340 cloudstack: fixes and improvements
cloudstack: fix python3 support and use type='bool'

cloudstack: cs_instance: update vm on state=restored
9 years ago
Rene Moser 8ec66713d9 cloudstack: fixes and improvements
- cs_affinitygroup: add project support
  Project support in CloudStack for affinity groups is going to be fixed/implemented in the near future, this module should already support.

- cs_affinitygroup:  fix missing returns in doc

- cs_volume: fix disk offering not found

- cs_volume: fix volume not found if created with display_volume=no

- cs_firewall: argument zone is missing, default zone is always used.
  credits for reporting and fixing to @atsaki
  closes #1320

- cs_instance: fix user_data base64 encoding fails if not a string
9 years ago
Rene Moser faa575afb5 cloudstack: implement common argument spec handling 9 years ago
Rene Moser 52a3d99873 cloudstack: add api_region arg
* docs in module_docs_fragments/cloudstack.py
* implemented in module_utils/cloudstack.py -> https://github.com/ansible/ansible/pull/12083
9 years ago
Rene Moser 2e52f11dc3 cloudstack: use new get_result() handling 9 years ago
Rene Moser 8e6e9c782b cloudstack: use get_or_fallback() from cloudstack utils 9 years ago
Rene Moser db33fcf89a cloudstack: update code to match best practice
* Remove catchall exception
* use `if __name__ == '__main__':`
10 years ago
Greg DeKoenigsberg 004dedba8a Changes to author formatting, remove emails 10 years ago
Rene Moser 53130de662 cloudstack: add choices for api_http_method 10 years ago
Rene Moser eb66f683f5 cloudstack: add new param api_timeout 10 years ago
Rene Moser 93a1542cc1 cloudstack: improve required params 10 years ago
Rene Moser 2da7792ff6 cloudstack: cs_firewall: add egress support
Added functionality to set rules for egress using this module at these are very similar. The only real difference is that egress firewall API uses the networkid. That is why the new arguments `type` for choosing `egress` or `ingress` and `network` was added.

For `type=ingress`, which is the default, `ip_address` is required and for `type=egress` the argument `network` is required.
10 years ago
Rene Moser 0f884ead40 cloudstack: add catch all exceptions and show a user friendly message
Also see GH-493.
10 years ago
Rene Moser 7705d1bb50 cloudstack: remove self.result, is defined in super class from utils 10 years ago
Rene Moser 9f41d78346 cloudstack: avoid logging of secrets 10 years ago
Brian Coca bceeba224f fix doc parsing by correctly quoting author 10 years ago
Greg DeKoenigsberg 5a064c5b9a Adding author's github id 10 years ago
Rene Moser 24b2b29aba cloudstack: cs_firewall: add results 10 years ago
Rene Moser 5bc3ae040d cloudstack: cs_firewall: add account and domain 10 years ago
Rene Moser 8476fe1d72 cloudstack: add alias `port` in cs_firewall 10 years ago
Rene Moser dfa9037091 cloudstack: fix missing doc fragments 10 years ago
Rene Moser 1e744a885a cloudstack: doc fixes 10 years ago
Rene Moser 39d30168a5 cloudstack: rename modules to more meaningful name schema 10 years ago