community.general/lib/ansible/module_utils
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
..
aws [aws] ALB/NLB support SubnetMappings in AWS create LB call (#42060) 2018-10-04 16:53:32 -04:00
common Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
compat Misc fixes for several errors 2018-11-02 12:14:57 -04:00
csharp Ansible.Basic.cs - fix check mode run with nested spec (#48838) 2018-11-17 18:15:36 +10:00
facts Update and correct iSCSI facts collection (#44644) 2018-11-08 21:24:51 -05:00
k8s Provide Kubernetes resource validation to k8s module (#43352) 2018-11-16 12:44:59 +00:00
net_tools fix nios modules (#48559) 2018-11-14 18:05:25 +05:30
network Removes more f5-sdk references from f5 modules (#48771) 2018-11-16 20:43:46 -08:00
parsing
powershell Fix a possible issue with comparing values with $null (#37763) 2018-11-19 09:28:04 +10:00
remote_management
six
storage
__init__.py
_text.py
acme.py ACME: add support for POST-as-GET if GET fails with 405. (#44988) 2018-10-29 10:32:53 +01:00
alicloud_ecs.py Add new module ali_instance (#36898) 2018-10-23 13:02:21 -05:00
ansible_release.py
ansible_tower.py
api.py
azure_rm_common.py upgrading azure-mgmt-compute to the latest (#47601) 2018-11-15 15:24:42 +08:00
azure_rm_common_rest.py
basic.py fix(tasks: synchronize): wrap in sshpass if ssh password was provided (#30743) 2018-11-05 15:00:34 -05:00
cloud.py
cloudscale.py
cloudstack.py
connection.py Try to be more verbose with JSON decode errors (#47066) 2018-10-18 12:09:00 -04:00
crypto.py
database.py
digital_ocean.py
dimensiondata.py
docker_common.py Bug 42787 create volume with label (#46527) 2018-11-07 13:31:12 +00:00
ec2.py [AWS] Allow the profile to take precedence to allow better compatibility between ~/.boto and ~/.aws/credential files (#45806) 2018-11-06 14:30:54 -05:00
exoscale.py
f5_utils.py
firewalld.py
gcdns.py
gce.py
gcp.py removing libcloud secrets support for legacy gcp modules (#44932) 2018-08-31 08:28:32 -04:00
gcp_utils.py GCP Bug Fixes (#48276) 2018-11-15 13:44:10 +00:00
gitlab.py
heroku.py
ibm_sa_utils.py IBM storage: fix domain issue by adding more keywords to pyxcli avail… (#48345) 2018-11-12 10:47:38 -05:00
infinibox.py
influxdb.py
ipa.py
ismount.py
json_utils.py
keycloak.py
known_hosts.py
ldap.py
linode.py Add new linode_v4 module. (#46151) 2018-11-16 12:39:05 +00:00
lxd.py
manageiq.py
memset.py New facts module: Memset Memstore (#42387) 2018-10-29 12:27:03 +00:00
mysql.py Migrate from MySQLdb to PyMySQL (#40123) 2018-09-19 08:44:05 -07:00
netapp.py
netapp_elementsw_module.py
netapp_module.py
oneandone.py
oneview.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
online.py Add an Online servers fact 2018-09-24 21:03:50 +02:00
opennebula.py
openstack.py
ovirt.py Add retry mechanism support for deactivating storage domain (Updated). (#47551) 2018-11-02 08:48:46 +00:00
postgres.py
pure.py Add user_agent into FlashBlade API calls (#46221) 2018-10-29 11:28:00 +00:00
pycompat24.py Enable pylint rules and fix exposed bugs. (#47219) 2018-10-19 08:32:52 -07:00
rabbitmq.py RabbitMQ publisher module (#44718) 2018-11-15 11:06:54 +10:00
rax.py
redfish_utils.py Do not reboot after updating BIOS configuration 2018-11-12 16:24:13 -05:00
redhat.py
scaleway.py Add support for adding custom query parameters to URL (#46390) 2018-10-26 15:20:00 +01:00
service.py
splitter.py
univention_umc.py
urls.py introduce `module_utils.urls.fetch_file` as a wrapper to download and save files (#19172) 2018-10-08 14:41:57 +02:00
utm_utils.py Creates base Sophos UTM module (#45781) 2018-10-26 23:21:54 +05:30
vca.py
vmware.py VMware: Refactor vmware_cluster (#37072) 2018-11-14 04:36:48 -05:00
vmware_rest_client.py VMware: Add tag facts to vmware_guest_facts (#47495) 2018-10-25 09:45:38 +05:30
vultr.py vultr: fix for API returned unexpected empty list (#48036) 2018-11-04 11:23:36 +01:00
xenserver.py New module: xenserver_guest - manages XenServer VMs (#41041) 2018-11-19 01:50:20 -05:00
yumdnf.py Correct yum and dnf autoremove behavior (#47902) 2018-11-05 16:00:42 -05:00