Darren Worrall
50d9589bc8
Use module level validation for params
9 years ago
Darren Worrall
e8137d4065
Add support for custom service offerings
...
This adds 3 new params: cpu, cpu_speed, and memory, which are required
together.
9 years ago
Rene Moser
249b7bf969
cloudstack: cs_instance: fix ip address may not be set on default nic
9 years ago
Rene Moser
28ad84b87a
cloudstack: add Simulator as hypervisor
9 years ago
Rene Moser
2e52f11dc3
cloudstack: use new get_result() handling
9 years ago
Brian Coca
e31a4be192
fixes to prevent doc brekage
9 years ago
Brian Coca
1e067a96ea
Merge pull request #828 from resmo/for-ansible
...
cloudstack: fixes, docs, imrovements
9 years ago
Brian Coca
c310d3a8cd
Merge pull request #826 from DazWorrall/feature/cs_instance_iptonetwork
...
Add iptonetwork parameter to cs_instance
9 years ago
Darren Worrall
2be506dbdf
Add alias
9 years ago
Darren Worrall
53e447e38e
Api tidy up
9 years ago
Darren Worrall
ecfd18a941
Rename param to ip_to_networks
9 years ago
Rene Moser
713cec4423
cloudstack: cs_instance: use mutually_exlusive of AnsibleModule
9 years ago
Darren Worrall
d11182b80b
Add iptonetwork parameter
9 years ago
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>
9 years ago
Rene Moser
cbb2e96993
cloudstack: doc fixes
9 years ago
Rene Moser
e71daafd8e
cloudstack: fix KeyError: 'public_ip' in cs_instance
9 years ago
Rene Moser
7d6738ab9d
cloudstack: cs_instance: fix display_name not used in deployment
9 years ago
Rene Moser
8e6e9c782b
cloudstack: use get_or_fallback() from cloudstack utils
9 years ago
Rene Moser
1ccb21bd18
cloudstack: cs_instance: fix missing resource error in check mode if instance is not yet present
9 years ago
Rene Moser
db33fcf89a
cloudstack: update code to match best practice
...
* Remove catchall exception
* use `if __name__ == '__main__':`
10 years ago
Rene Moser
94060b5ade
cloudstack: fix state=expunged in cs_instance
10 years ago
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.
10 years ago
Rene Moser
c8d6d68428
cloudstack: cleanup cs_instance use param key exlicitly for utils methods
10 years ago
Rene Moser
b031e818b1
cloudstack: fix cs_instance can not find iso and disk offering if domain is set.
...
This does only affect root admins.
10 years ago
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
10 years ago
Rene Moser
60b5ae35b3
cloudstack: make get_template_or_iso returning a dict for fix GH-646
10 years ago
Greg DeKoenigsberg
004dedba8a
Changes to author formatting, remove emails
10 years ago
Rene Moser
421b3ff24e
cloudstack: fix doc for cs_instance, force is defaulted to false
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
e143689d9c
cloudstack: update doc in cs_instance
10 years ago
Rene Moser
a13a26aa2a
cloudstack: add instance_name alias internal name to returns in cs_instance
10 years ago
Rene Moser
7442db3f41
cs_instance: improve hypervisor argument and return
10 years ago
Rene Moser
93a1542cc1
cloudstack: improve required params
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
2b7a40a46a
cloudstack: replace old _id() with new generic style from utils
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
219d261614
Update cs_instance.py
10 years ago
Rene Moser
c5514e0618
cloudstack: cs_instance: add domain and account
10 years ago
Rene Moser
dfa9037091
cloudstack: fix missing doc fragments
10 years ago
Toshio Kuratomi
28b0f3ce13
Fix documentation formatting
10 years ago
Rene Moser
0b18bdc57f
cloudstack: add new module cs_instance
...
Manages instances and virtual machines
10 years ago