Commit graph

174 commits

Author SHA1 Message Date
Brian Coca
1e067a96ea Merge pull request #828 from resmo/for-ansible
cloudstack: fixes, docs, imrovements
2015-08-11 12:50:09 -04:00
Brian Coca
c310d3a8cd Merge pull request #826 from DazWorrall/feature/cs_instance_iptonetwork
Add iptonetwork parameter to cs_instance
2015-08-11 12:18:33 -04:00
Rene Moser
9905034d3b cloudstack: cs_ip_address: doc style fixes 2015-08-11 17:47:00 +02:00
Darren Worrall
2be506dbdf Add alias 2015-08-11 15:42:55 +01:00
Darren Worrall
53e447e38e Api tidy up 2015-08-11 15:41:07 +01:00
Darren Worrall
ecfd18a941 Rename param to ip_to_networks 2015-08-11 15:33:20 +01:00
Rene Moser
713cec4423 cloudstack: cs_instance: use mutually_exlusive of AnsibleModule 2015-08-11 16:11:19 +02:00
Rene Moser
aa14dedb8f cloudstack: sync cs_facts with best practices 2015-08-11 16:11:19 +02:00
Rene Moser
2318009b70 cloudstack: cs_network fix zone not in result 2015-08-11 16:11:19 +02:00
Darren Worrall
d11182b80b Add iptonetwork parameter 2015-08-11 14:23:28 +01:00
Milamber
51f3b9f6dd Add an option to allow the resize of root disk when the instance is created. (need CloudStack 4.4 or +, cloud-initramfs-growroot installed on the template)
Signed-off-by: Milamber <milamber@apache.org>
2015-08-11 07:48:15 +01:00
Darren Worrall
e813c54e93 Remove listall 2015-08-10 21:59:20 +01:00
Darren Worrall
51cd73fd67 Doc fixes 2015-08-10 21:02:13 +01:00
Darren Worrall
abe0bbd5e1 Param fixes to associateIpAddress 2015-08-10 20:59:28 +01:00
Darren Worrall
7d791a8593 More doc fixes 2015-08-10 19:24:16 +01:00
Darren Worrall
86bf938575 Doc updates 2015-08-10 16:42:44 +01:00
Darren Worrall
f13eb871c7 Fix imports, override get_network and get_ip_address 2015-08-10 16:32:54 +01:00
Darren Worrall
a2c81b198e More relevant example 2015-08-10 16:07:04 +01:00
Darren Worrall
a53e79d012 Add cs_ip_address module 2015-08-10 15:57:39 +01:00
Rene Moser
cbb2e96993 cloudstack: doc fixes 2015-08-08 15:43:32 +02:00
Rene Moser
e71daafd8e cloudstack: fix KeyError: 'public_ip' in cs_instance 2015-08-08 15:40:05 +02:00
Rene Moser
f74d8cb1e6 cloudstack: new module cs_domain 2015-08-04 18:32:36 +02:00
Rene Moser
5abaab68a4 cloudstack: fix typos in doc 2015-07-28 00:05:37 +02:00
Rene Moser
312b34ad81 cloudstack: new module cs_staticnat 2015-07-20 15:38:31 +02:00
Rene Moser
7d6738ab9d cloudstack: cs_instance: fix display_name not used in deployment 2015-07-19 15:10:36 +02:00
Rene Moser
8e6e9c782b cloudstack: use get_or_fallback() from cloudstack utils 2015-07-19 15:09:49 +02:00
Rene Moser
6c9410dce9 cloudstack: cs_portforward: fix public_end_port was used for private_end_port 2015-07-19 14:57:08 +02:00
Rene Moser
1ccb21bd18 cloudstack: cs_instance: fix missing resource error in check mode if instance is not yet present 2015-07-10 17:36:20 +02:00
Rene Moser
90d0828b1a cloudstack: fix user_data gathering, must not be in for loop 2015-06-29 11:58:56 +02:00
Rene Moser
db33fcf89a cloudstack: update code to match best practice
* Remove catchall exception
* use `if __name__ == '__main__':`
2015-06-28 12:52:05 +02:00
Rene Moser
94060b5ade cloudstack: fix state=expunged in cs_instance 2015-06-27 11:48:54 +02:00
Rene Moser
5b86a15cdb cloudstack: cs_instance do not pass zoneid to listVirtualMachines
This change is related to 2 issues;

