fog-xenserver 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -7
- data/.rubocop +11 -14
- data/lib/fog/bin/xenserver.rb +1 -1
- data/lib/fog/compute/xen_server.rb +7 -7
- data/lib/fog/compute/xen_server/models.rb +74 -74
- data/lib/fog/compute/xen_server/models/instance_methods.rb +1 -1
- data/lib/fog/compute/xen_server/models/network.rb +2 -2
- data/lib/fog/compute/xen_server/models/server.rb +31 -31
- data/lib/fog/compute/xen_server/models/servers.rb +5 -5
- data/lib/fog/compute/xen_server/models/storage_repository.rb +3 -3
- data/lib/fog/compute/xen_server/models/vbd.rb +7 -7
- data/lib/fog/compute/xen_server/models/vdi.rb +3 -3
- data/lib/fog/compute/xen_server/models/vif.rb +5 -5
- data/lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/apply_edition_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/apply_edition_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_agile_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/backup_rrds_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/bugreport_upload_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/builtin_templates.rb +1 -1
- data/lib/fog/compute/xen_server/requests/call_plugin_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/certificate_install_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/certificate_list_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/certificate_sync_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/checkpoint_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/clean_reboot_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/clean_shutdown_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/clone_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/clone_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/compute_free_memory_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/copy_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/copy_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_network.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_new_blob_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_new_blob_network.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_new_blob_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_new_blob_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_new_blob_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vlan.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/create_vlan_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/crl_install_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/crl_list_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/custom_templates.rb +1 -1
- data/lib/fog/compute/xen_server/requests/db_forget_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/db_forget_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/db_introduce_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/db_introduce_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/declare_dead_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/designate_new_master_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_external_auth_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_ha_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/dmesg_clear_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/dmesg_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/eject_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/eject_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_external_auth_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_ha_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/evacuate_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/forget_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/forget_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/forget_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_boot_record_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_data_sources_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_data_sources_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_license_state_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_log_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_management_interface_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_server_certificate_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_server_localtime_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_servertime_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_supported_types_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/hard_reboot_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/hard_shutdown_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/import_convert_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/insert_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/introduce_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/introduce_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/introduce_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/join_force_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/join_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/list_methods_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/management_disable_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/management_reconfigure_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/maximise_memory_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/migrate_receive_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/migrate_send_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/open_database_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/pause_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/plug_pbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/plug_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/plug_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/plug_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/pool_migrate_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/power_on_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/power_state_reset_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/probe_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/provision_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/query_data_source_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/query_data_source_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/query_services_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/reboot_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/reboot_server.rb +3 -3
- data/lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/record_data_source_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/record_data_source_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/recover_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/recover_slaves_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/resize_online_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/resize_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/restart_agent_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/resume_on_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/resume_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/revert_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/revert_to_server.rb +2 -2
- data/lib/fog/compute/xen_server/requests/scan_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/scan_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/send_debug_keys_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/send_sysrq_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/send_test_post_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/send_trigger_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_affinity_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_appliance_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_attribute.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_cpu_features_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_device_config_pbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_hostname_live_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_managed_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_limits_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_missing_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_name_description_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_name_description_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_name_label_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_name_label_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_order_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_physical_size_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_protection_policy_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_read_only_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_sharable_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_shared_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_start_delay_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/shutdown_agent_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/shutdown_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/shutdown_server.rb +2 -2
- data/lib/fog/compute/xen_server/requests/snapshot_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/snapshot_vdi.rb +1 -1
- data/lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/start_on_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/start_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/suspend_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/sync_data_host.rb +1 -1
- data/lib/fog/compute/xen_server/requests/sync_database_pool.rb +1 -1
- data/lib/fog/compute/xen_server/requests/unpause_server.rb +1 -1
- data/lib/fog/compute/xen_server/requests/unplug_force_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/unplug_pbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/unplug_vbd.rb +1 -1
- data/lib/fog/compute/xen_server/requests/unplug_vif.rb +1 -1
- data/lib/fog/compute/xen_server/requests/update_sr.rb +1 -1
- data/lib/fog/compute/xen_server/requests/update_vdi.rb +1 -1
- data/lib/fog/parsers/xen_server.rb +3 -3
- data/lib/fog/parsers/xen_server/base.rb +1 -1
- data/lib/fog/parsers/xen_server/get_records.rb +1 -1
- data/lib/fog/xen_server/connection.rb +3 -3
- data/lib/fog/xen_server/invalid_login.rb +1 -1
- data/lib/fog/xen_server/nokogiri_stream_parser.rb +3 -3
- data/lib/fog/xen_server/not_found.rb +1 -1
- data/lib/fog/xen_server/request_failed.rb +1 -1
- data/lib/fog/xenserver.rb +12 -12
- data/lib/fog/xenserver/compute.rb +1 -0
- data/lib/fog/xenserver/version.rb +1 -1
- metadata +82 -139
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def forget_data_source_archives_server(ref, data_source)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.forget_data_source_archives" }, ref, data_source)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :forget_data_source_archives_vm, :forget_data_source_archives_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def forget_pif(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "PIF.forget" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def forget_sr(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "SR.forget" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def forget_vdi(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VDI.forget" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_allowed_vbd_devices_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.get_allowed_VBD_devices" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :get_allowed_vbd_devices_vm, :get_allowed_vbd_devices_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_allowed_vif_devices_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.get_allowed_VIF_devices" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :get_allowed_vif_devices_vm, :get_allowed_vif_devices_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_boot_record_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.get_boot_record" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :get_boot_record_vm, :get_boot_record_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_data_sources_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_data_sources" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_data_sources_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.get_data_sources" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :get_data_sources_vm, :get_data_sources_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_license_state_pool(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.get_license_state" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_log_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_log" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_management_interface_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_management_interface" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_possible_hosts_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.get_possible_hosts" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :get_possible_hosts_vm, :get_possible_hosts_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_server_certificate_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_server_certificate" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_server_localtime_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_server_localtime" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_servertime_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_servertime" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_supported_types_sr
|
6
|
-
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method => "SR.get_supported_types")
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_system_status_capabilities_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_system_status_capabilities" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def get_vms_which_prevent_evacuation_host(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.get_vms_which_prevent_evacuation" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def ha_compute_hypothetical_max_host_failures_to_tolerate_pool(configuration)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.ha_compute_hypothetical_max_host_failures_to_tolerate" }, configuration)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def ha_compute_max_host_failures_to_tolerate_pool
|
6
|
-
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method => "pool.ha_compute_max_host_failures_to_tolerate")
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def ha_compute_vm_failover_plan_pool(failed_hosts, failed_vms)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.ha_compute_vm_failover_plan" }, failed_hosts, failed_vms)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def ha_failover_plan_exists_pool(n)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.ha_failover_plan_exists" }, n)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def ha_prevent_restarts_for_pool(seconds)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.ha_prevent_restarts_for" }, seconds)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def hard_reboot_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.hard_reboot" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :hard_reboot_vm, :hard_reboot_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def hard_shutdown_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.hard_shutdown" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :hard_shutdown_vm, :hard_shutdown_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def import_convert_server(type, username, password, sr, remote_config)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.import_convert" }, type, username, password, sr, remote_config)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :import_convert_vm, :import_convert_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def insert_vbd(ref, vdi)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VBD.insert" }, ref, vdi)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def introduce_pif(host, mac, device)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "PIF.introduce" }, host, mac, device)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def introduce_sr(uuid, name_label, name_description, typecontent, sahred, sm_config)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "SR.introduce" }, uuid, name_label, name_description, typecontent, sahred, sm_config)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def introduce_vdi(uuid, name_label, name_description, sr, type, sharable, read_only, other_config, location, xenstore_data, sm_config, managed, virtual_size, physical_utilisation, metadata_of_pool, is_a_snapshot, snapshot_time, snapshot_of)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VDI.introduce" }, uuid, name_label, name_description, sr, type, sharable, read_only, other_config, location, xenstore_data, sm_config, managed, virtual_size, physical_utilisation, metadata_of_pool, is_a_snapshot, snapshot_time, snapshot_of)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def join_force_pool(master_address, master_username, master_password)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.join_force" }, master_address, master_username, master_password)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def join_pool(master_address, master_username, master_password)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "pool.join" }, master_address, master_username, master_password)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def list_methods_host
|
6
|
-
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method => "host.list_methods")
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def local_management_reconfigure_host(interface)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.local_management_reconfigure" }, interface)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def management_disable_host
|
6
|
-
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request(:parser => Fog::Parsers::XenServer::Base.new, :method => "host.management_disable")
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def management_reconfigure_host(pif)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.management_reconfigure" }, pif)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def maximise_memory_server(ref, total, approximate)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.maximise_memory" }, ref, total, approximate)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :maximise_memory_vm, :maximise_memory_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def migrate_receive_host(ref, network, options)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "host.migrate_receive" }, ref, network, options)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def migrate_send_server(ref, dest, live, vdi_map, vif_map, options)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.migrate_send" }, ref, dest, live, vdi_map, vif_map, options)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :migrate_send_vm, :migrate_send_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def open_database_vdi(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VDI.open_database" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def pause_server(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VM.pause" }, ref)
|
7
7
|
end
|
8
8
|
|
9
9
|
alias_method :pause_vm, :pause_server
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def plug_pbd(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "PBD.plug" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def plug_pif(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "PIF.plug" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def plug_vbd(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VBD.plug" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|
@@ -3,7 +3,7 @@ module Fog
|
|
3
3
|
class XenServer
|
4
4
|
class Real
|
5
5
|
def plug_vif(ref)
|
6
|
-
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method =>
|
6
|
+
@connection.request({ :parser => Fog::Parsers::XenServer::Base.new, :method => "VIF.plug" }, ref)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
end
|