community.general/lib/ansible/modules/cloud
Bojan Vitnik b0cc240665 New module: xenserver_guest - manages XenServer VMs (#41041)
* XenServer related modules - initial commit

 - New module_util: xenserver. Contains common module arguments, functions
   and classes useful for future XenServer related modules.
 - New module_docs_fragment: xenserver. Describes common module arguments.
 - New module: xenserver_guest. Supports VM deployment, reconfiguration,
   removal, detection of changes, state management, fact gathering and
   Ansible check mode. Module is fully documented.
 - Updated: developing_module_utilities.rst.
 - Module params, workflow and some functions are based on or taken from
   vmware_guest module.

* Implemented support for configuring custom VM params in xenserver_guest module

* Compatibility fixes and documentation update

 - xenserver module_util: implemented support for XenAPI.py version older
   than 7.2.
 - xenserver module_util: PEP8 fixes.
 - xenserver module_util: Added missing imports.
 - xenserver module_util: Copyright notice fixes.
 - xenserver_guest module: updated module documentation with notes regarding
   module requirements and compatibility.
 - xenserver_guest module: bumped version_added to 2.7.
 - xenserver_guest module: minor fixes.

* VM power state management refactoring, subargument specs in xenserver_guest module, other fixes

 - VM power state management code moved from xenserver_guest module to xenserver
   module_util (set_vm_power_state function).
 - Code for waiting for VM IP address moved from xenserver_guest module to
   xenserver module_util (wait_for_vm_ip_address function).
 - xenserver module_util: implemented get_object_ref function to clean up
   a lot of repeated code in xenserver_guest module.
 - xenserver module_util: added additional aliases 'host' and 'pool' for
   'hostname' common module argument. They are more in line with what
   XenServer users are familiar with.
 - xenserver module_util: minor fixes.
 - xenserver_guest module: removed VM state management other than 'present',
   'absent' and 'poweredon'. Other states are to be managed by separate module.
 - xenserver_guest module: added subargument specs and cleaned up custom code
   for subargument validation.
 - xenserver_guest module: reorganized code for disk and network reconfiguation
   to minimize code duplication.
 - xenserver_guest module: renamed 'cdrom.iso' module argument to
   'cdrom.iso_name', avoids cryptic error message when parameter is
   missing.
 - xenserver_guest module: documentation update.
 - xenserver_guest module: changes in error messages.
 - xenserver_guest module: minor fixes.

* Implemented guest OS network parameter configuration and other

 - xenserver module_util: moved code for validating MAC addresses from
   xenserver_guest module and implemented a range of functions for validating
   IP addresses and related entities and converting prefixes to netmasks and
   vice versa.
 - xenserver module_util: updated fact gathering code to support guest OS
   network parameters.
 - xenserver module_util: added docstrings.
 - xenserver module_util: minor changes.
 - xenserver_guest module: implemented support for guest OS network parameter
   configuration.
 - xenserver_guest module: changed CD-ROM handling code.
 - xenserver_guest module: changed so that user friendly version of changes
   list is always returned in module result.
 - xenserver_guest module: error message changes.
 - xenserver_guest module: added docstrings.
 - xenserver_guest module: documentation update.
 - xenserver_guest module: minor changes and fixes.

* Various fixes and code cleanup

 - xenserver module_util: implemented get_xenserver_version function.
 - xenserver module_util: moved customization agent detection code to
   gather_vm_params function. customization_agent variable is now part of
   vm_params. An exception in customization agent detection code that prevented
   deployment of new VMs is also fixed.
 - xenserver module_util: added support for alternative VM state names with
   dash and underscore in set_power_state function.
 - xenserver_guest module: removed customization agent detection code
   as it is now implemented in xenserver module_util.
 - xenserver_guest module: fixed a bug in xenserver_data update code that
   occured when "networks.mac" was not specified in module params and
   other fixes.
 - xenserver_guest module: some code cleanup.
 - xenserver_guest module: bumped version_added to 2.8.
2018-11-19 01:50:20 -05:00
..
alicloud Add new module ali_instance (#36898) 2018-10-23 13:02:21 -05:00
amazon Update rds documentation for upgrade (#48713) 2018-11-15 20:57:57 -06:00
atomic state: present added in docs (#37197) 2018-08-24 12:22:18 -05:00
azure fixed sample code (#48707) 2018-11-16 09:32:32 +08:00
centurylink
cloudscale Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
cloudstack cs_template: fix KeyError on state=extracted (#48675) 2018-11-15 13:38:42 +00:00
digital_ocean Digital Ocean firewall facts (#46582) 2018-10-07 05:09:52 -05:00
dimensiondata Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
docker Only pass ipam parameter to create_network() if needed. (#48735) 2018-11-16 01:20:32 -05:00
google GCP Bug Fixes (#48276) 2018-11-15 13:44:10 +00:00
heroku
linode Add new linode_v4 module. (#46151) 2018-11-16 12:39:05 +00:00
lxc
lxd Fix bug #32437 (#38166) 2018-08-05 17:49:11 -04:00
memset New facts module: Memset server products (#42386) 2018-10-29 12:28:00 +00:00
misc virt: Fix return type of list_vms (#48160) 2018-11-07 08:37:37 +01:00
oneandone
online Add an Online servers fact 2018-09-24 21:03:50 +02:00
opennebula Fix Deploy VM from template with id==0. (#48421) 2018-11-11 10:57:57 -05:00
openstack os_server_facts: support all_projects (#44800) 2018-11-08 17:05:12 -05:00
ovh Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
ovirt ovirt_vm: fix cloud_init_persist doc (#47854) 2018-11-13 04:49:20 -05:00
packet Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
profitbricks
pubnub Enable additional pylint rules and resolve issues found. (#47221) 2018-10-18 13:38:08 -07:00
rackspace Clean up BOTMETA.yml (#44574) 2018-08-24 19:43:35 -04:00
scaleway Add support for adding custom query parameters to URL (#46390) 2018-10-26 15:20:00 +01:00
smartos Surround top-level function and class definitions with two blank lines. 2018-07-31 12:06:56 -07:00
softlayer Update sl_vm.py (#43966) 2018-09-25 11:15:51 +01:00
spotinst spotinst_aws_elastigroup module: adding version to Rancher integration (#46293) 2018-10-17 13:45:02 -04:00
univention Add a alias from organisation to organization (#45688) 2018-09-17 15:50:46 -04:00
vmware VMware: Refactor vmware_cluster (#37072) 2018-11-14 04:36:48 -05:00
vultr vultr_server_facts: fix gather facts fails when firewall is enabled on a VM (#48342) 2018-11-09 07:48:08 +01:00
webfaction
xenserver New module: xenserver_guest - manages XenServer VMs (#41041) 2018-11-19 01:50:20 -05:00
__init__.py