[ovirt] remove 2.8 deprecations (#45506)

This commit is contained in:
Sloane Hertel 2018-09-18 08:28:00 -04:00 committed by GitHub
parent 1f8c5905b3
commit c004a639b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 0 additions and 168 deletions

View file

@ -1 +0,0 @@
ovirt_affinity_group.py

View file

@ -1 +0,0 @@
ovirt_affinity_label.py

View file

@ -1 +0,0 @@
ovirt_affinity_label_facts.py

View file

@ -1 +0,0 @@
ovirt_cluster.py

View file

@ -1 +0,0 @@
ovirt_cluster_facts.py

View file

@ -1 +0,0 @@
ovirt_datacenter.py

View file

@ -1 +0,0 @@
ovirt_datacenter_facts.py

View file

@ -1 +0,0 @@
ovirt_disk.py

View file

@ -1 +0,0 @@
ovirt_external_provider.py

View file

@ -1 +0,0 @@
ovirt_external_provider_facts.py

View file

@ -1 +0,0 @@
ovirt_group.py

View file

@ -1 +0,0 @@
ovirt_group_facts.py

View file

@ -1 +0,0 @@
ovirt_host_network.py

View file

@ -1 +0,0 @@
ovirt_host.py

View file

@ -1 +0,0 @@
ovirt_host_facts.py

View file

@ -1 +0,0 @@
ovirt_mac_pool.py

View file

@ -1 +0,0 @@
ovirt_network.py

View file

@ -1 +0,0 @@
ovirt_network_facts.py

View file

@ -1 +0,0 @@
ovirt_nic.py

View file

@ -1 +0,0 @@
ovirt_nic_facts.py

View file

@ -1 +0,0 @@
ovirt_permission.py

View file

@ -1 +0,0 @@
ovirt_permission_facts.py

View file

@ -1 +0,0 @@
ovirt_quota.py

View file

@ -1 +0,0 @@
ovirt_quota_facts.py

View file

@ -1 +0,0 @@
ovirt_scheduling_policy_facts.py

View file

@ -1 +0,0 @@
ovirt_snapshot.py

View file

@ -1 +0,0 @@
ovirt_snapshot_facts.py

View file

@ -1 +0,0 @@
ovirt_storage_connection.py

View file

@ -1 +0,0 @@
ovirt_storage_domain.py

View file

@ -1 +0,0 @@
ovirt_storage_domain_facts.py

View file

@ -1 +0,0 @@
ovirt_storage_template_facts.py

View file

@ -1 +0,0 @@
ovirt_storage_vm_facts.py

View file

@ -1 +0,0 @@
ovirt_tag.py

View file

@ -1 +0,0 @@
ovirt_tag_facts.py

View file

@ -1 +0,0 @@
ovirt_template.py

View file

@ -1 +0,0 @@
ovirt_template_facts.py

View file

@ -1 +0,0 @@
ovirt_user.py

View file

@ -1 +0,0 @@
ovirt_user_facts.py

View file

@ -1 +0,0 @@
ovirt_vmpool.py

View file

@ -1 +0,0 @@
ovirt_vmpool_facts.py

View file

@ -1 +0,0 @@
ovirt_vm.py

View file

@ -1 +0,0 @@
ovirt_vm_facts.py

View file

@ -265,9 +265,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_affinity_groups':
module.deprecate("The 'ovirt_affinity_groups' module is being renamed 'ovirt_affinity_group'", version=2.8)
check_sdk(module)
try:
auth = module.params.pop('auth')

View file

@ -181,9 +181,6 @@ def main():
],
)
if module._name == 'ovirt_affinity_labels':
module.deprecate("The 'ovirt_affinity_labels' module is being renamed 'ovirt_affinity_label'", version=2.8)
check_sdk(module)
try:

View file

