Skip to content

Commit

Permalink
Regenerate modules
Browse files Browse the repository at this point in the history
Signed-off-by: Alina Buzachis <abuzachis@redhat.com>
  • Loading branch information
alinabuzachis committed Nov 23, 2023
1 parent 20e6879 commit 980d895
Show file tree
Hide file tree
Showing 30 changed files with 135 additions and 135 deletions.
2 changes: 1 addition & 1 deletion changelogs/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -670,4 +670,4 @@ releases:
- remove_unnecessary_sanity_ignores.yaml
- start_gha_4_sanity_tests.yaml
- use_7.0.3_spec.yaml
release_date: '2023-11-22'
release_date: '2023-11-23'
2 changes: 1 addition & 1 deletion plugins/modules/appliance_networking.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"update": {"query": {}, "body": {"ipv6_enabled": "ipv6_enabled"}, "path": {}},
"reset": {"query": {}, "body": {}, "path": {}},
"update": {"query": {}, "body": {"ipv6_enabled": "ipv6_enabled"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_networking_dns_domains.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"add": {"query": {}, "body": {"domain": "domain"}, "path": {}},
"set": {"query": {}, "body": {"domains": "domains"}, "path": {}},
"add": {"query": {}, "body": {"domain": "domain"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_networking_dns_hostname.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"test": {"query": {}, "body": {"name": "name"}, "path": {}},
"set": {"query": {}, "body": {"name": "name"}, "path": {}},
"test": {"query": {}, "body": {"name": "name"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_networking_dns_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"set": {"query": {}, "body": {"mode": "mode", "servers": "servers"}, "path": {}},
"add": {"query": {}, "body": {"server": "server"}, "path": {}},
"test": {"query": {}, "body": {"servers": "servers"}, "path": {}},
"set": {"query": {}, "body": {"mode": "mode", "servers": "servers"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
12 changes: 6 additions & 6 deletions plugins/modules/appliance_networking_proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,6 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"test": {
"query": {},
"body": {"config": "config", "host": "host"},
"path": {"protocol": "protocol"},
},
"delete": {"query": {}, "body": {}, "path": {"protocol": "protocol"}},
"set": {
"query": {},
"body": {
Expand All @@ -174,6 +168,12 @@
},
"path": {"protocol": "protocol"},
},
"test": {
"query": {},
"body": {"config": "config", "host": "host"},
"path": {"protocol": "protocol"},
},
"delete": {"query": {}, "body": {}, "path": {"protocol": "protocol"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_ntp.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"test": {"query": {}, "body": {"servers": "servers"}, "path": {}},
"set": {"query": {}, "body": {"servers": "servers"}, "path": {}},
"test": {"query": {}, "body": {"servers": "servers"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/appliance_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"start": {"query": {}, "body": {}, "path": {"service": "service"}},
"restart": {"query": {}, "body": {}, "path": {"service": "service"}},
"stop": {"query": {}, "body": {}, "path": {"service": "service"}},
"restart": {"query": {}, "body": {}, "path": {"service": "service"}},
"start": {"query": {}, "body": {}, "path": {"service": "service"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_shutdown.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,12 @@
# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"reboot": {"query": {}, "body": {"delay": "delay", "reason": "reason"}, "path": {}},
"cancel": {"query": {}, "body": {}, "path": {}},
"poweroff": {
"query": {},
"body": {"delay": "delay", "reason": "reason"},
"path": {},
},
"cancel": {"query": {}, "body": {}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/appliance_system_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"resize": {"query": {}, "body": {}, "path": {}},
"resize_ex": {"query": {}, "body": {}, "path": {}},
"resize": {"query": {}, "body": {}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
6 changes: 3 additions & 3 deletions plugins/modules/appliance_vmon_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"start": {"query": {}, "body": {}, "path": {"service": "service"}},
"list_details": {"query": {}, "body": {}, "path": {}},
"update": {
"query": {},
"body": {"startup_type": "spec/startup_type"},
"path": {"service": "service"},
},
"restart": {"query": {}, "body": {}, "path": {"service": "service"}},
"stop": {"query": {}, "body": {}, "path": {"service": "service"}},
"list_details": {"query": {}, "body": {}, "path": {}},
"start": {"query": {}, "body": {}, "path": {"service": "service"}},
"restart": {"query": {}, "body": {}, "path": {"service": "service"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
12 changes: 6 additions & 6 deletions plugins/modules/content_locallibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,11 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"publish": {
"query": {},
"body": {"subscriptions": "subscriptions"},
"path": {"library_id": "library_id"},
},
"update": {
"query": {},
"body": {
Expand All @@ -405,6 +410,7 @@
},
"path": {"library_id": "library_id"},
},
"delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"create": {
"query": {"client_token": "client_token"},
"body": {
Expand All @@ -426,12 +432,6 @@
},
"path": {},
},
"publish": {
"query": {},
"body": {"subscriptions": "subscriptions"},
"path": {"library_id": "library_id"},
},
"delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
24 changes: 12 additions & 12 deletions plugins/modules/content_subscribedlibrary.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,10 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"update": {
"query": {},
"delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"evict": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"create": {
"query": {"client_token": "client_token"},
"body": {
"creation_time": "creation_time",
"description": "description",
Expand All @@ -400,17 +402,10 @@
"unset_security_policy_id": "unset_security_policy_id",
"version": "version",
},
"path": {"library_id": "library_id"},
},
"probe": {
"query": {},
"body": {"subscription_info": "subscription_info"},
"path": {},
},
"evict": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"sync": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"create": {
"query": {"client_token": "client_token"},
"update": {
"query": {},
"body": {
"creation_time": "creation_time",
"description": "description",
Expand All @@ -428,9 +423,14 @@
"unset_security_policy_id": "unset_security_policy_id",
"version": "version",
},
"path": {"library_id": "library_id"},
},
"probe": {
"query": {},
"body": {"subscription_info": "subscription_info"},
"path": {},
},
"delete": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
"sync": {"query": {}, "body": {}, "path": {"library_id": "library_id"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vcenter_datacenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"create": {"query": {}, "body": {"folder": "folder", "name": "name"}, "path": {}},
"delete": {
"query": {"force": "force"},
"body": {},
"path": {"datacenter": "datacenter"},
},
"create": {"query": {}, "body": {"folder": "folder", "name": "name"}, "path": {}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
4 changes: 2 additions & 2 deletions plugins/modules/vcenter_host.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,9 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"disconnect": {"query": {}, "body": {}, "path": {"host": "host"}},
"connect": {"query": {}, "body": {}, "path": {"host": "host"}},
"delete": {"query": {}, "body": {}, "path": {"host": "host"}},
"create": {
"query": {},
"body": {
Expand All @@ -161,8 +163,6 @@
},
"path": {},
},
"disconnect": {"query": {}, "body": {}, "path": {"host": "host"}},
"delete": {"query": {}, "body": {}, "path": {"host": "host"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
10 changes: 5 additions & 5 deletions plugins/modules/vcenter_ovf_libraryitem.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,11 +264,6 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"deploy": {
"query": {"client_token": "client_token"},
"body": {"deployment_spec": "deployment_spec", "target": "target"},
"path": {"ovf_library_item_id": "ovf_library_item_id"},
},
"filter": {
"query": {},
"body": {"target": "target"},
Expand All @@ -279,6 +274,11 @@
"body": {"create_spec": "create_spec", "source": "source", "target": "target"},
"path": {},
},
"deploy": {
"query": {"client_token": "client_token"},
"body": {"deployment_spec": "deployment_spec", "target": "target"},
"path": {"ovf_library_item_id": "ovf_library_item_id"},
},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
2 changes: 1 addition & 1 deletion plugins/modules/vcenter_resourcepool.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
},
"path": {"resource_pool": "resource_pool"},
},
"delete": {"query": {}, "body": {}, "path": {"resource_pool": "resource_pool"}},
"create": {
"query": {},
"body": {
Expand All @@ -201,7 +202,6 @@
},
"path": {},
},
"delete": {"query": {}, "body": {}, "path": {"resource_pool": "resource_pool"}},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
50 changes: 25 additions & 25 deletions plugins/modules/vcenter_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1148,24 +1148,7 @@

# This structure describes the format of the data expected by the end-points
PAYLOAD_FORMAT = {
"relocate": {
"query": {},
"body": {"disks": "disks", "placement": "placement"},
"path": {"vm": "vm"},
},
"clone": {
"query": {},
"body": {
"disks_to_remove": "disks_to_remove",
"disks_to_update": "disks_to_update",
"guest_customization_spec": "guest_customization_spec",
"name": "name",
"placement": "placement",
"power_on": "power_on",
"source": "source",
},
"path": {},
},
"delete": {"query": {}, "body": {}, "path": {"vm": "vm"}},
"register": {
"query": {},
"body": {
Expand All @@ -1177,17 +1160,15 @@
},
"path": {},
},
"delete": {"query": {}, "body": {}, "path": {"vm": "vm"}},
"instant_clone": {
"clone": {
"query": {},
"body": {
"bios_uuid": "bios_uuid",
"disconnect_all_nics": "disconnect_all_nics",
"disks_to_remove": "disks_to_remove",
"disks_to_update": "disks_to_update",
"guest_customization_spec": "guest_customization_spec",
"name": "name",
"nics_to_update": "nics_to_update",
"parallel_ports_to_update": "parallel_ports_to_update",
"placement": "placement",
"serial_ports_to_update": "serial_ports_to_update",
"power_on": "power_on",
"source": "source",
},
"path": {},
Expand Down Expand Up @@ -1217,6 +1198,25 @@
"path": {},
},
"unregister": {"query": {}, "body": {}, "path": {"vm": "vm"}},
"relocate": {
"query": {},
"body": {"disks": "disks", "placement": "placement"},
"path": {"vm": "vm"},
},
"instant_clone": {
"query": {},
"body": {
"bios_uuid": "bios_uuid",
"disconnect_all_nics": "disconnect_all_nics",
"name": "name",
"nics_to_update": "nics_to_update",
"parallel_ports_to_update": "parallel_ports_to_update",
"placement": "placement",
"serial_ports_to_update": "serial_ports_to_update",
"source": "source",
},
"path": {},
},
} # pylint: disable=line-too-long

from ansible.module_utils.basic import env_fallback
Expand Down
Loading

0 comments on commit 980d895

Please sign in to comment.