summaryrefslogtreecommitdiff
path: root/cloud/cloudstack/cs_instance.py
Commit message (Collapse)AuthorAgeFilesLines
* Refreshed metadata for extras modulesToshio Kuratomi2016-12-061-0/+4
|
* Native YAML - cloud/cloudstack (#3613)Fabio Alessandro Locati2016-12-011-15/+28
|
* cloudstack: cs_instance: implement vpc support (#3402)René Moser2016-11-201-11/+25
| | | | | | * cloudstack: cs_instance: implement vpc support * cloudstack: cs_instance: distinguish VPC and non VPC VMs
* cloudtack: cs_instance: doc fix for missing tag alias (#3484)René Moser2016-11-161-0/+1
|
* Use addresses and names reserved for documentation (#2894)Robin Schneider2016-09-121-1/+1
| | | | | Trying to preserve the meaning of the examples. Related to: https://github.com/ansible/ansible/issues/17479
* cloudstack: use has_changed() from utilsRene Moser2016-06-091-3/+3
|
* cloudstack: use poll_job() from utilsRene Moser2016-06-091-9/+9
|
* cloudstack: remove duplicate import cs handling, already in utils.Rene Moser2016-06-091-9/+0
|
* cloudstack: cs_instance: fix template not found (#2005)René Moser2016-04-121-2/+12
| | | Let users decide which filter should be used to find the template.
* cloudstack: cs_instance: implement updating security groupsRene Moser2016-02-031-9/+43
| | | | ACS API implemented in 4.8, has no effect < 4.8.
* cloudstack: use CS_HYPERVISORS from cloudstack utilsRene Moser2016-02-021-1/+1
|
* cloudstack: fixes and improvementsRene Moser2016-01-111-7/+1
| | | | | | cs_instance: fix case insensitivity cs_instance: remove duplicate code block cs_securitygroup_rule: fix KeyError on older ACS
* cloudstack: cs_instance: fix do not require name to be set to avoid clashes Rene Moser2015-12-201-5/+18
| | | Require one of display_name or name. If both is given, name is used as identifier.
* cloudstack: fixes and improvementsRene Moser2015-12-161-19/+15
| | | | | | cloudstack: fix python3 support and use type='bool' cloudstack: cs_instance: update vm on state=restored
* cloudstack: cs_instance: fixes and improvementsRene Moser2015-12-151-75/+97
| | | | | | | | | - 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
* Merge pull request #1294 from resmo/feature/cs_instance_restoreBrian Coca2015-12-141-4/+38
|\ | | | | cloudstack: cs_instance: implement state=restored
| * cloudstack: cs_instance: implement state=restoredRene Moser2015-11-301-4/+38
| |
* | cloudstack: fixes and improvementsRene Moser2015-12-041-1/+1
|/ | | | | | | | | | | | | | | | | - 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
* Merge pull request #1011 from resmo/feature/args_specsGreg DeKoenigsberg2015-09-301-42/+41
|\ | | | | cloudstack: implement common argument spec handling
| * cloudstack: implement common argument spec handlingRene Moser2015-09-221-42/+41
| |
* | cloudstack: fix redundant security_group returnRene Moser2015-09-221-1/+0
|/
* Merge pull request #886 from DazWorrall/feature/cs_instance_customBrian Coca2015-09-041-0/+32
|\ | | | | Add support for custom service offerings
| * More doc fixesDarren Worrall2015-08-281-1/+1
| |
| * Doc fixDarren Worrall2015-08-281-1/+1
| |
| * Use module level validation for paramsDarren Worrall2015-08-281-2/+1
| |
| * Add support for custom service offeringsDarren Worrall2015-08-271-0/+33
| | | | | | | | | | This adds 3 new params: cpu, cpu_speed, and memory, which are required together.
* | Merge pull request #896 from resmo/for-ansibleToshio Kuratomi2015-09-031-0/+1
|\ \ | | | | | | cloudstack: add api_region arg
| * | cloudstack: add api_region argRene Moser2015-08-311-0/+1
| |/ | | | | | | | | * docs in module_docs_fragments/cloudstack.py * implemented in module_utils/cloudstack.py -> https://github.com/ansible/ansible/pull/12083
* | cloudstack: cs_instance: deploy instance in desired state on ↵Rene Moser2015-09-011-7/+14
|/ | | | | | | | state=started/stopped Before this change, an instance must be present for make use of state=stopped/started. Now we are deploying an instance in the desire state if it does not exist. In this case all args needed to deploy the instance must be passed. However the short form for stopping/starting an _existing_ instance still works as before.
* cloudstack: cs_instance: fix ip address may not be set on default nicRene Moser2015-08-231-1/+1
|
* cloudstack: add Simulator as hypervisorRene Moser2015-08-191-1/+1
|
* cloudstack: use new get_result() handlingRene Moser2015-08-171-47/+16
|
* fixes to prevent doc brekageBrian Coca2015-08-131-1/+1
|
* Merge pull request #828 from resmo/for-ansibleBrian Coca2015-08-111-3/+3
|\ | | | | cloudstack: fixes, docs, imrovements
| * cloudstack: cs_instance: use mutually_exlusive of AnsibleModuleRene Moser2015-08-111-3/+3
| |
* | Merge pull request #826 from DazWorrall/feature/cs_instance_iptonetworkBrian Coca2015-08-111-4/+42
|\ \ | |/ |/| Add iptonetwork parameter to cs_instance
| * Add aliasDarren Worrall2015-08-111-1/+2
| |
| * Api tidy upDarren Worrall2015-08-111-3/+6
| |
| * Rename param to ip_to_networksDarren Worrall2015-08-111-5/+5
| |
| * Add iptonetwork parameterDarren Worrall2015-08-111-2/+36
| |
* | Add an option to allow the resize of root disk when the instance is created. ↵Milamber2015-08-111-0/+7
|/ | | | | | (need CloudStack 4.4 or +, cloud-initramfs-growroot installed on the template) Signed-off-by: Milamber <milamber@apache.org>
* cloudstack: doc fixesRene Moser2015-08-081-1/+1
|
* cloudstack: fix KeyError: 'public_ip' in cs_instanceRene Moser2015-08-081-1/+1
|
* cloudstack: cs_instance: fix display_name not used in deploymentRene Moser2015-07-191-0/+1
|
* cloudstack: use get_or_fallback() from cloudstack utilsRene Moser2015-07-191-8/+1
|
* cloudstack: cs_instance: fix missing resource error in check mode if ↵Rene Moser2015-07-101-2/+4
| | | | instance is not yet present
* cloudstack: update code to match best practiceRene Moser2015-06-281-4/+2
| | | | * Remove catchall exception * use `if __name__ == '__main__':`
* cloudstack: fix state=expunged in cs_instanceRene Moser2015-06-271-2/+2
|
* cloudstack: cs_instance do not pass zoneid to listVirtualMachinesRene Moser2015-06-271-2/+1
| | | | | | 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.
* cloudstack: cleanup cs_instance use param key exlicitly for utils methodsRene Moser2015-06-271-18/+18
|