@ -110,9 +110,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_affinity_labels_facts':
module.deprecate("The 'ovirt_affinity_labels_facts' module is being renamed 'ovirt_affinity_label_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -657,9 +657,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_clusters':
module.deprecate("The 'ovirt_clusters' module is being renamed 'ovirt_cluster'", version=2.8)
check_sdk(module)
try:

View file

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_clusters_facts':
module.deprecate("The 'ovirt_clusters_facts' module is being renamed 'ovirt_cluster_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -201,9 +201,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_datacenters':
module.deprecate("The 'ovirt_datacenters' module is being renamed 'ovirt_datacenter'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -64,9 +64,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_datacenters_facts':
module.deprecate("The 'ovirt_datacenters_facts' module is being renamed 'ovirt_datacenter_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -584,9 +584,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_disks':
module.deprecate("The 'ovirt_disks' module is being renamed 'ovirt_disk'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -360,9 +360,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_external_providers':
module.deprecate("The 'ovirt_external_providers' module is being renamed 'ovirt_external_provider'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -119,9 +119,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_external_providers_facts':
module.deprecate("The 'ovirt_external_providers_facts' module is being renamed 'ovirt_external_provider_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -155,9 +155,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_groups':
module.deprecate("The 'ovirt_groups' module is being renamed 'ovirt_group'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_groups_facts':
module.deprecate("The 'ovirt_groups_facts' module is being renamed 'ovirt_group_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -440,9 +440,6 @@ def main():
]
)
if module._name == 'ovirt_hosts':
module.deprecate("The 'ovirt_hosts' module is being renamed 'ovirt_host'", version=2.8)
check_sdk(module)
try:

View file

@ -74,9 +74,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_hosts_facts':
module.deprecate("The 'ovirt_hosts_facts' module is being renamed 'ovirt_host_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -334,9 +334,6 @@ def main():
)
module = AnsibleModule(argument_spec=argument_spec)
if module._name == 'ovirt_host_networks':
module.deprecate("The 'ovirt_host_networks' module is being renamed 'ovirt_host_network'", version=2.8)
check_sdk(module)
try:

View file

@ -152,9 +152,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_mac_pools':
module.deprecate("The 'ovirt_mac_pools' module is being renamed 'ovirt_mac_pool'", version=2.8)
check_sdk(module)
try:

View file

@ -253,9 +253,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_networks':
module.deprecate("The 'ovirt_networks' module is being renamed 'ovirt_network'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_networks_facts':
module.deprecate("The 'ovirt_networks_facts' module is being renamed 'ovirt_network_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -201,9 +201,6 @@ def main():
required_one_of=[['vm', 'template']],
)
if module._name == 'ovirt_nics':
module.deprecate("The 'ovirt_nics' module is being renamed 'ovirt_nic'", version=2.8)
check_sdk(module)
try:

View file

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_nics_facts':
module.deprecate("The 'ovirt_nics_facts' module is being renamed 'ovirt_nic_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -274,9 +274,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_permissions':
module.deprecate("The 'ovirt_permissions' module is being renamed 'ovirt_permission'", version=2.8)
check_sdk(module)
if (module.params['object_name'] is None and module.params['object_id'] is None) and module.params['object_type'] != 'system':

View file

@ -123,9 +123,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_permissions_facts':
module.deprecate("The 'ovirt_permissions_facts' module is being renamed 'ovirt_permission_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -244,9 +244,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_quotas':
module.deprecate("The 'ovirt_quotas' module is being renamed 'ovirt_quota'", version=2.8)
check_sdk(module)
try:

View file

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_quotas_facts':
module.deprecate("The 'ovirt_quotas_facts' module is being renamed 'ovirt_quota_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -86,9 +86,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_scheduling_policie_facts':
module.deprecate("The 'ovirt_scheduling_policie_facts' module is being renamed 'ovirt_scheduling_policy_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -246,9 +246,6 @@ def main():
]
)
if module._name == 'ovirt_snapshots':
module.deprecate("The 'ovirt_snapshots' module is being renamed 'ovirt_snapshot'", version=2.8)
check_sdk(module)
vm_name = module.params.get('vm_name')

View file

@ -77,9 +77,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_snapshots_facts':
module.deprecate("The 'ovirt_snapshots_facts' module is being renamed 'ovirt_snapshot_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -232,9 +232,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_storage_connections':
module.deprecate("The 'ovirt_storage_connections' module is being renamed 'ovirt_storage_connection'", version=2.8)
check_sdk(module)
try:

View file

@ -626,9 +626,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_storage_domains':
module.deprecate("The 'ovirt_storage_domains' module is being renamed 'ovirt_storage_domain'", version=2.8)
check_sdk(module)
try:

View file

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_domains_facts':
module.deprecate("The 'ovirt_storage_domains_facts' module is being renamed 'ovirt_storage_domain_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -91,9 +91,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_templates_facts':
module.deprecate("The 'ovirt_storage_templates_facts' module is being renamed 'ovirt_storage_template_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -91,9 +91,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_storage_vms_facts':
module.deprecate("The 'ovirt_storage_vms_facts' module is being renamed 'ovirt_storage_vm_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -228,9 +228,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_tags':
module.deprecate("The 'ovirt_tags' module is being renamed 'ovirt_tag'", version=2.8)
check_sdk(module)
try:

View file

@ -100,9 +100,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_tags_facts':
module.deprecate("The 'ovirt_tags_facts' module is being renamed 'ovirt_tag_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -474,9 +474,6 @@ def main():
required_one_of=[['id', 'name']],
)
if module._name == 'ovirt_templates':
module.deprecate("The 'ovirt_templates' module is being renamed 'ovirt_template'", version=2.8)
check_sdk(module)
try:

View file

@ -81,9 +81,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_templates_facts':
module.deprecate("The 'ovirt_templates_facts' module is being renamed 'ovirt_template_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -138,9 +138,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_users':
module.deprecate("The 'ovirt_users' module is being renamed 'ovirt_user'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_users_facts':
module.deprecate("The 'ovirt_users_facts' module is being renamed 'ovirt_user_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -1986,9 +1986,6 @@ def main():
required_one_of=[['id', 'name']],
)
if module._name == 'ovirt_vms':
module.deprecate("The 'ovirt_vms' module is being renamed 'ovirt_vm'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -97,9 +97,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_vms_facts':
module.deprecate("The 'ovirt_vms_facts' module is being renamed 'ovirt_vm_facts'", version=2.8)
check_sdk(module)
try:

View file

@ -197,9 +197,6 @@ def main():
supports_check_mode=True,
)
if module._name == 'ovirt_vmpools':
module.deprecate("The 'ovirt_vmpools' module is being renamed 'ovirt_vmpool'", version=2.8)
check_sdk(module)
check_params(module)

View file

@ -79,9 +79,6 @@ def main():
)
module = AnsibleModule(argument_spec)
if module._name == 'ovirt_vmpools_facts':
module.deprecate("The 'ovirt_vmpools_facts' module is being renamed 'ovirt_vmpool_facts'", version=2.8)
check_sdk(module)
try: