fog-xenserver 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/.travis.yml +6 -23
- data/fog-xenserver.gemspec +4 -8
- data/lib/fog/bin/xenserver.rb +1 -1
- data/lib/fog/xenserver.rb +7 -14
- data/lib/fog/xenserver/compute.rb +368 -1
- data/lib/fog/xenserver/compute/mock.rb +31 -0
- data/lib/fog/xenserver/compute/models.rb +84 -0
- data/lib/fog/xenserver/compute/models/blob.rb +25 -0
- data/lib/fog/xenserver/compute/models/blobs.rb +11 -0
- data/lib/fog/xenserver/compute/models/bond.rb +27 -0
- data/lib/fog/xenserver/compute/models/bonds.rb +11 -0
- data/lib/fog/xenserver/compute/models/class_methods.rb +24 -0
- data/lib/fog/xenserver/compute/models/collection.rb +45 -0
- data/lib/fog/xenserver/compute/models/console.rb +24 -0
- data/lib/fog/xenserver/compute/models/consoles.rb +11 -0
- data/lib/fog/xenserver/compute/models/crash_dump.rb +23 -0
- data/lib/fog/xenserver/compute/models/crash_dumps.rb +11 -0
- data/lib/fog/xenserver/compute/models/dr_task.rb +21 -0
- data/lib/fog/xenserver/compute/models/dr_tasks.rb +11 -0
- data/lib/fog/xenserver/compute/models/event.rb +24 -0
- data/lib/fog/xenserver/compute/models/events.rb +11 -0
- data/lib/fog/xenserver/compute/models/gpu_group.rb +26 -0
- data/lib/fog/xenserver/compute/models/gpu_groups.rb +11 -0
- data/lib/fog/xenserver/compute/models/guest_metrics.rb +29 -0
- data/lib/fog/xenserver/compute/models/guests_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/host.rb +92 -0
- data/lib/fog/xenserver/compute/models/host_cpu.rb +32 -0
- data/lib/fog/xenserver/compute/models/host_cpus.rb +11 -0
- data/lib/fog/xenserver/compute/models/host_crash_dump.rb +24 -0
- data/lib/fog/xenserver/compute/models/host_crash_dumps.rb +11 -0
- data/lib/fog/xenserver/compute/models/host_metrics.rb +24 -0
- data/lib/fog/xenserver/compute/models/host_patch.rb +29 -0
- data/lib/fog/xenserver/compute/models/host_patchs.rb +11 -0
- data/lib/fog/xenserver/compute/models/hosts.rb +11 -0
- data/lib/fog/xenserver/compute/models/hosts_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/instance_methods.rb +54 -0
- data/lib/fog/xenserver/compute/models/model.rb +12 -0
- data/lib/fog/xenserver/compute/models/network.rb +34 -0
- data/lib/fog/xenserver/compute/models/networks.rb +11 -0
- data/lib/fog/xenserver/compute/models/pbd.rb +27 -0
- data/lib/fog/xenserver/compute/models/pbds.rb +11 -0
- data/lib/fog/xenserver/compute/models/pci.rb +26 -0
- data/lib/fog/xenserver/compute/models/pcis.rb +11 -0
- data/lib/fog/xenserver/compute/models/pgpu.rb +24 -0
- data/lib/fog/xenserver/compute/models/pgpus.rb +11 -0
- data/lib/fog/xenserver/compute/models/pif.rb +60 -0
- data/lib/fog/xenserver/compute/models/pif_metrics.rb +31 -0
- data/lib/fog/xenserver/compute/models/pifs.rb +11 -0
- data/lib/fog/xenserver/compute/models/pifs_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/pool.rb +65 -0
- data/lib/fog/xenserver/compute/models/pool_patch.rb +28 -0
- data/lib/fog/xenserver/compute/models/pool_patchs.rb +11 -0
- data/lib/fog/xenserver/compute/models/pools.rb +11 -0
- data/lib/fog/xenserver/compute/models/role.rb +23 -0
- data/lib/fog/xenserver/compute/models/roles.rb +11 -0
- data/lib/fog/xenserver/compute/models/server.rb +171 -0
- data/lib/fog/xenserver/compute/models/server_appliance.rb +25 -0
- data/lib/fog/xenserver/compute/models/server_appliances.rb +11 -0
- data/lib/fog/xenserver/compute/models/server_metrics.rb +30 -0
- data/lib/fog/xenserver/compute/models/servers.rb +23 -0
- data/lib/fog/xenserver/compute/models/servers_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/storage_manager.rb +31 -0
- data/lib/fog/xenserver/compute/models/storage_managers.rb +11 -0
- data/lib/fog/xenserver/compute/models/storage_repositories.rb +11 -0
- data/lib/fog/xenserver/compute/models/storage_repository.rb +50 -0
- data/lib/fog/xenserver/compute/models/tunnel.rb +24 -0
- data/lib/fog/xenserver/compute/models/tunnels.rb +11 -0
- data/lib/fog/xenserver/compute/models/vbd.rb +65 -0
- data/lib/fog/xenserver/compute/models/vbd_metrics.rb +23 -0
- data/lib/fog/xenserver/compute/models/vbds.rb +11 -0
- data/lib/fog/xenserver/compute/models/vbds_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/vdi.rb +63 -0
- data/lib/fog/xenserver/compute/models/vdis.rb +11 -0
- data/lib/fog/xenserver/compute/models/vif.rb +50 -0
- data/lib/fog/xenserver/compute/models/vif_metrics.rb +23 -0
- data/lib/fog/xenserver/compute/models/vifs.rb +11 -0
- data/lib/fog/xenserver/compute/models/vifs_metrics.rb +11 -0
- data/lib/fog/xenserver/compute/models/vlan.rb +26 -0
- data/lib/fog/xenserver/compute/models/vlans.rb +11 -0
- data/lib/fog/xenserver/compute/models/vmpp.rb +39 -0
- data/lib/fog/xenserver/compute/models/vmpps.rb +11 -0
- data/lib/fog/xenserver/compute/models/vtpm.rb +22 -0
- data/lib/fog/xenserver/compute/models/vtpms.rb +11 -0
- data/lib/fog/xenserver/compute/real.rb +60 -0
- data/lib/fog/xenserver/compute/requests/add_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/add_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/add_to_vcpus_params_live_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/apply_edition_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/apply_edition_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/assert_agile_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/assert_attachable_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/assert_can_be_recovered_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/assert_can_boot_here_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/assert_can_evacuate_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/assert_can_host_ha_statefile_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/assert_can_migrate_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/assert_operation_valid_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/assert_supports_database_replication_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/backup_rrds_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/bugreport_upload_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/builtin_templates.rb +15 -0
- data/lib/fog/xenserver/compute/requests/call_plugin_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/certificate_install_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/certificate_list_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/certificate_sync_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/certificate_uninstall_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/checkpoint_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/clean_reboot_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/clean_shutdown_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/clone_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/clone_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/compute_free_memory_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/compute_memory_overhead_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/compute_memory_overhead_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/copy_bios_strings_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/copy_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/copy_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_network.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_new_blob_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_new_blob_network.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_new_blob_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_new_blob_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/create_new_blob_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_pbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/create_sr.rb +14 -0
- data/lib/fog/xenserver/compute/requests/create_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_vlan.rb +12 -0
- data/lib/fog/xenserver/compute/requests/create_vlan_from_pif_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/create_vlan_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/crl_install_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/crl_list_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/crl_uninstall_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/custom_templates.rb +15 -0
- data/lib/fog/xenserver/compute/requests/db_forget_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/db_forget_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/db_introduce_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/db_introduce_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/declare_dead_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/designate_new_master_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/destroy_record.rb +11 -0
- data/lib/fog/xenserver/compute/requests/detect_nonhomogeneous_external_auth_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_database_replication_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_external_auth_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_external_auth_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_ha_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_local_storage_caching_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_local_storage_caching_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/disable_redo_log_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/dmesg_clear_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/dmesg_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/eject_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/eject_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/emergency_ha_disable_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/emergency_reset_master_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/emergency_transition_to_master_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_database_replication_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_external_auth_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_external_auth_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_ha_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_local_storage_caching_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_local_storage_caching_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/enable_redo_log_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/evacuate_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/forget_data_source_archives_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/forget_data_source_archives_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/forget_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/forget_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/forget_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/from_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_allowed_vbd_devices_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_allowed_vif_devices_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_boot_record_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_current_id_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_data_sources_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_data_sources_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_license_state_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_log_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_management_interface_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_possible_hosts_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_record.rb +23 -0
- data/lib/fog/xenserver/compute/requests/get_records.rb +13 -0
- data/lib/fog/xenserver/compute/requests/get_server_certificate_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_server_localtime_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_servertime_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_supported_types_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_system_status_capabilities_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/get_vms_which_prevent_evacuation_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/ha_compute_vm_failover_plan_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/ha_failover_plan_exists_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/ha_prevent_restarts_for_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/hard_reboot_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/hard_shutdown_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/import_convert_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/inject_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/insert_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/introduce_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/introduce_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/introduce_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/join_force_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/join_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/list_methods_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/local_management_reconfigure_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/management_disable_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/management_reconfigure_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/maximise_memory_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/migrate_receive_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/migrate_send_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/next_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/open_database_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/pause_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/plug_pbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/plug_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/plug_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/plug_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/pool_migrate_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/pool_migrate_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/power_on_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/power_state_reset_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/probe_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/provision_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/query_data_source_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/query_data_source_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/query_services_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/read_database_pool_uuid_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/reboot_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/reboot_server.rb +25 -0
- data/lib/fog/xenserver/compute/requests/reconfigure_ip_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/reconfigure_ipv6_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/record_data_source_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/record_data_source_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/recover_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/recover_slaves_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/refresh_pack_info_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/register_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/remove_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/remove_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/reset_cpu_features_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/resize_online_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/resize_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/restart_agent_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/resume_on_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/resume_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/revert_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/revert_to_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/scan_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/scan_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/send_debug_keys_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/send_sysrq_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/send_test_post_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/send_trigger_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_affinity_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_allow_caching_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_appliance_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_attribute.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_cpu_features_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_default_locking_mode_network.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_device_config_pbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_ha_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_ha_restart_priority_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_hostname_live_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_hvm_shadow_multiplier_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_is_a_snapshot_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_locking_mode_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_managed_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_memory_dynamic_max_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_dynamic_min_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_dynamic_range_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_limits_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_static_max_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_static_min_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_memory_static_range_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_metadata_of_pool_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_missing_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_name_description_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_name_description_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_name_label_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_name_label_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_on_boot_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_order_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_physical_size_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_physical_utilisation_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_physical_utilisation_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_power_on_mode_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_primary_address_type_pif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_protection_policy_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_read_only_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_shadow_multiplier_live_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_sharable_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_shared_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_shutdown_delay_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_snapshot_of_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_snapshot_time_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_start_delay_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_suspend_vdi_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_vcpus_at_startup_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_vcpus_max_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_vcpus_number_live_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/set_virtual_allocation_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_virtual_size_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/set_vswitch_controller_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/shutdown_agent_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/shutdown_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/shutdown_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/snapshot_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/snapshot_vdi.rb +11 -0
- data/lib/fog/xenserver/compute/requests/snapshot_with_quiesce_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/snapshots.rb +15 -0
- data/lib/fog/xenserver/compute/requests/start_on_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/start_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/suspend_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/sync_data_host.rb +11 -0
- data/lib/fog/xenserver/compute/requests/sync_database_pool.rb +11 -0
- data/lib/fog/xenserver/compute/requests/templates.rb +15 -0
- data/lib/fog/xenserver/compute/requests/unpause_server.rb +13 -0
- data/lib/fog/xenserver/compute/requests/unplug_force_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/unplug_pbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/unplug_vbd.rb +11 -0
- data/lib/fog/xenserver/compute/requests/unplug_vif.rb +11 -0
- data/lib/fog/xenserver/compute/requests/unregister_event.rb +11 -0
- data/lib/fog/xenserver/compute/requests/update_sr.rb +11 -0
- data/lib/fog/xenserver/compute/requests/update_vdi.rb +11 -0
- data/lib/fog/xenserver/connection.rb +72 -0
- data/lib/fog/{xen_server → xenserver}/invalid_login.rb +0 -0
- data/lib/fog/{xen_server → xenserver}/nokogiri_stream_parser.rb +0 -0
- data/lib/fog/{xen_server → xenserver}/not_found.rb +0 -0
- data/lib/fog/xenserver/parsers.rb +8 -0
- data/lib/fog/xenserver/parsers/base.rb +37 -0
- data/lib/fog/xenserver/parsers/get_records.rb +16 -0
- data/lib/fog/{xen_server → xenserver}/request_failed.rb +0 -0
- data/lib/fog/xenserver/version.rb +1 -1
- data/spec/fog/xenserver/compute/models/blob_spec.rb +63 -0
- data/spec/fog/xenserver/compute/models/blobs_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/bond_spec.rb +63 -0
- data/spec/fog/xenserver/compute/models/bonds_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/console_spec.rb +57 -0
- data/spec/fog/xenserver/compute/models/consoles_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/crash_dump_spec.rb +56 -0
- data/spec/fog/xenserver/compute/models/crash_dumps_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/dr_task_spec.rb +51 -0
- data/spec/fog/xenserver/compute/models/dr_tasks_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/event_spec.rb +56 -0
- data/spec/fog/xenserver/compute/models/events_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/gpu_group_spec.rb +65 -0
- data/spec/fog/xenserver/compute/models/gpu_groups_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/guest_metrics_spec.rb +71 -0
- data/spec/fog/xenserver/compute/models/guests_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/host_cpu_spec.rb +73 -0
- data/spec/fog/xenserver/compute/models/host_cpus_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/host_crash_dump_spec.rb +57 -0
- data/spec/fog/xenserver/compute/models/host_crash_dumps_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/host_metrics_spec.rb +72 -0
- data/spec/fog/xenserver/compute/models/host_patch_spec.rb +68 -0
- data/spec/fog/xenserver/compute/models/host_patchs_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/host_spec.rb +231 -0
- data/spec/fog/xenserver/compute/models/hosts_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/hosts_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/network_spec.rb +79 -0
- data/spec/fog/xenserver/compute/models/networks_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pbd_spec.rb +67 -0
- data/spec/fog/xenserver/compute/models/pbds_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pci_spec.rb +61 -0
- data/spec/fog/xenserver/compute/models/pcis_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pgpu_spec.rb +58 -0
- data/spec/fog/xenserver/compute/models/pgpus_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pif_metrics_spec.rb +74 -0
- data/spec/fog/xenserver/compute/models/pif_spec.rb +118 -0
- data/spec/fog/xenserver/compute/models/pifs_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pifs_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pool_patch_spec.rb +66 -0
- data/spec/fog/xenserver/compute/models/pool_patchs_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/pool_spec.rb +106 -0
- data/spec/fog/xenserver/compute/models/pools_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/role_spec.rb +56 -0
- data/spec/fog/xenserver/compute/models/roles_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/server_appliance_spec.rb +61 -0
- data/spec/fog/xenserver/compute/models/server_appliances_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/server_metrics_spec.rb +76 -0
- data/spec/fog/xenserver/compute/models/server_spec.rb +554 -0
- data/spec/fog/xenserver/compute/models/servers_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/servers_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/storage_manager_spec.rb +75 -0
- data/spec/fog/xenserver/compute/models/storage_managers_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/storage_repositories_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/storage_repository_spec.rb +92 -0
- data/spec/fog/xenserver/compute/models/tunnel_spec.rb +57 -0
- data/spec/fog/xenserver/compute/models/tunnels_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vbd_metrics_spec.rb +70 -0
- data/spec/fog/xenserver/compute/models/vbd_spec.rb +194 -0
- data/spec/fog/xenserver/compute/models/vbds_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vbds_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vdi_spec.rb +162 -0
- data/spec/fog/xenserver/compute/models/vdis_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vif_metrics_spec.rb +58 -0
- data/spec/fog/xenserver/compute/models/vif_spec.rb +141 -0
- data/spec/fog/xenserver/compute/models/vifs_metrics_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vifs_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vlan_spec.rb +58 -0
- data/spec/fog/xenserver/compute/models/vlans_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vmpp_spec.rb +89 -0
- data/spec/fog/xenserver/compute/models/vmpps_spec.rb +9 -0
- data/spec/fog/xenserver/compute/models/vtpm_spec.rb +53 -0
- data/spec/fog/xenserver/compute/models/vtpms_spec.rb +9 -0
- data/spec/fog/xenserver/compute/requests/builtin_templates_spec.rb +20 -0
- data/spec/fog/xenserver/compute/requests/clone_server_spec.rb +38 -0
- data/spec/fog/xenserver/compute/requests/create_network_spec.rb +26 -0
- data/spec/fog/xenserver/compute/requests/create_server_spec.rb +32 -0
- data/spec/fog/xenserver/compute/requests/create_vbd_spec.rb +47 -0
- data/spec/fog/xenserver/compute/requests/create_vdi_spec.rb +29 -0
- data/spec/fog/xenserver/compute/requests/create_vif_spec.rb +48 -0
- data/spec/fog/xenserver/compute_spec.rb +13 -0
- data/spec/minitest_helper.rb +3 -0
- metadata +512 -504
- data/lib/fog/compute/xen_server.rb +0 -365
- data/lib/fog/compute/xen_server/mock.rb +0 -31
- data/lib/fog/compute/xen_server/models.rb +0 -84
- data/lib/fog/compute/xen_server/models/blob.rb +0 -25
- data/lib/fog/compute/xen_server/models/blobs.rb +0 -11
- data/lib/fog/compute/xen_server/models/bond.rb +0 -27
- data/lib/fog/compute/xen_server/models/bonds.rb +0 -11
- data/lib/fog/compute/xen_server/models/class_methods.rb +0 -24
- data/lib/fog/compute/xen_server/models/collection.rb +0 -45
- data/lib/fog/compute/xen_server/models/console.rb +0 -24
- data/lib/fog/compute/xen_server/models/consoles.rb +0 -11
- data/lib/fog/compute/xen_server/models/crash_dump.rb +0 -23
- data/lib/fog/compute/xen_server/models/crash_dumps.rb +0 -11
- data/lib/fog/compute/xen_server/models/dr_task.rb +0 -21
- data/lib/fog/compute/xen_server/models/dr_tasks.rb +0 -11
- data/lib/fog/compute/xen_server/models/event.rb +0 -32
- data/lib/fog/compute/xen_server/models/events.rb +0 -11
- data/lib/fog/compute/xen_server/models/gpu_group.rb +0 -26
- data/lib/fog/compute/xen_server/models/gpu_groups.rb +0 -11
- data/lib/fog/compute/xen_server/models/guest_metrics.rb +0 -29
- data/lib/fog/compute/xen_server/models/guests_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/host.rb +0 -92
- data/lib/fog/compute/xen_server/models/host_cpu.rb +0 -32
- data/lib/fog/compute/xen_server/models/host_cpus.rb +0 -11
- data/lib/fog/compute/xen_server/models/host_crash_dump.rb +0 -24
- data/lib/fog/compute/xen_server/models/host_crash_dumps.rb +0 -11
- data/lib/fog/compute/xen_server/models/host_metrics.rb +0 -24
- data/lib/fog/compute/xen_server/models/host_patch.rb +0 -29
- data/lib/fog/compute/xen_server/models/host_patchs.rb +0 -11
- data/lib/fog/compute/xen_server/models/hosts.rb +0 -11
- data/lib/fog/compute/xen_server/models/hosts_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/instance_methods.rb +0 -54
- data/lib/fog/compute/xen_server/models/model.rb +0 -12
- data/lib/fog/compute/xen_server/models/network.rb +0 -34
- data/lib/fog/compute/xen_server/models/networks.rb +0 -11
- data/lib/fog/compute/xen_server/models/pbd.rb +0 -27
- data/lib/fog/compute/xen_server/models/pbds.rb +0 -11
- data/lib/fog/compute/xen_server/models/pci.rb +0 -26
- data/lib/fog/compute/xen_server/models/pcis.rb +0 -11
- data/lib/fog/compute/xen_server/models/pgpu.rb +0 -24
- data/lib/fog/compute/xen_server/models/pgpus.rb +0 -11
- data/lib/fog/compute/xen_server/models/pif.rb +0 -60
- data/lib/fog/compute/xen_server/models/pif_metrics.rb +0 -31
- data/lib/fog/compute/xen_server/models/pifs.rb +0 -11
- data/lib/fog/compute/xen_server/models/pifs_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/pool.rb +0 -65
- data/lib/fog/compute/xen_server/models/pool_patch.rb +0 -28
- data/lib/fog/compute/xen_server/models/pool_patchs.rb +0 -11
- data/lib/fog/compute/xen_server/models/pools.rb +0 -11
- data/lib/fog/compute/xen_server/models/role.rb +0 -23
- data/lib/fog/compute/xen_server/models/roles.rb +0 -11
- data/lib/fog/compute/xen_server/models/server.rb +0 -171
- data/lib/fog/compute/xen_server/models/server_appliance.rb +0 -25
- data/lib/fog/compute/xen_server/models/server_appliances.rb +0 -11
- data/lib/fog/compute/xen_server/models/server_metrics.rb +0 -30
- data/lib/fog/compute/xen_server/models/servers.rb +0 -38
- data/lib/fog/compute/xen_server/models/servers_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/storage_manager.rb +0 -31
- data/lib/fog/compute/xen_server/models/storage_managers.rb +0 -11
- data/lib/fog/compute/xen_server/models/storage_repositories.rb +0 -11
- data/lib/fog/compute/xen_server/models/storage_repository.rb +0 -50
- data/lib/fog/compute/xen_server/models/tunnel.rb +0 -24
- data/lib/fog/compute/xen_server/models/tunnels.rb +0 -11
- data/lib/fog/compute/xen_server/models/vbd.rb +0 -65
- data/lib/fog/compute/xen_server/models/vbd_metrics.rb +0 -23
- data/lib/fog/compute/xen_server/models/vbds.rb +0 -11
- data/lib/fog/compute/xen_server/models/vbds_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/vdi.rb +0 -63
- data/lib/fog/compute/xen_server/models/vdis.rb +0 -11
- data/lib/fog/compute/xen_server/models/vif.rb +0 -50
- data/lib/fog/compute/xen_server/models/vif_metrics.rb +0 -23
- data/lib/fog/compute/xen_server/models/vifs.rb +0 -11
- data/lib/fog/compute/xen_server/models/vifs_metrics.rb +0 -11
- data/lib/fog/compute/xen_server/models/vlan.rb +0 -26
- data/lib/fog/compute/xen_server/models/vlans.rb +0 -11
- data/lib/fog/compute/xen_server/models/vmpp.rb +0 -39
- data/lib/fog/compute/xen_server/models/vmpps.rb +0 -11
- data/lib/fog/compute/xen_server/models/vtpm.rb +0 -22
- data/lib/fog/compute/xen_server/models/vtpms.rb +0 -11
- data/lib/fog/compute/xen_server/real.rb +0 -50
- data/lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/apply_edition_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/apply_edition_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/assert_agile_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/backup_rrds_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/bugreport_upload_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/builtin_templates.rb +0 -15
- data/lib/fog/compute/xen_server/requests/call_plugin_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/certificate_install_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/certificate_list_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/certificate_sync_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/checkpoint_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/clean_reboot_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/clean_shutdown_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/clone_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/clone_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/compute_free_memory_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/copy_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/copy_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_network.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_new_blob_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_new_blob_network.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_new_blob_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_new_blob_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/create_new_blob_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_pbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/create_sr.rb +0 -14
- data/lib/fog/compute/xen_server/requests/create_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_vlan.rb +0 -12
- data/lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/create_vlan_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/crl_install_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/crl_list_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/custom_templates.rb +0 -15
- data/lib/fog/compute/xen_server/requests/db_forget_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/db_forget_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/db_introduce_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/db_introduce_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/declare_dead_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/designate_new_master_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/destroy_record.rb +0 -11
- data/lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_external_auth_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_ha_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/dmesg_clear_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/dmesg_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/eject_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/eject_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_external_auth_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_ha_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/evacuate_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/forget_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/forget_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/forget_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/from_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_boot_record_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_current_id_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_data_sources_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_data_sources_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_license_state_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_log_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_management_interface_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_record.rb +0 -23
- data/lib/fog/compute/xen_server/requests/get_records.rb +0 -13
- data/lib/fog/compute/xen_server/requests/get_server_certificate_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_server_localtime_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_servertime_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_supported_types_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/hard_reboot_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/hard_shutdown_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/import_convert_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/inject_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/insert_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/introduce_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/introduce_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/introduce_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/join_force_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/join_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/list_methods_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/management_disable_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/management_reconfigure_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/maximise_memory_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/migrate_receive_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/migrate_send_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/next_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/open_database_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/pause_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/plug_pbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/plug_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/plug_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/plug_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/pool_migrate_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/power_on_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/power_state_reset_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/probe_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/provision_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/query_data_source_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/query_data_source_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/query_services_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/reboot_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/reboot_server.rb +0 -25
- data/lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/record_data_source_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/record_data_source_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/recover_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/recover_slaves_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/register_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/resize_online_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/resize_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/restart_agent_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/resume_on_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/resume_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/revert_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/revert_to_server.rb +0 -18
- data/lib/fog/compute/xen_server/requests/scan_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/scan_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/send_debug_keys_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/send_sysrq_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/send_test_post_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/send_trigger_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_affinity_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_appliance_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_attribute.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_cpu_features_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_device_config_pbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_hostname_live_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_managed_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_limits_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_missing_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_name_description_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_name_description_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_name_label_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_name_label_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_order_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_physical_size_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_protection_policy_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_read_only_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_sharable_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_shared_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_start_delay_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/shutdown_agent_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/shutdown_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/shutdown_server.rb +0 -14
- data/lib/fog/compute/xen_server/requests/snapshot_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/snapshot_vdi.rb +0 -11
- data/lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/snapshots.rb +0 -15
- data/lib/fog/compute/xen_server/requests/start_on_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/start_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/suspend_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/sync_data_host.rb +0 -11
- data/lib/fog/compute/xen_server/requests/sync_database_pool.rb +0 -11
- data/lib/fog/compute/xen_server/requests/templates.rb +0 -15
- data/lib/fog/compute/xen_server/requests/unpause_server.rb +0 -13
- data/lib/fog/compute/xen_server/requests/unplug_force_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/unplug_pbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/unplug_vbd.rb +0 -11
- data/lib/fog/compute/xen_server/requests/unplug_vif.rb +0 -11
- data/lib/fog/compute/xen_server/requests/unregister_event.rb +0 -11
- data/lib/fog/compute/xen_server/requests/update_sr.rb +0 -11
- data/lib/fog/compute/xen_server/requests/update_vdi.rb +0 -11
- data/lib/fog/parsers/xen_server.rb +0 -8
- data/lib/fog/parsers/xen_server/base.rb +0 -34
- data/lib/fog/parsers/xen_server/get_records.rb +0 -16
- data/lib/fog/utilities.rb +0 -8
- data/lib/fog/xen_server/connection.rb +0 -49
- data/spec/cassettes/sync_database_pool.yml +0 -129
- data/spec/fog/compute/xen_server/models/blob_spec.rb +0 -63
- data/spec/fog/compute/xen_server/models/blobs_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/bond_spec.rb +0 -63
- data/spec/fog/compute/xen_server/models/bonds_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/console_spec.rb +0 -57
- data/spec/fog/compute/xen_server/models/consoles_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/crash_dump_spec.rb +0 -56
- data/spec/fog/compute/xen_server/models/crash_dumps_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/dr_task_spec.rb +0 -51
- data/spec/fog/compute/xen_server/models/dr_tasks_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/event_spec.rb +0 -56
- data/spec/fog/compute/xen_server/models/events_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/gpu_group_spec.rb +0 -65
- data/spec/fog/compute/xen_server/models/gpu_groups_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/guest_metrics_spec.rb +0 -71
- data/spec/fog/compute/xen_server/models/guests_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/host_cpu_spec.rb +0 -73
- data/spec/fog/compute/xen_server/models/host_cpus_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/host_crash_dump_spec.rb +0 -57
- data/spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/host_metrics_spec.rb +0 -72
- data/spec/fog/compute/xen_server/models/host_patch_spec.rb +0 -68
- data/spec/fog/compute/xen_server/models/host_patchs_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/host_spec.rb +0 -231
- data/spec/fog/compute/xen_server/models/hosts_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/hosts_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/network_spec.rb +0 -79
- data/spec/fog/compute/xen_server/models/networks_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pbd_spec.rb +0 -67
- data/spec/fog/compute/xen_server/models/pbds_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pci_spec.rb +0 -61
- data/spec/fog/compute/xen_server/models/pcis_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pgpu_spec.rb +0 -58
- data/spec/fog/compute/xen_server/models/pgpus_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pif_metrics_spec.rb +0 -74
- data/spec/fog/compute/xen_server/models/pif_spec.rb +0 -118
- data/spec/fog/compute/xen_server/models/pifs_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pifs_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pool_patch_spec.rb +0 -66
- data/spec/fog/compute/xen_server/models/pool_patchs_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/pool_spec.rb +0 -106
- data/spec/fog/compute/xen_server/models/pools_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/role_spec.rb +0 -56
- data/spec/fog/compute/xen_server/models/roles_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/server_appliance_spec.rb +0 -61
- data/spec/fog/compute/xen_server/models/server_appliances_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/server_metrics_spec.rb +0 -76
- data/spec/fog/compute/xen_server/models/server_spec.rb +0 -554
- data/spec/fog/compute/xen_server/models/servers_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/servers_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/storage_manager_spec.rb +0 -75
- data/spec/fog/compute/xen_server/models/storage_managers_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/storage_repositories_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/storage_repository_spec.rb +0 -92
- data/spec/fog/compute/xen_server/models/tunnel_spec.rb +0 -57
- data/spec/fog/compute/xen_server/models/tunnels_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vbd_metrics_spec.rb +0 -70
- data/spec/fog/compute/xen_server/models/vbd_spec.rb +0 -194
- data/spec/fog/compute/xen_server/models/vbds_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vbds_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vdi_spec.rb +0 -162
- data/spec/fog/compute/xen_server/models/vdis_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vif_metrics_spec.rb +0 -58
- data/spec/fog/compute/xen_server/models/vif_spec.rb +0 -141
- data/spec/fog/compute/xen_server/models/vifs_metrics_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vifs_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vlan_spec.rb +0 -58
- data/spec/fog/compute/xen_server/models/vlans_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vmpp_spec.rb +0 -89
- data/spec/fog/compute/xen_server/models/vmpps_spec.rb +0 -9
- data/spec/fog/compute/xen_server/models/vtpm_spec.rb +0 -53
- data/spec/fog/compute/xen_server/models/vtpms_spec.rb +0 -9
- data/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb +0 -18
- data/spec/fog/compute/xen_server/requests/clone_server_spec.rb +0 -36
- data/spec/fog/compute/xen_server/requests/create_network_spec.rb +0 -24
- data/spec/fog/compute/xen_server/requests/create_server_spec.rb +0 -30
- data/spec/fog/compute/xen_server/requests/create_vbd_spec.rb +0 -45
- data/spec/fog/compute/xen_server/requests/create_vdi_spec.rb +0 -27
- data/spec/fog/compute/xen_server/requests/create_vif_spec.rb +0 -46
- data/spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb +0 -16
- data/spec/fog/compute/xen_server_spec.rb +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3984458b3b82cefdff48ad369bde8885dcfc7296
|
4
|
+
data.tar.gz: 4e42f6c7b96aa9c49105dd599e7b85eacc253b07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b140777c4fe8ba1644ef588aa0dc80c4ffafb4645fffb8dbc7ae560bfae823b2b42699b70bc044d062c0ed855808b3696c7d7071592f61f00ad1e59dc16f467c
|
7
|
+
data.tar.gz: c316834085176a04bb8858ec4c17aad0dc30502e55412a0aa6fa508c43757fb8faa96da4e619ddc7f6db8565c0f3befd909da8e3dfea74d7b69508f35b429980
|
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
fog-xenserver
|
1
|
+
fog-xenserver
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.3
|
data/.travis.yml
CHANGED
@@ -1,26 +1,9 @@
|
|
1
|
-
before_install:
|
2
|
-
- gem install bundler
|
3
|
-
|
4
1
|
matrix:
|
5
2
|
include:
|
6
|
-
- rvm:
|
7
|
-
|
8
|
-
- rvm:
|
9
|
-
|
10
|
-
- rvm:
|
11
|
-
|
12
|
-
- rvm: 2.0.0
|
13
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
14
|
-
- rvm: 2.1.10
|
15
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
16
|
-
- rvm: 2.2.6
|
17
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
18
|
-
- rvm: 2.3.3
|
19
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
20
|
-
- rvm: 2.4.0
|
21
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
3
|
+
- rvm: 2.0
|
4
|
+
- rvm: 2.1
|
5
|
+
- rvm: 2.2
|
6
|
+
- rvm: 2.3
|
7
|
+
- rvm: 2.4
|
8
|
+
- rvm: 2.5
|
22
9
|
env: COVERAGE=true
|
23
|
-
- rvm: ree
|
24
|
-
gemfile: gemfiles/Gemfile.1.9.2-
|
25
|
-
- rvm: jruby
|
26
|
-
gemfile: gemfiles/Gemfile.1.9.2+
|
data/fog-xenserver.gemspec
CHANGED
@@ -22,21 +22,17 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = %w(lib)
|
24
24
|
|
25
|
+
spec.required_ruby_version = '>= 2.0'
|
26
|
+
|
25
27
|
spec.add_dependency 'fog-xml'
|
26
28
|
spec.add_dependency 'fog-core'
|
27
29
|
spec.add_dependency 'xmlrpc' if RUBY_VERSION =~ /^2\.[^0-3].*$/
|
28
30
|
|
29
31
|
spec.add_development_dependency 'coveralls'
|
30
|
-
spec.add_development_dependency 'json' if RUBY_VERSION =~ /^1\.8.*$/
|
31
32
|
spec.add_development_dependency 'minitest'
|
32
33
|
spec.add_development_dependency 'rake'
|
33
|
-
spec.add_development_dependency '
|
34
|
+
spec.add_development_dependency 'jazz_fingers'
|
34
35
|
spec.add_development_dependency 'turn'
|
35
36
|
spec.add_development_dependency 'webmock'
|
36
|
-
|
37
|
-
if RUBY_VERSION =~ /^1\.(8.*|9.[0-2])$/
|
38
|
-
spec.add_development_dependency 'vcr', '< 3.0.0'
|
39
|
-
else
|
40
|
-
spec.add_development_dependency 'vcr'
|
41
|
-
end
|
37
|
+
spec.add_development_dependency 'vcr'
|
42
38
|
end
|
data/lib/fog/bin/xenserver.rb
CHANGED
data/lib/fog/xenserver.rb
CHANGED
@@ -1,25 +1,18 @@
|
|
1
1
|
require "fog/core"
|
2
2
|
require "fog/xml"
|
3
|
-
require File.expand_path("../utilities", __FILE__)
|
4
3
|
|
5
4
|
module Fog
|
6
5
|
module XenServer
|
7
|
-
autoload :
|
8
|
-
autoload :
|
9
|
-
autoload :
|
10
|
-
autoload :
|
11
|
-
autoload :
|
6
|
+
autoload :Compute, File.expand_path("../xenserver/compute", __FILE__)
|
7
|
+
autoload :Connection, File.expand_path("../xenserver/connection", __FILE__)
|
8
|
+
autoload :InvalidLogin, File.expand_path("../xenserver/invalid_login", __FILE__)
|
9
|
+
autoload :NokogiriStreamParser, File.expand_path("../xenserver/nokogiri_stream_parser", __FILE__)
|
10
|
+
autoload :NotFound, File.expand_path("../xenserver/not_found", __FILE__)
|
11
|
+
autoload :Parsers, File.expand_path("../xenserver/parsers", __FILE__)
|
12
|
+
autoload :RequestFailed, File.expand_path("../xenserver/request_failed", __FILE__)
|
12
13
|
|
13
14
|
extend Fog::Provider
|
14
15
|
|
15
16
|
service(:compute, "Compute")
|
16
17
|
end
|
17
|
-
|
18
|
-
module Compute
|
19
|
-
autoload :XenServer, File.expand_path("../compute/xen_server", __FILE__)
|
20
|
-
end
|
21
|
-
|
22
|
-
module Parsers
|
23
|
-
autoload :XenServer, File.expand_path("../parsers/xen_server", __FILE__)
|
24
|
-
end
|
25
18
|
end
|
@@ -1 +1,368 @@
|
|
1
|
-
|
1
|
+
require "fog/core"
|
2
|
+
|
3
|
+
module Fog
|
4
|
+
module XenServer
|
5
|
+
class Compute < Fog::Service
|
6
|
+
autoload :Models, File.expand_path("../compute/models", __FILE__)
|
7
|
+
autoload :Real, File.expand_path("../compute/real", __FILE__)
|
8
|
+
autoload :Mock, File.expand_path("../compute/mock", __FILE__)
|
9
|
+
|
10
|
+
requires :xenserver_username
|
11
|
+
requires :xenserver_password
|
12
|
+
requires :xenserver_url
|
13
|
+
recognizes :xenserver_defaults
|
14
|
+
recognizes :xenserver_timeout
|
15
|
+
recognizes :xenserver_use_ssl
|
16
|
+
recognizes :xenserver_verify_mode
|
17
|
+
recognizes :xenserver_port
|
18
|
+
|
19
|
+
model_path "fog/xenserver/compute/models"
|
20
|
+
model :blob
|
21
|
+
collection :blobs
|
22
|
+
model :bond
|
23
|
+
collection :bonds
|
24
|
+
model :console
|
25
|
+
collection :consoles
|
26
|
+
model :crash_dump
|
27
|
+
collection :crash_dumps
|
28
|
+
model :dr_task
|
29
|
+
collection :dr_tasks
|
30
|
+
model :event
|
31
|
+
collection :events
|
32
|
+
model :gpu_group
|
33
|
+
collection :gpu_groups
|
34
|
+
model :guest_metrics
|
35
|
+
collection :guests_metrics
|
36
|
+
model :host
|
37
|
+
collection :hosts
|
38
|
+
model :host_cpu
|
39
|
+
collection :host_cpus
|
40
|
+
model :host_crash_dump
|
41
|
+
collection :host_crash_dumps
|
42
|
+
model :host_metrics
|
43
|
+
collection :hosts_metrics
|
44
|
+
model :host_patch
|
45
|
+
collection :host_patchs
|
46
|
+
model :network
|
47
|
+
collection :networks
|
48
|
+
model :pbd
|
49
|
+
collection :pbds
|
50
|
+
model :pci
|
51
|
+
collection :pcis
|
52
|
+
model :pgpu
|
53
|
+
collection :pgpus
|
54
|
+
model :pif
|
55
|
+
collection :pifs
|
56
|
+
model :pif_metrics
|
57
|
+
collection :pifs_metrics
|
58
|
+
model :pool
|
59
|
+
collection :pools
|
60
|
+
model :pool_patch
|
61
|
+
collection :pool_patchs
|
62
|
+
model :role
|
63
|
+
collection :roles
|
64
|
+
model :server
|
65
|
+
collection :servers
|
66
|
+
model :server_appliance
|
67
|
+
collection :server_appliances
|
68
|
+
model :server_metrics
|
69
|
+
collection :servers_metrics
|
70
|
+
model :storage_manager
|
71
|
+
collection :storage_managers
|
72
|
+
model :storage_repository
|
73
|
+
collection :storage_repositories
|
74
|
+
model :tunnel
|
75
|
+
collection :tunnels
|
76
|
+
model :vbd
|
77
|
+
collection :vbds
|
78
|
+
model :vbd_metrics
|
79
|
+
collection :vbds_metrics
|
80
|
+
model :vdi
|
81
|
+
collection :vdis
|
82
|
+
model :vif
|
83
|
+
collection :vifs
|
84
|
+
model :vif_metrics
|
85
|
+
collection :vifs_metrics
|
86
|
+
model :vlan
|
87
|
+
collection :vlans
|
88
|
+
model :vmpp
|
89
|
+
collection :vmpps
|
90
|
+
model :vtpm
|
91
|
+
collection :vtpms
|
92
|
+
|
93
|
+
request_path "fog/xenserver/compute/requests"
|
94
|
+
|
95
|
+
# event
|
96
|
+
request :from_event
|
97
|
+
request :get_current_id_event
|
98
|
+
request :inject_event
|
99
|
+
request :next_event
|
100
|
+
request :register_event
|
101
|
+
request :unregister_event
|
102
|
+
|
103
|
+
# host
|
104
|
+
request :apply_edition_host
|
105
|
+
request :assert_can_evacuate_host
|
106
|
+
request :backup_rrds_host
|
107
|
+
request :bugreport_upload_host
|
108
|
+
request :call_plugin_host
|
109
|
+
request :compute_free_memory_host
|
110
|
+
request :compute_memory_overhead_host
|
111
|
+
request :create_new_blob_host
|
112
|
+
request :declare_dead_host
|
113
|
+
request :disable_external_auth_host
|
114
|
+
request :disable_host
|
115
|
+
request :disable_local_storage_caching_host
|
116
|
+
request :dmesg_clear_host
|
117
|
+
request :dmesg_host
|
118
|
+
request :emergency_ha_disable_host
|
119
|
+
request :enable_external_auth_host
|
120
|
+
request :enable_host
|
121
|
+
request :enable_local_storage_caching_host
|
122
|
+
request :evacuate_host
|
123
|
+
request :forget_data_source_archives_host
|
124
|
+
request :get_data_sources_host
|
125
|
+
request :get_log_host
|
126
|
+
request :get_management_interface_host
|
127
|
+
request :get_server_certificate_host
|
128
|
+
request :get_server_localtime_host
|
129
|
+
request :get_servertime_host
|
130
|
+
request :get_system_status_capabilities_host
|
131
|
+
request :get_vms_which_prevent_evacuation_host
|
132
|
+
request :list_methods_host
|
133
|
+
request :local_management_reconfigure_host
|
134
|
+
request :management_disable_host
|
135
|
+
request :management_reconfigure_host
|
136
|
+
request :migrate_receive_host
|
137
|
+
request :power_on_host
|
138
|
+
request :query_data_source_host
|
139
|
+
request :reboot_host
|
140
|
+
request :record_data_source_host
|
141
|
+
request :refresh_pack_info_host
|
142
|
+
request :reset_cpu_features_host
|
143
|
+
request :restart_agent_host
|
144
|
+
request :send_debug_keys_host
|
145
|
+
request :set_cpu_features_host
|
146
|
+
request :set_hostname_live_host
|
147
|
+
request :set_power_on_mode_host
|
148
|
+
request :shutdown_agent_host
|
149
|
+
request :shutdown_host
|
150
|
+
request :sync_data_host
|
151
|
+
|
152
|
+
# network
|
153
|
+
request :create_network
|
154
|
+
request :create_new_blob_network
|
155
|
+
request :set_default_locking_mode_network
|
156
|
+
|
157
|
+
# PBD
|
158
|
+
request :create_pbd
|
159
|
+
request :plug_pbd
|
160
|
+
request :set_device_config_pbd
|
161
|
+
request :unplug_pbd
|
162
|
+
|
163
|
+
# PIF
|
164
|
+
request :db_forget_pif
|
165
|
+
request :db_introduce_pif
|
166
|
+
request :forget_pif
|
167
|
+
request :introduce_pif
|
168
|
+
request :plug_pif
|
169
|
+
request :reconfigure_ip_pif
|
170
|
+
request :reconfigure_ipv6_pif
|
171
|
+
request :scan_pif
|
172
|
+
request :set_primary_address_type_pif
|
173
|
+
|
174
|
+
# pool
|
175
|
+
request :apply_edition_pool
|
176
|
+
request :certificate_install_pool
|
177
|
+
request :certificate_list_pool
|
178
|
+
request :certificate_sync_pool
|
179
|
+
request :certificate_uninstall_pool
|
180
|
+
request :create_new_blob_pool
|
181
|
+
request :create_vlan_from_pif_pool
|
182
|
+
request :create_vlan_pool
|
183
|
+
request :crl_install_pool
|
184
|
+
request :crl_list_pool
|
185
|
+
request :crl_uninstall_pool
|
186
|
+
request :designate_new_master_pool
|
187
|
+
request :detect_nonhomogeneous_external_auth_pool
|
188
|
+
request :disable_external_auth_pool
|
189
|
+
request :disable_ha_pool
|
190
|
+
request :disable_local_storage_caching_pool
|
191
|
+
request :disable_redo_log_pool
|
192
|
+
request :eject_pool
|
193
|
+
request :emergency_reset_master_pool
|
194
|
+
request :emergency_transition_to_master_pool
|
195
|
+
request :enable_external_auth_pool
|
196
|
+
request :enable_ha_pool
|
197
|
+
request :enable_local_storage_caching_pool
|
198
|
+
request :enable_redo_log_pool
|
199
|
+
request :get_license_state_pool
|
200
|
+
request :ha_compute_hypothetical_max_host_failures_to_tolerate_pool
|
201
|
+
request :ha_compute_max_host_failures_to_tolerate_pool
|
202
|
+
request :ha_compute_vm_failover_plan_pool
|
203
|
+
request :ha_failover_plan_exists_pool
|
204
|
+
request :ha_prevent_restarts_for_pool
|
205
|
+
request :join_force_pool
|
206
|
+
request :join_pool
|
207
|
+
request :recover_slaves_pool
|
208
|
+
request :send_test_post_pool
|
209
|
+
request :set_ha_host_failures_to_tolerate_pool
|
210
|
+
request :set_vswitch_controller_pool
|
211
|
+
request :sync_database_pool
|
212
|
+
|
213
|
+
# VBD
|
214
|
+
request :assert_attachable_vbd
|
215
|
+
request :create_vbd
|
216
|
+
request :eject_vbd
|
217
|
+
request :insert_vbd
|
218
|
+
request :plug_vbd
|
219
|
+
request :unplug_force_vbd
|
220
|
+
request :unplug_vbd
|
221
|
+
|
222
|
+
# VDI
|
223
|
+
request :clone_vdi
|
224
|
+
request :copy_vdi
|
225
|
+
request :create_vdi
|
226
|
+
request :db_forget_vdi
|
227
|
+
request :db_introduce_vdi
|
228
|
+
request :forget_vdi
|
229
|
+
request :introduce_vdi
|
230
|
+
request :open_database_vdi
|
231
|
+
request :pool_migrate_vdi
|
232
|
+
request :read_database_pool_uuid_vdi
|
233
|
+
request :resize_online_vdi
|
234
|
+
request :resize_vdi
|
235
|
+
request :set_allow_caching_vdi
|
236
|
+
request :set_is_a_snapshot_vdi
|
237
|
+
request :set_managed_vdi
|
238
|
+
request :set_metadata_of_pool_vdi
|
239
|
+
request :set_missing_vdi
|
240
|
+
request :set_name_description_vdi
|
241
|
+
request :set_name_label_vdi
|
242
|
+
request :set_on_boot_vdi
|
243
|
+
request :set_physical_utilisation_vdi
|
244
|
+
request :set_read_only_vdi
|
245
|
+
request :set_sharable_vdi
|
246
|
+
request :set_snapshot_of_vdi
|
247
|
+
request :set_snapshot_time_vdi
|
248
|
+
request :set_virtual_size_vdi
|
249
|
+
request :snapshot_vdi
|
250
|
+
request :update_vdi
|
251
|
+
|
252
|
+
# VIF
|
253
|
+
request :add_ipv4_allowed_vif
|
254
|
+
request :add_ipv6_allowed_vif
|
255
|
+
request :create_vif
|
256
|
+
request :plug_vif
|
257
|
+
request :remove_ipv4_allowed_vif
|
258
|
+
request :remove_ipv6_allowed_vif
|
259
|
+
request :set_ipv4_allowed_vif
|
260
|
+
request :set_ipv6_allowed_vif
|
261
|
+
request :set_locking_mode_vif
|
262
|
+
request :unplug_vif
|
263
|
+
|
264
|
+
# VM
|
265
|
+
request :add_to_vcpus_params_live_server
|
266
|
+
request :assert_agile_server
|
267
|
+
request :assert_can_be_recovered_server
|
268
|
+
request :assert_can_boot_here_server
|
269
|
+
request :assert_can_migrate_server
|
270
|
+
request :assert_operation_valid_server
|
271
|
+
request :checkpoint_server
|
272
|
+
request :clean_reboot_server
|
273
|
+
request :clean_shutdown_server
|
274
|
+
request :clone_server
|
275
|
+
request :compute_memory_overhead_server
|
276
|
+
request :copy_bios_strings_server
|
277
|
+
request :copy_server
|
278
|
+
request :create_new_blob_server
|
279
|
+
request :create_server
|
280
|
+
request :forget_data_source_archives_server
|
281
|
+
request :get_allowed_vbd_devices_server
|
282
|
+
request :get_allowed_vif_devices_server
|
283
|
+
request :get_boot_record_server
|
284
|
+
request :get_data_sources_server
|
285
|
+
request :get_possible_hosts_server
|
286
|
+
request :hard_reboot_server
|
287
|
+
request :hard_shutdown_server
|
288
|
+
request :import_convert_server
|
289
|
+
request :maximise_memory_server
|
290
|
+
request :migrate_send_server
|
291
|
+
request :pause_server
|
292
|
+
request :pool_migrate_server
|
293
|
+
request :power_state_reset_server
|
294
|
+
request :provision_server
|
295
|
+
request :query_data_source_server
|
296
|
+
request :query_services_server
|
297
|
+
request :record_data_source_server
|
298
|
+
request :recover_server
|
299
|
+
request :resume_on_server
|
300
|
+
request :resume_server
|
301
|
+
request :revert_server
|
302
|
+
request :send_sysrq_server
|
303
|
+
request :send_trigger_server
|
304
|
+
request :set_affinity_server
|
305
|
+
request :set_appliance_server
|
306
|
+
request :set_ha_restart_priority_server
|
307
|
+
request :set_hvm_shadow_multiplier_server
|
308
|
+
request :set_memory_dynamic_max_server
|
309
|
+
request :set_memory_dynamic_min_server
|
310
|
+
request :set_memory_dynamic_range_server
|
311
|
+
request :set_memory_limits_server
|
312
|
+
request :set_memory_static_max_server
|
313
|
+
request :set_memory_static_min_server
|
314
|
+
request :set_memory_static_range_server
|
315
|
+
request :set_order_server
|
316
|
+
request :set_protection_policy_server
|
317
|
+
request :set_shadow_multiplier_live_server
|
318
|
+
request :set_shutdown_delay_server
|
319
|
+
request :set_start_delay_server
|
320
|
+
request :set_suspend_vdi_server
|
321
|
+
request :set_vcpus_at_startup_server
|
322
|
+
request :set_vcpus_max_server
|
323
|
+
request :set_vcpus_number_live_server
|
324
|
+
request :shutdown_server
|
325
|
+
request :snapshot_server
|
326
|
+
request :snapshot_with_quiesce_server
|
327
|
+
request :start_on_server
|
328
|
+
request :start_server
|
329
|
+
request :suspend_server
|
330
|
+
request :unpause_server
|
331
|
+
|
332
|
+
# SR
|
333
|
+
request :assert_can_host_ha_statefile_sr
|
334
|
+
request :assert_supports_database_replication_sr
|
335
|
+
request :create_new_blob_sr
|
336
|
+
request :create_sr
|
337
|
+
request :disable_database_replication_sr
|
338
|
+
request :enable_database_replication_sr
|
339
|
+
request :forget_sr
|
340
|
+
request :get_supported_types_sr
|
341
|
+
request :introduce_sr
|
342
|
+
request :probe_sr
|
343
|
+
request :scan_sr
|
344
|
+
request :set_name_description_sr
|
345
|
+
request :set_name_label_sr
|
346
|
+
request :set_physical_size_sr
|
347
|
+
request :set_physical_utilisation_sr
|
348
|
+
request :set_shared_sr
|
349
|
+
request :set_virtual_allocation_sr
|
350
|
+
request :update_sr
|
351
|
+
|
352
|
+
# Other
|
353
|
+
request :builtin_templates
|
354
|
+
request :create_vlan
|
355
|
+
request :custom_templates
|
356
|
+
request :destroy_record
|
357
|
+
request :get_record
|
358
|
+
request :get_records
|
359
|
+
request :set_attribute
|
360
|
+
request :snapshots
|
361
|
+
request :templates
|
362
|
+
|
363
|
+
def self.const_missing(name)
|
364
|
+
Models.const_get(name)
|
365
|
+
end
|
366
|
+
end
|
367
|
+
end
|
368
|
+
end
|