- The API does not return destroyed VMs if zone ID is passed for CS version < 4.5.2. Also see CLOUDSTACK-8578. This only affects domain and root admins.
- The instance name must be unique across all zones. If we pass the zone ID to find  a VM, it will not be found if it is in a different zone but a deployment with the name would fail.
2015-06-27 11:48:54 +02:00
Rene Moser
c8d6d68428 cloudstack: cleanup cs_instance use param key exlicitly for utils methods 2015-06-27 11:48:54 +02:00
Rene Moser
b031e818b1 cloudstack: fix cs_instance can not find iso and disk offering if domain is set.
This does only affect root admins.
2015-06-27 11:47:49 +02:00
Rene Moser
b1e6d6ba52 cloudstack: fix cs_instance hypervisor must be omitted if set on template/iso
Fix related to issue reported in PR GH-646
2015-06-26 14:52:31 +02:00
Rene Moser
60b5ae35b3 cloudstack: make get_template_or_iso returning a dict for fix GH-646 2015-06-26 14:23:35 +02:00
Rene Moser
35b6bc417d cloudstack: new module cs_facts 2015-06-19 11:55:05 +02:00
Greg DeKoenigsberg
004dedba8a Changes to author formatting, remove emails 2015-06-16 14:32:39 -04:00
Rene Moser
ad845a59b0 cloudstack: fix clean_up arg to be boolean in cs_network 2015-06-16 11:33:17 -04:00
Rene Moser
68dc905b5f cloudstack: add new module cs_template 2015-06-16 11:33:17 -04:00
Rene Moser
c842c71708 cloudstack: add new module cs_network 2015-06-16 11:33:16 -04:00
Rene Moser
ed0395e2cc cloudstack: remove listall in cs_project
listall in cs_project can return the wrong project for root admins, because project name are not unique in separate accounts.
2015-06-16 11:33:15 -04:00
Rene Moser
1d49d4af09 cloudstack: fix project name must not be case sensitiv 2015-06-16 11:33:15 -04:00
Brian Coca
16851baaf7 added missing options: 2015-06-16 11:33:15 -04:00
Rene Moser
e1006eb907 cloudstack: add new module cs_project 2015-06-16 11:33:13 -04:00
Rene Moser
421b3ff24e cloudstack: fix doc for cs_instance, force is defaulted to false 2015-06-16 11:33:12 -04:00
Rene Moser
79a5ea2ca6 cloudstack: fix examples in cs_iso 2015-06-16 11:33:12 -04:00
Rene Moser
53130de662 cloudstack: add choices for api_http_method 2015-06-16 11:33:12 -04:00
Rene Moser
eb66f683f5 cloudstack: add new param api_timeout 2015-06-16 11:33:12 -04:00
Rene Moser
01caf84227 cloudstack: update doc of cs_portforward, fixes typos. 2015-06-16 11:33:12 -04:00
Rene Moser
e143689d9c cloudstack: update doc in cs_instance 2015-06-16 11:33:12 -04:00
Rene Moser
a13a26aa2a cloudstack: add instance_name alias internal name to returns in cs_instance 2015-06-16 11:33:12 -04:00
Rene Moser
7442db3f41 cs_instance: improve hypervisor argument and return 2015-06-16 11:33:12 -04:00
Rene Moser
93a1542cc1 cloudstack: improve required params 2015-06-16 11:33:12 -04:00
Brian Coca
fefbf7c41a Merge pull request #511 from resmo/fix/cs_portforward
cloudstack: fix public and private ports results not int
2015-05-19 08:58:04 -04:00
Rene Moser
525ef47247 cloudstack: fix public and private ports results not int 2015-05-19 10:08:31 +02:00
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.
2015-05-19 09:37:06 +02:00
Rene Moser
46cb5627dc cloudstack: cs_iso code style and cleanup 2015-05-16 13:04:14 +02:00
Rene Moser
de1f642efd cloudstack: cs_iso: add account and domain 2015-05-16 12:45:55 +02:00
Rene Moser
0f884ead40 cloudstack: add catch all exceptions and show a user friendly message
Also see GH-493.
2015-05-16 11:55:35 +02:00
Rene Moser
2b7a40a46a cloudstack: replace old _id() with new generic style from utils 2015-05-16 11:55:35 +02:00
Rene Moser
7705d1bb50 cloudstack: remove self.result, is defined in super class from utils 2015-05-16 11:55:35 +02:00
Rene Moser
63e9014e16 cloudstack: cs_affinitygroup: add domain and account support 2015-05-16 11:55:35 +02:00
Rene Moser
9f41d78346 cloudstack: avoid logging of secrets 2015-05-16 11:55:35 +02:00
Brian Coca
bceeba224f fix doc parsing by correctly quoting author 2015-05-14 09:19:24 -04:00
Greg DeKoenigsberg
d6781a5c89 Adding author's github id 2015-05-13 14:13:09 -04:00
Greg DeKoenigsberg
dbdf70485a Adding author's github id 2015-05-13 14:12:50 -04:00
Greg DeKoenigsberg
93f613d0eb Adding author's github id 2015-05-13 14:12:29 -04:00
Greg DeKoenigsberg
9a039fa462 Update cs_securitygroup.py 2015-05-13 14:12:04 -04:00
Greg DeKoenigsberg
5d0887bd94 Adding author's github id 2015-05-13 14:11:34 -04:00
Greg DeKoenigsberg
06508a745a Adding author's github id 2015-05-13 14:11:14 -04:00
Greg DeKoenigsberg
241b6eb541 Adding author's github id 2015-05-13 14:10:55 -04:00
Greg DeKoenigsberg
219d261614 Update cs_instance.py 2015-05-13 14:10:36 -04:00
Greg DeKoenigsberg
5a064c5b9a Adding author's github id 2015-05-13 14:10:14 -04:00
Greg DeKoenigsberg
b82c1454f8 Adding author's github id 2015-05-13 14:09:51 -04:00
Greg DeKoenigsberg
17e755786e Adding author's github id 2015-05-13 14:09:05 -04:00
Toshio Kuratomi
e3373ffc46 Fix documentation 2015-05-13 08:14:44 -07:00
Brian Coca
aa86c5ff90 Merge pull request #431 from resmo/fix/cs_securitygroup_rule
cloudstack: fix cs_securitygroup_rule result output not always worked as expected
2015-05-13 09:44:08 -04:00
Brian Coca
d20d89948d Merge pull request #467 from resmo/feature/extend_cs_firewall
WIP: cloudstack: extend cs_firewall
2015-05-13 09:43:56 -04:00
Brian Coca
05ed2778d5 Merge pull request #459 from resmo/feature/cs_instance_account
cloudstack: cs_instance: add domain and account
2015-05-13 09:43:29 -04:00
Brian Coca
b13c9955a1 Merge pull request #468 from resmo/feature/extend_cs_vmshapshot
cloudstack: cs_vmshapshot: add account and domain
2015-05-13 09:43:16 -04:00
Brian Coca
e579da1fc7 Merge pull request #473 from resmo/feature/cs_sshkeypair_account_domain
cloudstack: cs_sshkeypair: add account and domain support
2015-05-13 09:42:56 -04:00
Rene Moser
24b2b29aba cloudstack: cs_firewall: add results 2015-05-12 23:56:12 +02:00
Rene Moser
0edf04dca2 cloudstack: cs_vmshapshot: add account and domain 2015-05-12 23:47:40 +02:00
Rene Moser
cc02c3227a cloudstack: new cs_portforward module 2015-05-12 23:46:45 +02:00
Rene Moser
c5514e0618 cloudstack: cs_instance: add domain and account 2015-05-12 23:45:56 +02:00
Rene Moser
5bc3ae040d cloudstack: cs_firewall: add account and domain 2015-05-12 23:45:00 +02:00
Rene Moser
8476fe1d72 cloudstack: add alias port in cs_firewall 2015-05-12 23:45:00 +02:00
Rene Moser
4c24c1cbfd cloudstack: cs_securitygroup_rule: minor cleanup, DRY 2015-05-12 23:43:48 +02:00
Rene Moser
5de249aaf9 cloudstack: cs_securitygroup_rule: fix result was not always what expected 2015-05-12 23:43:48 +02:00
Rene Moser
185cb8757d cloudstack: cs_securitygroup_rule: type -> sg_type 2015-05-12 23:43:48 +02:00
Rene Moser
95305f4ea9 cloudstack: cs_sshkeypair: add account and domain support 2015-05-12 23:43:08 +02:00
Rene Moser
92c6f64adf cloudstack: add new module cs_account 2015-05-11 17:49:39 +02:00
Rene Moser
a52a4b33e7 cloudstack: new module cs_instancegroup 2015-05-06 14:53:56 +02:00
Rene Moser
8438ef995e cloudstack: fix missing doc fragment in cs_securitygroup_rule 2015-05-05 16:17:05 +02:00
Rene Moser
dfa9037091 cloudstack: fix missing doc fragments 2015-05-05 15:57:54 +02:00
Rene Moser
1e744a885a cloudstack: doc fixes 2015-05-05 15:32:06 +02:00
Toshio Kuratomi
28b0f3ce13 Fix documentation formatting 2015-05-04 13:24:21 -07:00
Brian Coca
70ea058563 Merge pull request #427 from resmo/fix/cs_vmsnapshot_missing_zone
cloudstack: fix missing zone param used in get_vm() in utils
2015-05-04 10:33:23 -04:00
Brian Coca
b50dd25343 Merge pull request #426 from resmo/feature/cs_instance
cloudstack: add new module cs_instance
2015-05-04 10:32:42 -04:00