Commit graph

201 commits

Author SHA1 Message Date
René Moser
46fb2f8d14 cs_template: fix missing docs (#2165) 2016-05-05 11:11:36 +02:00
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.
2016-04-12 18:46:52 +02:00
René Moser
30a46ee542 cloudstack: cs_instance: fix template not found (#2005)
Let users decide which filter should be used to find the template.
2016-04-12 18:46:02 +02:00
René Moser
442c286b1c Merge pull request #1923 from resmo/fix/cs-template-absent-cross-zones
cloudstack: cs_template: bug fixes
2016-04-12 18:44:23 +02:00
Rene Moser
1d0df46475 cloudstack: cs_template: fix state=extracted
* url arg is optional but we enforced it
* url is in a required together, but args only relevant while registering
2016-04-11 20:02:03 +02:00
Rene Moser
0b9c8213ad cloudstack: fix doc, display_text not required 2016-04-11 20:01:36 +02:00
Rene Moser
2d78c23dc0 cloudstack: cs_template: fix cross_zones template removal 2016-04-11 20:01:27 +02:00
Michael Scherer
5696e6c33a Do not leak passwords in case of error in cloudstack modules 2016-04-03 10:34:10 +02:00
René Moser
6a5e1e8d4d Merge pull request #1614 from resmo/feature/cs_zone_facts
[2.1] cloudstack: new module cs_zone_facts
2016-03-15 23:27:06 +01:00
Brian Coca
cda520436e Merge pull request #1591 from resmo/feature/cs_zone
[2.1] cloudstack: new module cs_zone
2016-03-03 18:42:28 -05:00
Brian Coca
ab8b889559 Merge pull request #1590 from resmo/feature/cs_cluster
[2.1] cloudstack: new module cs_cluster
2016-03-03 18:42:05 -05:00
Brian Coca
39b82b3dab Merge pull request #1589 from resmo/feature/cs_pod
[2.1] cloudstack: new module cs_pod
2016-03-03 18:41:41 -05:00
Brian Coca
f5c4af406a Merge pull request #1588 from resmo/feature/cs_instance_facts
[2.1] cloudstack: new module cs_instance_facts
2016-03-03 18:41:21 -05:00
Brian Coca
7ebb8ed3fa Merge pull request #1587 from resmo/feature/cs_resourcelimit
[2.1] cloudstack: new module cs_resourcelimit
2016-03-03 18:41:01 -05:00
Brian Coca
3145ef9467 Merge pull request #1586 from resmo/feature/cs_configuration
[2.1] cloudstack: new module cs_configuration
2016-03-03 18:39:53 -05:00
Rene Moser
3b354ddf00 cloudstack: new module cs_zone_facts 2016-02-26 14:55:13 +01:00
Rene Moser
fc0c41a306 cloudstack: new module cs_instance_facts 2016-02-26 14:48:46 +01:00
Rene Moser
15f2a328a2 cloudstack: new module cs_zone 2016-02-09 22:06:49 +01:00
Rene Moser
dbf260b779 cloudstack: new module cs_pod 2016-02-09 22:05:05 +01:00
Rene Moser
d17fdc1846 cloudstack: new module cs_cluster 2016-02-09 22:03:47 +01:00
Rene Moser
c32569d7f8 cloudstack: cs_instance: implement updating security groups
ACS API implemented in 4.8, has no effect < 4.8.
2016-02-03 14:17:33 +01:00
Rene Moser
c73ed3b47b cloudstack: add new module cs_resourcelimit 2016-02-02 19:35:58 +01:00
Rene Moser
9f97615060 cloudstack: new module cs_configuration 2016-02-02 19:32:49 +01:00
Rene Moser
db31914f58 cloudstack: use CS_HYPERVISORS from cloudstack utils 2016-02-02 19:10:22 +01:00
Toshio Kuratomi
36be779888 Remove duplicate documentation fields 2016-01-28 09:20:55 -08:00
Rene Moser
2984c13035 cloudstack: cs_portforward: fix missing return and remove unused arg 2016-01-12 13:32:39 +01:00
Rene Moser
11fdb822a4 cloudstack: fixes and improvements
cs_instance: fix case insensitivity
cs_instance: remove duplicate code block
cs_securitygroup_rule: fix KeyError on older ACS
2016-01-11 19:06:36 +01:00
Toshio Kuratomi
19e496c69c Merge pull request #1395 from resmo/feature/cs_template_extract
[stable-2.0] cloudstack: cs_template: implement state=extracted
2015-12-23 13:10:51 -08:00
Toshio Kuratomi
9bae6eafee Merge pull request #1411 from resmo/fix/stable-2.0/case_insensivity
[stable-2.0] cloudstack: fix name is not case insensitive
2015-12-23 13:09:52 -08:00
Rene Moser
06f6a5375e cloudstack: fix name is not case insensitive 2015-12-20 22:24:58 +01:00
Rene Moser
15b14f8109 cloudstack: cs_instance: fix do not require name to be set to avoid clashes
Require one of display_name or name. If both is given, name is used as identifier.
2015-12-20 22:18:30 +01:00
Rene Moser
56fb7abc65
cloudstack: cs_volume: simplify detach on state=absent 2015-12-20 00:33:23 +01:00
Rene Moser
182cbbd4f7 cloudstack: cs_template: implement state=extracted 2015-12-18 11:54:50 +01:00
Brian Coca
577b930df9 Merge pull request #1335 from resmo/fix/1321
[next]: cloudstack: fixes and improvements
2015-12-16 08:11:59 -05:00
Rene Moser
99385de340 cloudstack: fixes and improvements
cloudstack: fix python3 support and use type='bool'

cloudstack: cs_instance: update vm on state=restored
2015-12-16 11:09:18 +01:00
Rene Moser
480db37583 cloudstack: cs_volume fixes and improvments
cloudstack: cs_volume:  fix not usable in older cloudstack versions

affects CCP 4.3.0.2 , but not ACS / CCP 4.5.1
closes #1321

cloudstack: cs_volume: fix uable to create volumes with the same name on multiple zones

cloudstack: cs_volume: use type bool and fix python3 support
2015-12-16 08:45:39 +01:00
Rene Moser
a0a19e16ff cloudstack: cs_instance: fixes and improvements
- cs_instance: fix VM not updated with states given stopped, started, restarted
  A missing VM will be created though but an existing not updated. This fixes the lack of consistency.

- cs_instance: fix user data can not be cleared

- cs_instance: fix deleted VM not recovered on state=present
2015-12-15 08:49:43 +01:00
Brian Coca
5601c1338a Merge pull request #1288 from resmo/fix/cs_facts_docs
cloudstack: cs_facts: fix wrong description of returns cloudstack_pub…
2015-12-14 23:18:39 -05:00
Brian Coca
cbe0211f3d Merge pull request #1294 from resmo/feature/cs_instance_restore
cloudstack: cs_instance: implement state=restored
2015-12-14 23:17:51 -05:00
Atsushi Sasaki
91d3c02571 Enable to resize a volume with cs_volume 2015-12-05 19:21:28 +09:00
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
2015-12-04 09:39:53 +01:00
Rene Moser
f2eb00cc71 cloudstack: cs_instance: implement state=restored 2015-11-30 17:08:07 +01:00
Rene Moser
b7ca7d15ac cloudstack: cs_facts: fix wrong description of returns cloudstack_public_ipv4, cloudstack_public_hostname
Also see http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.6/api.html#user-data-and-meta-data
2015-11-25 23:07:30 +01:00
Rene Moser
87065005aa cloudstack: new module cs_volume 2015-11-24 19:04:13 +01:00
Rene Moser
d589a2ea12 cloudstack: cs_portforward: fix example does not match description 2015-11-01 17:18:23 +01:00
Toshio Kuratomi
b60d6e754b Fix doc build by moving misplaced CIDR documentation 2015-10-19 09:14:06 -07:00
Rene Moser
c142bf0d44 cloudstack: add new loadbalancer rule modules 2015-10-19 17:36:33 +02:00
Greg DeKoenigsberg
b69362647a Merge pull request #1011 from resmo/feature/args_specs
cloudstack: implement common argument spec handling
2015-09-30 16:47:19 -04:00
Rene Moser
bcfe75a52d cloudstack: fix redundant security_group return 2015-09-22 18:28:18 +02:00
Rene Moser
faa575afb5 cloudstack: implement common argument spec handling 2015-09-22 18:24:04 +02:00