1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/vcloud_director/requests/compute
Stefano Tortarolo 18ef1ecb61 [vcloud_director] Handle Guest admin password
Admin passwords can be retrieved and modified using the VMWare console,
so it's useful to allow the same operations here.

Moreover, when an admin password is enabled and "admin password auto" is
false, it's impossible to modify Guest settings.
i.e., "The administrator password cannot be empty when it is enabled and
automatic password generation is not selected."

This patch also fixes `put_guest_customization_section_vapp` where an
AdminPassword element was never created.
2013-12-08 10:26:39 +01:00
..
delete_catalog_item.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_catalog_item_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_disk.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
delete_disk_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_logout.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_media.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
delete_media_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_shadow_vm.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
delete_vapp_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
delete_vapp_template_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_allocated_ip_addresses.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalog.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_catalog_item.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalog_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalog_item_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalog_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalog_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_catalogs_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_control_access_params_catalog.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_control_access_params_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_cpu_rasd_item.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_current_session.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_disk.rb [vcloud_director] Consistent usage of ensure_list! in get_disk. 2013-10-22 16:33:40 +01:00
get_disk_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_disk_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_disk_owner.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
get_disks_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_disks_rasd_items_list.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_edge_gateway.rb [vcloud_director] fix or skip tests that fail in real environment 2013-10-30 13:50:54 +00:00
get_entity.rb [vcloud_director] Add #get_org_settings and #get_vcloud. 2013-10-16 00:27:23 +01:00
get_execute_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_groups_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_guest_customization_system_section_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_guest_customization_system_section_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_href.rb [vcloud_director] Set :idempotent on GET requests 2013-09-29 18:57:18 +01:00
get_lease_settings_section_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_lease_settings_section_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_media.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
get_media_drives_rasd_items_list.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_media_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_media_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_media_owner.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
get_medias_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_memory_rasd_item.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
get_network_cards_items_list.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_config_section_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_config_section_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_connection_system_section_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_connection_system_section_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_section_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_network_section_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_operating_system_section.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_org_settings.rb [vcloud_director] Add #get_org_settings and #get_vcloud. 2013-10-16 00:27:23 +01:00
get_org_vdc_gateways.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_organization.rb [vcloud_director] Add #get_org_settings and #get_vcloud. 2013-10-16 00:27:23 +01:00
get_organization_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_organization_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_organizations.rb [vcloud_director] Add #get_org_settings and #get_vcloud. 2013-10-16 00:27:23 +01:00
get_organizations_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_product_sections_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_product_sections_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_request.rb [vcloud_director] Set :idempotent on GET requests 2013-09-29 18:57:18 +01:00
get_runtime_info_section_type.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_serial_ports_items_list.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_shadow_vm.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_snapshot_section.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_startup_section.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_supported_systems_info.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_supported_versions.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_task.rb [vcloud_director] Ensure task :Owner is always present. 2013-10-31 15:30:46 +00:00
get_task_list.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
get_thumbnail.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_users_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_vapp.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_vapp_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_ovf_descriptor.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_owner.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template_customization_system_section.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template_ovf_descriptor.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_template_owner.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vapp_templates_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_vapps_in_lease_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_vcloud.rb [vcloud_director] Add #get_org_settings and #get_vcloud. 2013-10-16 00:27:23 +01:00
get_vdc.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_vdc_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vdc_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vdc_storage_class.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
get_vdc_storage_class_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vdc_storage_class_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vdcs_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
get_virtual_hardware_section.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm_capabilities.rb [vcloud_director] Doc update for get,put_vm_capabilities. 2013-10-16 12:52:11 +01:00
get_vm_compliance_results.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm_customization.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm_disks.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm_network.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vm_pending_question.rb [vcloud_director] Add #post_answer_vm_pending_question. 2013-10-16 00:27:23 +01:00
get_vms.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
get_vms_by_metadata.rb [vcloud_director] Support fields,filter,format for packaged queries. 2013-10-15 00:24:15 +01:00
get_vms_disk_attached_to.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
get_vms_in_lease_from_query.rb [vcloud_director] Do ensure_list in request methods. 2013-10-15 14:14:05 +01:00
instantiate_vapp_template.rb remove instantiate_vapp_template helper dependencies 2013-10-14 17:18:31 +02:00
post_acquire_ticket.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_answer_vm_pending_question.rb [vcloud_director] Add #post_answer_vm_pending_question. 2013-10-16 00:27:23 +01:00
post_attach_disk.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_cancel_task.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
post_capture_vapp.rb [vcloud_director] Call end_point not endpoint. 2013-10-14 18:28:43 +01:00
post_check_vm_compliance.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_clone_media.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
post_clone_vapp.rb [vcloud_director] Call end_point not endpoint. 2013-10-14 18:28:43 +01:00
post_clone_vapp_template.rb [vcloud_director] Call end_point not endpoint. 2013-10-14 18:28:43 +01:00
post_configure_edge_gateway_services.rb using new way of task mocking for edgegateway tests 2013-11-01 10:49:10 +00:00
post_consolidate_vm_vapp.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_consolidate_vm_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_deploy_vapp.rb fix situation where the content of the param can be false and not set the attr 2013-10-14 18:47:51 +02:00
post_detach_disk.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_disable_nested_hv.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_disable_vapp_template_download.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_discard_vapp_state.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_eject_cd_rom.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_enable_nested_hv.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_enable_vapp_template_download.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_enter_maintenance_mode.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_exit_maintenance_mode.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_insert_cd_rom.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_install_vmware_tools.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_instantiate_vapp_template.rb [vcloud_director] strftime not iso8601 for ruby 1.8.7 2013-10-21 19:06:16 +01:00
post_login_session.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_power_off_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_power_on_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_reboot_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_remove_all_snapshots.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_reset_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_revert_snapshot.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_shutdown_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_suspend_vapp.rb [vcloud_director] Raise provider-specific exceptions. 2013-10-14 01:10:19 +01:00
post_undeploy_vapp.rb Merge pull request #2259 from restebanez/vcloud_director/fix_instantiation_and_tags 2013-10-14 10:15:36 -07:00
post_update_catalog_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_update_disk_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_update_media_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_update_vapp_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_update_vapp_template_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_upgrade_hw_version.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
post_upload_disk.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
post_upload_media.rb [vcloud_director] Mocking for tasks. 2013-10-22 16:33:40 +01:00
post_upload_vapp_template.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_catalog_item_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_cpu.rb [vcloud_director] Call end_point not endpoint. 2013-10-14 18:28:43 +01:00
put_disk_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_disks.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_guest_customization_section_vapp.rb [vcloud_director] Handle Guest admin password 2013-12-08 10:26:39 +01:00
put_media_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_memory.rb [vcloud_director] Call end_point not endpoint. 2013-10-14 18:28:43 +01:00
put_metadata_value.rb [vcloud_director] Add post/put metadata methods. 2013-10-13 09:38:42 +01:00
put_network_connection_system_section_vapp.rb [vcloud_director] Change input options structure. 2013-10-16 19:47:57 +01:00
put_vapp_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_vapp_template_metadata_item_metadata.rb [vcloud_director] Expose URLs in method docs. 2013-10-13 20:23:24 +01:00
put_vm.rb updated documentation for put_vm 2013-12-04 12:13:38 +00:00
put_vm_capabilities.rb [vcloud_director] Parse response in #put_vm_capabilities. 2013-10-16 13:05:54 +01:00