fog-xenserver 0.0.1.beta1 → 0.0.1.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/.hound.yml +14 -15
- data/.travis.yml +5 -7
- data/CONTRIBUTORS.md +2 -1
- data/Gemfile +1 -1
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/fog-xenserver.gemspec +5 -2
- data/gemfiles/Gemfile.1.9.2+ +1 -1
- data/gemfiles/{Gemfile.1.8.7 → Gemfile.1.9.2-} +1 -1
- data/lib/fog/compute/xen_server.rb +284 -59
- data/lib/fog/compute/xen_server/mock.rb +4 -0
- data/lib/fog/compute/xen_server/models.rb +4 -0
- data/lib/fog/compute/xen_server/models/blob.rb +2 -1
- data/lib/fog/compute/xen_server/models/blobs.rb +1 -1
- data/lib/fog/compute/xen_server/models/bond.rb +5 -4
- data/lib/fog/compute/xen_server/models/bonds.rb +1 -1
- data/lib/fog/compute/xen_server/models/class_methods.rb +24 -0
- data/lib/fog/compute/xen_server/models/collection.rb +45 -0
- data/lib/fog/compute/xen_server/models/console.rb +3 -2
- data/lib/fog/compute/xen_server/models/consoles.rb +1 -1
- data/lib/fog/compute/xen_server/models/crash_dump.rb +4 -3
- data/lib/fog/compute/xen_server/models/crash_dumps.rb +1 -1
- data/lib/fog/compute/xen_server/models/dr_task.rb +3 -2
- data/lib/fog/compute/xen_server/models/dr_tasks.rb +1 -1
- data/lib/fog/compute/xen_server/models/gpu_group.rb +5 -4
- data/lib/fog/compute/xen_server/models/gpu_groups.rb +1 -1
- data/lib/fog/compute/xen_server/models/guest_metrics.rb +4 -3
- data/lib/fog/compute/xen_server/models/guests_metrics.rb +1 -1
- data/lib/fog/compute/xen_server/models/host.rb +23 -65
- data/lib/fog/compute/xen_server/models/host_cpu.rb +4 -3
- data/lib/fog/compute/xen_server/models/host_cpus.rb +1 -1
- data/lib/fog/compute/xen_server/models/host_crash_dump.rb +3 -2
- data/lib/fog/compute/xen_server/models/host_crash_dumps.rb +1 -1
- data/lib/fog/compute/xen_server/models/host_metrics.rb +3 -7
- data/lib/fog/compute/xen_server/models/host_patch.rb +4 -3
- data/lib/fog/compute/xen_server/models/host_patchs.rb +1 -1
- data/lib/fog/compute/xen_server/models/hosts.rb +1 -1
- data/lib/fog/compute/xen_server/models/hosts_metrics.rb +1 -1
- data/lib/fog/compute/xen_server/models/instance_methods.rb +54 -0
- data/lib/fog/compute/xen_server/models/model.rb +12 -0
- data/lib/fog/compute/xen_server/models/network.rb +9 -40
- data/lib/fog/compute/xen_server/models/networks.rb +1 -1
- data/lib/fog/compute/xen_server/models/pbd.rb +4 -7
- data/lib/fog/compute/xen_server/models/pbds.rb +1 -1
- data/lib/fog/compute/xen_server/models/pci.rb +4 -3
- data/lib/fog/compute/xen_server/models/pcis.rb +1 -1
- data/lib/fog/compute/xen_server/models/pgpu.rb +5 -4
- data/lib/fog/compute/xen_server/models/pgpus.rb +1 -1
- data/lib/fog/compute/xen_server/models/pif.rb +27 -16
- data/lib/fog/compute/xen_server/models/pif_metrics.rb +2 -1
- data/lib/fog/compute/xen_server/models/pifs.rb +1 -1
- data/lib/fog/compute/xen_server/models/pifs_metrics.rb +4 -2
- data/lib/fog/compute/xen_server/models/pool.rb +24 -6
- data/lib/fog/compute/xen_server/models/pool_patch.rb +3 -2
- data/lib/fog/compute/xen_server/models/pool_patchs.rb +1 -1
- data/lib/fog/compute/xen_server/models/pools.rb +1 -1
- data/lib/fog/compute/xen_server/models/role.rb +3 -2
- data/lib/fog/compute/xen_server/models/roles.rb +2 -2
- data/lib/fog/compute/xen_server/models/server.rb +89 -118
- data/lib/fog/compute/xen_server/models/server_appliance.rb +3 -2
- data/lib/fog/compute/xen_server/models/server_appliances.rb +1 -1
- data/lib/fog/compute/xen_server/models/server_metrics.rb +7 -6
- data/lib/fog/compute/xen_server/models/servers.rb +4 -4
- data/lib/fog/compute/xen_server/models/servers_metrics.rb +1 -1
- data/lib/fog/compute/xen_server/models/storage_manager.rb +2 -1
- data/lib/fog/compute/xen_server/models/storage_managers.rb +1 -1
- data/lib/fog/compute/xen_server/models/storage_repositories.rb +1 -1
- data/lib/fog/compute/xen_server/models/storage_repository.rb +17 -44
- data/lib/fog/compute/xen_server/models/tunnel.rb +4 -3
- data/lib/fog/compute/xen_server/models/tunnels.rb +1 -1
- data/lib/fog/compute/xen_server/models/vbd.rb +29 -28
- data/lib/fog/compute/xen_server/models/vbd_metrics.rb +3 -7
- data/lib/fog/compute/xen_server/models/vbds.rb +1 -1
- data/lib/fog/compute/xen_server/models/vbds_metrics.rb +1 -1
- data/lib/fog/compute/xen_server/models/vdi.rb +22 -34
- data/lib/fog/compute/xen_server/models/vdis.rb +1 -1
- data/lib/fog/compute/xen_server/models/vif.rb +17 -20
- data/lib/fog/compute/xen_server/models/vif_metrics.rb +2 -1
- data/lib/fog/compute/xen_server/models/vifs.rb +1 -1
- data/lib/fog/compute/xen_server/models/vifs_metrics.rb +1 -1
- data/lib/fog/compute/xen_server/models/vlan.rb +5 -44
- data/lib/fog/compute/xen_server/models/vlans.rb +1 -1
- data/lib/fog/compute/xen_server/models/vmpp.rb +3 -2
- data/lib/fog/compute/xen_server/models/vmpps.rb +1 -1
- data/lib/fog/compute/xen_server/models/vtpm.rb +4 -3
- data/lib/fog/compute/xen_server/models/vtpms.rb +1 -1
- data/lib/fog/compute/xen_server/real.rb +11 -1
- data/lib/fog/compute/xen_server/requests/add_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/add_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/add_to_vcpus_params_live_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/apply_edition_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/apply_edition_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/assert_agile_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/assert_attachable_vbd.rb +11 -0
- data/lib/fog/compute/xen_server/requests/assert_can_be_recovered_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/assert_can_boot_here_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/assert_can_evacuate_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/assert_can_host_ha_statefile_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/assert_can_migrate_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/assert_operation_valid_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/assert_supports_database_replication_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/backup_rrds_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/bugreport_upload_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/builtin_templates.rb +1 -7
- data/lib/fog/compute/xen_server/requests/call_plugin_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/certificate_install_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/certificate_list_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/certificate_sync_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/certificate_uninstall_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/checkpoint_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/clean_reboot_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/clean_shutdown_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/clone_server.rb +4 -18
- data/lib/fog/compute/xen_server/requests/clone_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/compute_free_memory_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/compute_memory_overhead_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/copy_bios_strings_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/copy_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/copy_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_network.rb +2 -28
- data/lib/fog/compute/xen_server/requests/create_new_blob_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_new_blob_network.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_new_blob_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_new_blob_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/create_new_blob_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_server.rb +3 -107
- data/lib/fog/compute/xen_server/requests/create_sr.rb +5 -57
- data/lib/fog/compute/xen_server/requests/create_vbd.rb +2 -26
- data/lib/fog/compute/xen_server/requests/create_vdi.rb +2 -19
- data/lib/fog/compute/xen_server/requests/create_vif.rb +2 -43
- data/lib/fog/compute/xen_server/requests/create_vlan.rb +3 -21
- data/lib/fog/compute/xen_server/requests/create_vlan_from_pif_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/create_vlan_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/crl_install_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/crl_list_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/crl_uninstall_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/custom_templates.rb +0 -6
- data/lib/fog/compute/xen_server/requests/db_forget_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/db_forget_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/db_introduce_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/db_introduce_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/declare_dead_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/designate_new_master_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/destroy_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/destroy_record.rb +11 -0
- data/lib/fog/compute/xen_server/requests/destroy_sr.rb +3 -17
- data/lib/fog/compute/xen_server/requests/detect_nonhomogeneous_external_auth_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_database_replication_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_external_auth_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_external_auth_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_ha_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_host.rb +4 -16
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_local_storage_caching_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/disable_redo_log_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/dmesg_clear_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/dmesg_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/eject_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/eject_vbd.rb +3 -9
- data/lib/fog/compute/xen_server/requests/emergency_ha_disable_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/emergency_reset_master_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/emergency_transition_to_master_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_database_replication_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_external_auth_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_external_auth_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_ha_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_host.rb +4 -15
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_local_storage_caching_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/enable_redo_log_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/evacuate_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/forget_data_source_archives_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/forget_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/forget_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/forget_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_allowed_vbd_devices_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/get_allowed_vif_devices_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/get_boot_record_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/get_data_sources_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_data_sources_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/get_license_state_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_log_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_management_interface_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_possible_hosts_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/get_record.rb +4 -22
- data/lib/fog/compute/xen_server/requests/get_records.rb +5 -14
- data/lib/fog/compute/xen_server/requests/get_server_certificate_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_server_localtime_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_servertime_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_supported_types_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_system_status_capabilities_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/get_vms_which_prevent_evacuation_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/ha_compute_hypothetical_max_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/ha_compute_max_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/ha_compute_vm_failover_plan_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/ha_failover_plan_exists_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/ha_prevent_restarts_for_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/hard_reboot_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/hard_shutdown_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/import_convert_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/insert_vbd.rb +3 -9
- data/lib/fog/compute/xen_server/requests/introduce_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/introduce_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/introduce_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/join_force_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/join_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/list_methods_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/local_management_reconfigure_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/management_disable_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/management_reconfigure_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/maximise_memory_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/migrate_receive_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/migrate_send_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/open_database_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/pause_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/plug_pbd.rb +11 -0
- data/lib/fog/compute/xen_server/requests/plug_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/plug_vbd.rb +11 -0
- data/lib/fog/compute/xen_server/requests/plug_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/pool_migrate_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/pool_migrate_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/power_on_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/power_state_reset_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/probe_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/provision_server.rb +4 -8
- data/lib/fog/compute/xen_server/requests/query_data_source_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/query_data_source_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/query_services_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/read_database_pool_uuid_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/reboot_host.rb +3 -9
- data/lib/fog/compute/xen_server/requests/reboot_server.rb +13 -5
- data/lib/fog/compute/xen_server/requests/reconfigure_ip_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/reconfigure_ipv6_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/record_data_source_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/record_data_source_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/recover_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/recover_slaves_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/refresh_pack_info_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/remove_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/remove_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/reset_cpu_features_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/resize_online_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/resize_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/restart_agent_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/resume_on_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/resume_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/revert_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/revert_to_server.rb +18 -0
- data/lib/fog/compute/xen_server/requests/scan_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/scan_sr.rb +3 -9
- data/lib/fog/compute/xen_server/requests/send_debug_keys_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/send_sysrq_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/send_test_post_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/send_trigger_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_affinity.rb +1 -7
- data/lib/fog/compute/xen_server/requests/set_allow_caching_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_appliance_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_attribute.rb +1 -7
- data/lib/fog/compute/xen_server/requests/set_cpu_features_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_default_locking_mode_network.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_device_config_pbd.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_ha_host_failures_to_tolerate_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_ha_restart_priority_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_hostname_live_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_hvm_shadow_multiplier_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_ipv4_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_ipv6_allowed_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_is_a_snapshot_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_locking_mode_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_managed_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_max_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_min_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_dynamic_range_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_limits_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_static_max_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_static_min_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_memory_static_range_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_metadata_of_pool_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_missing_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_name_description_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_name_description_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_name_label_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_name_label_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_on_boot_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_order_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_physical_size_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_physical_utilisation_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_power_on_mode_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_primary_address_type_pif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_protection_policy_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_read_only_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_shadow_multiplier_live_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_sharable_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_shared_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_shutdown_delay_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_snapshot_of_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_snapshot_time_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_start_delay_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_suspend_vdi_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_vcpus_at_startup_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_vcpus_max_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_vcpus_number_live_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/set_virtual_allocation_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_virtual_size_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/set_vswitch_controller_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/shutdown_agent_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/shutdown_host.rb +3 -9
- data/lib/fog/compute/xen_server/requests/shutdown_server.rb +5 -8
- data/lib/fog/compute/xen_server/requests/snapshot_server.rb +4 -8
- data/lib/fog/compute/xen_server/requests/snapshot_vdi.rb +11 -0
- data/lib/fog/compute/xen_server/requests/snapshot_with_quiesce_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/snapshots.rb +15 -0
- data/lib/fog/compute/xen_server/requests/start_on_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/start_server.rb +4 -8
- data/lib/fog/compute/xen_server/requests/suspend_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/sync_data_host.rb +11 -0
- data/lib/fog/compute/xen_server/requests/sync_database_pool.rb +11 -0
- data/lib/fog/compute/xen_server/requests/templates.rb +0 -6
- data/lib/fog/compute/xen_server/requests/unpause_server.rb +13 -0
- data/lib/fog/compute/xen_server/requests/unplug_force_vbd.rb +11 -0
- data/lib/fog/compute/xen_server/requests/unplug_pbd.rb +3 -12
- data/lib/fog/compute/xen_server/requests/unplug_vbd.rb +3 -17
- data/lib/fog/compute/xen_server/requests/unplug_vif.rb +11 -0
- data/lib/fog/compute/xen_server/requests/update_sr.rb +11 -0
- data/lib/fog/compute/xen_server/requests/update_vdi.rb +11 -0
- data/lib/fog/parsers/xen_server.rb +0 -7
- data/lib/fog/xen_server/connection.rb +1 -0
- data/lib/fog/xen_server/version.rb +1 -1
- data/lib/fog/xenserver.rb +0 -2
- data/spec/cassettes/builtin_templates.yml +48 -0
- data/spec/cassettes/clone_server.yml +130 -0
- data/spec/cassettes/create_network.yml +87 -0
- data/spec/cassettes/create_server_create_vm.yml +144 -0
- data/spec/cassettes/create_server_get_all_hosts.yml +59 -0
- data/spec/cassettes/create_server_open_connection.yml +45 -0
- data/spec/cassettes/create_vbd_create_vbd.yml +173 -0
- data/spec/cassettes/create_vbd_create_vdi.yml +132 -0
- data/spec/cassettes/create_vbd_create_vm.yml +144 -0
- data/spec/cassettes/create_vbd_get_all_hosts.yml +59 -0
- data/spec/cassettes/create_vbd_get_storage_repository.yml +89 -0
- data/spec/cassettes/create_vbd_open_connection.yml +45 -0
- data/spec/cassettes/create_vdi.yml +132 -0
- data/spec/cassettes/create_vif_create_vif.yml +173 -0
- data/spec/cassettes/create_vif_get_network_by_name.yml +88 -0
- data/spec/cassettes/create_vif_open_connection.yml +45 -0
- data/spec/cassettes/create_vif_vif_set_device_number.yml +89 -0
- data/spec/cassettes/get_all_hosts.yml +73 -0
- data/spec/cassettes/get_network_by_name.yml +88 -0
- data/spec/cassettes/get_storage_repository.yml +89 -0
- data/spec/cassettes/get_vm_by_name.yml +130 -0
- data/spec/cassettes/open_connection.yml +45 -0
- data/spec/cassettes/sync_database_pool.yml +129 -0
- data/spec/cassettes/vif_set_device_number.yml +342 -0
- data/spec/fog/compute/xen_server/models/blob_spec.rb +63 -0
- data/spec/fog/compute/xen_server/models/blobs_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/bond_spec.rb +63 -0
- data/spec/fog/compute/xen_server/models/bonds_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/console_spec.rb +57 -0
- data/spec/fog/compute/xen_server/models/consoles_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/crash_dump_spec.rb +56 -0
- data/spec/fog/compute/xen_server/models/crash_dumps_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/dr_task_spec.rb +51 -0
- data/spec/fog/compute/xen_server/models/dr_tasks_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/gpu_group_spec.rb +65 -0
- data/spec/fog/compute/xen_server/models/gpu_groups_spec.rb +9 -0
- data/{test/fog/compute/xen_server/models/guest_metrics_test.rb → spec/fog/compute/xen_server/models/guest_metrics_spec.rb} +32 -5
- data/spec/fog/compute/xen_server/models/guests_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/host_cpu_spec.rb +73 -0
- data/spec/fog/compute/xen_server/models/host_cpus_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/host_crash_dump_spec.rb +57 -0
- data/spec/fog/compute/xen_server/models/host_crash_dumps_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/host_metrics_spec.rb +72 -0
- data/spec/fog/compute/xen_server/models/host_patch_spec.rb +68 -0
- data/spec/fog/compute/xen_server/models/host_patchs_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/host_spec.rb +231 -0
- data/spec/fog/compute/xen_server/models/hosts_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/hosts_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/network_spec.rb +79 -0
- data/spec/fog/compute/xen_server/models/networks_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pbd_spec.rb +67 -0
- data/spec/fog/compute/xen_server/models/pbds_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pci_spec.rb +61 -0
- data/spec/fog/compute/xen_server/models/pcis_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pgpu_spec.rb +58 -0
- data/spec/fog/compute/xen_server/models/pgpus_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pif_metrics_spec.rb +74 -0
- data/spec/fog/compute/xen_server/models/pif_spec.rb +118 -0
- data/spec/fog/compute/xen_server/models/pifs_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pifs_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pool_patch_spec.rb +66 -0
- data/spec/fog/compute/xen_server/models/pool_patchs_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/pool_spec.rb +106 -0
- data/spec/fog/compute/xen_server/models/pools_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/role_spec.rb +56 -0
- data/spec/fog/compute/xen_server/models/roles_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/server_appliance_spec.rb +61 -0
- data/spec/fog/compute/xen_server/models/server_appliances_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/server_metrics_spec.rb +76 -0
- data/spec/fog/compute/xen_server/models/server_spec.rb +554 -0
- data/spec/fog/compute/xen_server/models/servers_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/servers_spec.rb +9 -0
- data/{test/fog/compute/xen_server/models/storage_manger_test.rb → spec/fog/compute/xen_server/models/storage_manager_spec.rb} +34 -5
- data/spec/fog/compute/xen_server/models/storage_managers_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/storage_repositories_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/storage_repository_spec.rb +92 -0
- data/spec/fog/compute/xen_server/models/tunnel_spec.rb +57 -0
- data/spec/fog/compute/xen_server/models/tunnels_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vbd_metrics_spec.rb +70 -0
- data/spec/fog/compute/xen_server/models/vbd_spec.rb +194 -0
- data/spec/fog/compute/xen_server/models/vbds_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vbds_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vdi_spec.rb +162 -0
- data/spec/fog/compute/xen_server/models/vdis_spec.rb +9 -0
- data/{test/fog/compute/xen_server/models/vif_metrics_test.rb → spec/fog/compute/xen_server/models/vif_metrics_spec.rb} +26 -5
- data/spec/fog/compute/xen_server/models/vif_spec.rb +141 -0
- data/spec/fog/compute/xen_server/models/vifs_metrics_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vifs_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vlan_spec.rb +58 -0
- data/spec/fog/compute/xen_server/models/vlans_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vmpp_spec.rb +89 -0
- data/spec/fog/compute/xen_server/models/vmpps_spec.rb +9 -0
- data/spec/fog/compute/xen_server/models/vtpm_spec.rb +53 -0
- data/spec/fog/compute/xen_server/models/vtpms_spec.rb +9 -0
- data/spec/fog/compute/xen_server/requests/builtin_templates_spec.rb +18 -0
- data/spec/fog/compute/xen_server/requests/clone_server_spec.rb +36 -0
- data/spec/fog/compute/xen_server/requests/create_network_spec.rb +24 -0
- data/spec/fog/compute/xen_server/requests/create_server_spec.rb +30 -0
- data/spec/fog/compute/xen_server/requests/create_vbd_spec.rb +45 -0
- data/spec/fog/compute/xen_server/requests/create_vdi_spec.rb +27 -0
- data/spec/fog/compute/xen_server/requests/create_vif_spec.rb +46 -0
- data/spec/fog/compute/xen_server/requests/sync_database_pool_spec.rb +16 -0
- data/spec/fog/compute/xen_server_spec.rb +13 -0
- data/{test → spec}/minitest_helper.rb +17 -5
- metadata +470 -94
- data/lib/fog.rb +0 -3
- data/lib/fog/collection.rb +0 -37
- data/lib/fog/compute/xen_server/requests/destroy_network.rb +0 -28
- data/lib/fog/compute/xen_server/requests/destroy_server.rb +0 -17
- data/lib/fog/compute/xen_server/requests/destroy_vdi.rb +0 -17
- data/lib/fog/compute/xen_server/requests/destroy_vif.rb +0 -17
- data/lib/fog/compute/xen_server/requests/destroy_vlan.rb +0 -27
- data/lib/fog/compute/xen_server/requests/snapshot_revert.rb +0 -17
- data/lib/fog/compute/xen_server/requests/start_vm.rb +0 -19
- data/lib/fog/model.rb +0 -48
- data/lib/fog/parsers/xen_server/get_hosts.rb +0 -16
- data/lib/fog/parsers/xen_server/get_networks.rb +0 -16
- data/lib/fog/parsers/xen_server/get_pools.rb +0 -16
- data/lib/fog/parsers/xen_server/get_storage_repositories.rb +0 -16
- data/lib/fog/parsers/xen_server/get_vbds.rb +0 -16
- data/lib/fog/parsers/xen_server/get_vifs.rb +0 -16
- data/lib/fog/parsers/xen_server/get_vms.rb +0 -16
- data/test/fog/compute/xen_server/models/blob_test.rb +0 -40
- data/test/fog/compute/xen_server/models/bond_test.rb +0 -42
- data/test/fog/compute/xen_server/models/console_test.rb +0 -38
- data/test/fog/compute/xen_server/models/crash_dump_test.rb +0 -39
- data/test/fog/compute/xen_server/models/dr_task_test.rb +0 -35
- data/test/fog/compute/xen_server/models/gpu_group_test.rb +0 -45
- data/test/fog/compute/xen_server/models/host_cpu_test.rb +0 -46
- data/test/fog/compute/xen_server/models/host_crash_dump_test.rb +0 -37
- data/test/fog/compute/xen_server/models/host_metrics_test.rb +0 -38
- data/test/fog/compute/xen_server/models/host_patch_test.rb +0 -45
- data/test/fog/compute/xen_server/models/host_test.rb +0 -102
- data/test/fog/compute/xen_server/models/network_test.rb +0 -51
- data/test/fog/compute/xen_server/models/pbd_test.rb +0 -40
- data/test/fog/compute/xen_server/models/pci_test.rb +0 -40
- data/test/fog/compute/xen_server/models/pgpu_test.rb +0 -41
- data/test/fog/compute/xen_server/models/pif_metrics_test.rb +0 -45
- data/test/fog/compute/xen_server/models/pif_test.rb +0 -81
- data/test/fog/compute/xen_server/models/pool_patch_test.rb +0 -43
- data/test/fog/compute/xen_server/models/pool_test.rb +0 -69
- data/test/fog/compute/xen_server/models/role_test.rb +0 -38
- data/test/fog/compute/xen_server/models/server_appliance_test.rb +0 -41
- data/test/fog/compute/xen_server/models/server_metrics_test.rb +0 -48
- data/test/fog/compute/xen_server/models/server_test.rb +0 -149
- data/test/fog/compute/xen_server/models/storage_repository_test.rb +0 -56
- data/test/fog/compute/xen_server/models/tunnel_test.rb +0 -40
- data/test/fog/compute/xen_server/models/vbd_metrics_test.rb +0 -37
- data/test/fog/compute/xen_server/models/vbd_test.rb +0 -58
- data/test/fog/compute/xen_server/models/vdi_test.rb +0 -71
- data/test/fog/compute/xen_server/models/vif_test.rb +0 -59
- data/test/fog/compute/xen_server/models/vlan_test.rb +0 -40
- data/test/fog/compute/xen_server/models/vmpp_test.rb +0 -55
- data/test/fog/compute/xen_server/models/vtpm_test.rb +0 -36
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00528fd2671d3e74396109054b70b76214ef488f
|
4
|
+
data.tar.gz: 1660b45edf1ebadee104715df25070cf9382b23f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b375c833031bfc6a36cb09e2bee8b16a35d61e5191f205c0eb9136d466adb19289210aa45bf848e54b0fa004a4402ea8f4e56f2eb8e7de11341c3bc94c61e04e
|
7
|
+
data.tar.gz: f034525b5ea155b83f52969233c30c8b4f999551841885e477639fb96342e1bfd0dfff9b705b20a59a969be87827ce3ef7d7d99210cd0f6877389d9d7c56bddd
|
data/.gitignore
CHANGED
data/.hound.yml
CHANGED
@@ -1,27 +1,26 @@
|
|
1
|
-
|
2
|
-
EnforcedStyle: single_quotes
|
3
|
-
|
4
|
-
Style/InlineComment:
|
1
|
+
MethodCalledOnDoEndBlock:
|
5
2
|
Enabled: true
|
6
3
|
|
7
|
-
|
8
|
-
Enabled:
|
4
|
+
HashSyntax:
|
5
|
+
Enabled: false
|
9
6
|
|
10
|
-
|
11
|
-
|
7
|
+
LineLength:
|
8
|
+
Enabled: false
|
12
9
|
|
13
|
-
|
14
|
-
|
15
|
-
|
10
|
+
SingleSpaceBeforeFirstArg:
|
11
|
+
Enabled: false
|
12
|
+
|
13
|
+
SpaceInsideBrackets:
|
14
|
+
Enabled: false
|
16
15
|
|
17
|
-
|
16
|
+
StringLiterals:
|
18
17
|
Enabled: false
|
19
18
|
|
20
|
-
|
19
|
+
SymbolArray:
|
21
20
|
Enabled: true
|
22
21
|
|
23
|
-
|
22
|
+
TrailingBlankLines:
|
24
23
|
Enabled: false
|
25
24
|
|
26
|
-
|
25
|
+
TrailingWhitespace:
|
27
26
|
Enabled: false
|
data/.travis.yml
CHANGED
@@ -1,19 +1,17 @@
|
|
1
1
|
matrix:
|
2
2
|
include:
|
3
3
|
- rvm: 1.8.7
|
4
|
-
gemfile: gemfiles/Gemfile.1.
|
4
|
+
gemfile: gemfiles/Gemfile.1.9.2-
|
5
5
|
- rvm: 1.9.2
|
6
|
-
gemfile: gemfiles/Gemfile.1.9.2
|
6
|
+
gemfile: gemfiles/Gemfile.1.9.2-
|
7
7
|
- rvm: 1.9.3
|
8
8
|
gemfile: gemfiles/Gemfile.1.9.2+
|
9
9
|
- rvm: 2.0.0
|
10
10
|
gemfile: gemfiles/Gemfile.1.9.2+
|
11
|
-
- rvm: 2.1.
|
11
|
+
- rvm: 2.1.4
|
12
12
|
gemfile: gemfiles/Gemfile.1.9.2+
|
13
|
+
env: COVERAGE=true
|
13
14
|
- rvm: ree
|
14
|
-
gemfile: gemfiles/Gemfile.1.
|
15
|
+
gemfile: gemfiles/Gemfile.1.9.2-
|
15
16
|
- rvm: jruby
|
16
17
|
gemfile: gemfiles/Gemfile.1.9.2+
|
17
|
-
allow_failures:
|
18
|
-
- rvm: 1.8.7
|
19
|
-
- rvm: ree
|
data/CONTRIBUTORS.md
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
* avic85 <avi.cohen.20@gmail.com>
|
2
2
|
* Celso Fernandes <fernandes@zertico.com>
|
3
3
|
* deepj <deepjungle.maca@gmail.com>
|
4
|
+
* georgyous <boss_geo2005@yahoo.com>
|
4
5
|
* Gustavo Villalta <gvillalta99@gmail.com>
|
5
|
-
* Sergio Rubio <sergio.rubio@github.com>
|
6
6
|
* James Herdman <james.herdman@me.com>
|
7
7
|
* Lance Ivy <lance@cainlevy.net>
|
8
8
|
* Matheus Mina <mfbmina@gmail.com>
|
9
9
|
* Oguz Bilgic <fisyonet@gmail.com>
|
10
10
|
* Paul Thornthwaite <tokengeek@gmail.com>
|
11
11
|
* Paulo Henrique Lopes Ribeiro <plribeiro@zertico.com>
|
12
|
+
* Sergio Rubio <sergio.rubio@github.com>
|
12
13
|
* Wesley Beary <geemus@gmail.com>
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Fog::Xenserver
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/fog-xenserver.svg)](http://badge.fury.io/rb/fog-xenserver) [![Build Status](https://travis-ci.org/fog/fog-xenserver.svg)](https://travis-ci.org/fog/fog-xenserver) [![Dependency Status](https://gemnasium.com/fog/fog-xenserver.svg)](https://gemnasium.com/fog/fog-xenserver) [![Coverage Status](https://img.shields.io/coveralls/fog/fog-xenserver.svg)](https://coveralls.io/r/fog/fog-xenserver) [![Code Climate](https://codeclimate.com/github/fog/fog-xenserver.png)](https://codeclimate.com/github/fog/fog-xenserver) [![Stories in Ready](https://badge.waffle.io/fog/fog-xenserver.png?label=ready&title=Ready)](https://waffle.io/fog/fog-xenserver)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/fog-xenserver.svg)](http://badge.fury.io/rb/fog-xenserver) [![Build Status](https://travis-ci.org/fog/fog-xenserver.svg?branch=master)](https://travis-ci.org/fog/fog-xenserver) [![Dependency Status](https://gemnasium.com/fog/fog-xenserver.svg)](https://gemnasium.com/fog/fog-xenserver) [![Coverage Status](https://img.shields.io/coveralls/fog/fog-xenserver.svg)](https://coveralls.io/r/fog/fog-xenserver) [![Code Climate](https://codeclimate.com/github/fog/fog-xenserver.png)](https://codeclimate.com/github/fog/fog-xenserver) [![Stories in Ready](https://badge.waffle.io/fog/fog-xenserver.png?label=ready&title=Ready)](https://waffle.io/fog/fog-xenserver)
|
4
4
|
|
5
5
|
TODO: Write a gem description
|
6
6
|
|
data/Rakefile
CHANGED
data/fog-xenserver.gemspec
CHANGED
@@ -19,10 +19,13 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
20
|
spec.require_paths = %w(lib)
|
21
21
|
|
22
|
-
spec.add_dependency 'fog-core'
|
23
22
|
spec.add_dependency 'fog-xml'
|
23
|
+
spec.add_dependency 'fog-core'
|
24
24
|
spec.add_development_dependency 'rake'
|
25
25
|
spec.add_development_dependency 'minitest'
|
26
26
|
spec.add_development_dependency 'turn'
|
27
|
-
spec.add_development_dependency '
|
27
|
+
spec.add_development_dependency 'pry'
|
28
|
+
spec.add_development_dependency 'vcr'
|
29
|
+
spec.add_development_dependency 'webmock'
|
30
|
+
spec.add_development_dependency 'coveralls' if RUBY_VERSION.to_f >= 1.9
|
28
31
|
end
|
data/gemfiles/Gemfile.1.9.2+
CHANGED
@@ -18,22 +18,40 @@ module Fog
|
|
18
18
|
collection :blobs
|
19
19
|
model :bond
|
20
20
|
collection :bonds
|
21
|
+
model :console
|
22
|
+
collection :consoles
|
21
23
|
model :crash_dump
|
22
24
|
collection :crash_dumps
|
23
25
|
model :dr_task
|
24
26
|
collection :dr_tasks
|
25
27
|
model :gpu_group
|
26
28
|
collection :gpu_groups
|
29
|
+
model :guest_metrics
|
30
|
+
collection :guests_metrics
|
31
|
+
model :host
|
32
|
+
collection :hosts
|
33
|
+
model :host_cpu
|
34
|
+
collection :host_cpus
|
27
35
|
model :host_crash_dump
|
28
36
|
collection :host_crash_dumps
|
37
|
+
model :host_metrics
|
38
|
+
collection :hosts_metrics
|
29
39
|
model :host_patch
|
30
40
|
collection :host_patchs
|
41
|
+
model :network
|
42
|
+
collection :networks
|
43
|
+
model :pbd
|
44
|
+
collection :pbds
|
31
45
|
model :pci
|
32
46
|
collection :pcis
|
33
47
|
model :pgpu
|
34
48
|
collection :pgpus
|
49
|
+
model :pif
|
50
|
+
collection :pifs
|
35
51
|
model :pif_metrics
|
36
52
|
collection :pifs_metrics
|
53
|
+
model :pool
|
54
|
+
collection :pools
|
37
55
|
model :pool_patch
|
38
56
|
collection :pool_patchs
|
39
57
|
model :role
|
@@ -42,87 +60,294 @@ module Fog
|
|
42
60
|
collection :servers
|
43
61
|
model :server_appliance
|
44
62
|
collection :server_appliances
|
63
|
+
model :server_metrics
|
64
|
+
collection :servers_metrics
|
45
65
|
model :storage_manager
|
46
66
|
collection :storage_managers
|
67
|
+
model :storage_repository
|
68
|
+
collection :storage_repositories
|
47
69
|
model :tunnel
|
48
70
|
collection :tunnels
|
49
|
-
model :vmpp
|
50
|
-
collection :vmpps
|
51
|
-
model :vtpm
|
52
|
-
collection :vtpms
|
53
|
-
model :host
|
54
|
-
collection :hosts
|
55
|
-
collection :vifs
|
56
|
-
model :vif
|
57
|
-
collection :storage_repositories
|
58
|
-
model :storage_repository
|
59
|
-
collection :pools
|
60
|
-
model :pool
|
61
|
-
collection :vbds
|
62
71
|
model :vbd
|
63
|
-
collection :
|
64
|
-
model :vdi
|
65
|
-
collection :networks
|
66
|
-
model :network
|
67
|
-
collection :pifs
|
68
|
-
model :pif
|
69
|
-
collection :pbds
|
70
|
-
model :pbd
|
71
|
-
model :guest_metrics
|
72
|
-
collection :guests_metrics
|
73
|
-
model :server_metrics
|
74
|
-
collection :servers_metrics
|
72
|
+
collection :vbds
|
75
73
|
model :vbd_metrics
|
76
74
|
collection :vbds_metrics
|
75
|
+
model :vdi
|
76
|
+
collection :vdis
|
77
|
+
model :vif
|
78
|
+
collection :vifs
|
77
79
|
model :vif_metrics
|
78
80
|
collection :vifs_metrics
|
79
|
-
model :host_metrics
|
80
|
-
collection :hosts_metrics
|
81
|
-
model :host_cpu
|
82
|
-
collection :host_cpus
|
83
81
|
model :vlan
|
84
82
|
collection :vlans
|
85
|
-
model :
|
86
|
-
collection :
|
83
|
+
model :vmpp
|
84
|
+
collection :vmpps
|
85
|
+
model :vtpm
|
86
|
+
collection :vtpms
|
87
87
|
|
88
88
|
request_path 'fog/compute/xen_server/requests'
|
89
|
-
|
89
|
+
# host
|
90
|
+
request :apply_edition_host
|
91
|
+
request :assert_can_evacuate_host
|
92
|
+
request :backup_rrds_host
|
93
|
+
request :bugreport_upload_host
|
94
|
+
request :call_plugin_host
|
95
|
+
request :compute_free_memory_host
|
96
|
+
request :compute_memory_overhead_host
|
97
|
+
request :create_new_blob_host
|
98
|
+
request :declare_dead_host
|
99
|
+
request :destroy_host
|
100
|
+
request :disable_external_auth_host
|
101
|
+
request :disable_host
|
102
|
+
request :disable_local_storage_caching_host
|
103
|
+
request :dmesg_clear_host
|
104
|
+
request :dmesg_host
|
105
|
+
request :emergency_ha_disable_host
|
106
|
+
request :enable_external_auth_host
|
107
|
+
request :enable_host
|
108
|
+
request :enable_local_storage_caching_host
|
109
|
+
request :evacuate_host
|
110
|
+
request :forget_data_source_archives_host
|
111
|
+
request :get_data_sources_host
|
112
|
+
request :get_log_host
|
113
|
+
request :get_management_interface_host
|
114
|
+
request :get_server_certificate_host
|
115
|
+
request :get_server_localtime_host
|
116
|
+
request :get_servertime_host
|
117
|
+
request :get_system_status_capabilities_host
|
118
|
+
request :get_vms_which_prevent_evacuation_host
|
119
|
+
request :list_methods_host
|
120
|
+
request :local_management_reconfigure_host
|
121
|
+
request :management_disable_host
|
122
|
+
request :management_reconfigure_host
|
123
|
+
request :migrate_receive_host
|
124
|
+
request :power_on_host
|
125
|
+
request :query_data_source_host
|
126
|
+
request :reboot_host
|
127
|
+
request :record_data_source_host
|
128
|
+
request :refresh_pack_info_host
|
129
|
+
request :reset_cpu_features_host
|
130
|
+
request :restart_agent_host
|
131
|
+
request :send_debug_keys_host
|
132
|
+
request :set_cpu_features_host
|
133
|
+
request :set_hostname_live_host
|
134
|
+
request :set_power_on_mode_host
|
135
|
+
request :shutdown_agent_host
|
136
|
+
request :shutdown_host
|
137
|
+
request :sync_data_host
|
138
|
+
|
139
|
+
# network
|
140
|
+
request :create_new_blob_network
|
141
|
+
request :set_default_locking_mode_network
|
142
|
+
|
143
|
+
# PBD
|
144
|
+
request :plug_pbd
|
145
|
+
request :set_device_config_pbd
|
146
|
+
request :unplug_pbd
|
147
|
+
|
148
|
+
# PIF
|
149
|
+
request :db_forget_pif
|
150
|
+
request :db_introduce_pif
|
151
|
+
request :forget_pif
|
152
|
+
request :introduce_pif
|
153
|
+
request :plug_pif
|
154
|
+
request :reconfigure_ip_pif
|
155
|
+
request :reconfigure_ipv6_pif
|
156
|
+
request :scan_pif
|
157
|
+
request :set_primary_address_type_pif
|
158
|
+
|
159
|
+
# pool
|
160
|
+
request :apply_edition_pool
|
161
|
+
request :certificate_install_pool
|
162
|
+
request :certificate_list_pool
|
163
|
+
request :certificate_sync_pool
|
164
|
+
request :certificate_uninstall_pool
|
165
|
+
request :create_new_blob_pool
|
166
|
+
request :create_vlan_from_pif_pool
|
167
|
+
request :create_vlan_pool
|
168
|
+
request :crl_install_pool
|
169
|
+
request :crl_list_pool
|
170
|
+
request :crl_uninstall_pool
|
171
|
+
request :designate_new_master_pool
|
172
|
+
request :detect_nonhomogeneous_external_auth_pool
|
173
|
+
request :disable_external_auth_pool
|
174
|
+
request :disable_ha_pool
|
175
|
+
request :disable_local_storage_caching_pool
|
176
|
+
request :disable_redo_log_pool
|
177
|
+
request :eject_pool
|
178
|
+
request :emergency_reset_master_pool
|
179
|
+
request :emergency_transition_to_master_pool
|
180
|
+
request :enable_external_auth_pool
|
181
|
+
request :enable_ha_pool
|
182
|
+
request :enable_local_storage_caching_pool
|
183
|
+
request :enable_redo_log_pool
|
184
|
+
request :get_license_state_pool
|
185
|
+
request :ha_compute_hypothetical_max_host_failures_to_tolerate_pool
|
186
|
+
request :ha_compute_max_host_failures_to_tolerate_pool
|
187
|
+
request :ha_compute_vm_failover_plan_pool
|
188
|
+
request :ha_failover_plan_exists_pool
|
189
|
+
request :ha_prevent_restarts_for_pool
|
190
|
+
request :join_force_pool
|
191
|
+
request :join_pool
|
192
|
+
request :recover_slaves_pool
|
193
|
+
request :send_test_post_pool
|
194
|
+
request :set_ha_host_failures_to_tolerate_pool
|
195
|
+
request :set_vswitch_controller_pool
|
196
|
+
request :sync_database_pool
|
197
|
+
|
198
|
+
# VBD
|
199
|
+
request :assert_attachable_vbd
|
200
|
+
request :eject_vbd
|
201
|
+
request :insert_vbd
|
202
|
+
request :plug_vbd
|
203
|
+
request :unplug_force_vbd
|
204
|
+
request :unplug_vbd
|
205
|
+
|
206
|
+
# VDI
|
207
|
+
request :clone_vdi
|
208
|
+
request :copy_vdi
|
209
|
+
request :db_forget_vdi
|
210
|
+
request :db_introduce_vdi
|
211
|
+
request :forget_vdi
|
212
|
+
request :introduce_vdi
|
213
|
+
request :open_database_vdi
|
214
|
+
request :pool_migrate_vdi
|
215
|
+
request :read_database_pool_uuid_vdi
|
216
|
+
request :resize_online_vdi
|
217
|
+
request :resize_vdi
|
218
|
+
request :set_allow_caching_vdi
|
219
|
+
request :set_is_a_snapshot_vdi
|
220
|
+
request :set_managed_vdi
|
221
|
+
request :set_metadata_of_pool_vdi
|
222
|
+
request :set_missing_vdi
|
223
|
+
request :set_name_description_vdi
|
224
|
+
request :set_name_label_vdi
|
225
|
+
request :set_on_boot_vdi
|
226
|
+
request :set_physical_utilisation_vdi
|
227
|
+
request :set_read_only_vdi
|
228
|
+
request :set_sharable_vdi
|
229
|
+
request :set_snapshot_of_vdi
|
230
|
+
request :set_snapshot_time_vdi
|
231
|
+
request :set_virtual_size_vdi
|
232
|
+
request :snapshot_vdi
|
233
|
+
request :update_vdi
|
234
|
+
|
235
|
+
# VIF
|
236
|
+
request :add_ipv4_allowed_vif
|
237
|
+
request :add_ipv6_allowed_vif
|
238
|
+
request :plug_vif
|
239
|
+
request :remove_ipv4_allowed_vif
|
240
|
+
request :remove_ipv6_allowed_vif
|
241
|
+
request :set_ipv4_allowed_vif
|
242
|
+
request :set_ipv6_allowed_vif
|
243
|
+
request :set_locking_mode_vif
|
244
|
+
request :unplug_vif
|
245
|
+
|
246
|
+
# VM
|
247
|
+
request :add_to_vcpus_params_live_server
|
248
|
+
request :assert_agile_server
|
249
|
+
request :assert_can_be_recovered_server
|
250
|
+
request :assert_can_boot_here_server
|
251
|
+
request :assert_can_migrate_server
|
252
|
+
request :assert_operation_valid_server
|
253
|
+
request :checkpoint_server
|
254
|
+
request :clean_reboot_server
|
255
|
+
request :clean_shutdown_server
|
256
|
+
request :clone_server
|
257
|
+
request :compute_memory_overhead_server
|
258
|
+
request :copy_bios_strings_server
|
259
|
+
request :copy_server
|
260
|
+
request :create_new_blob_server
|
90
261
|
request :create_server
|
262
|
+
request :forget_data_source_archives_server
|
263
|
+
request :get_allowed_vbd_devices_server
|
264
|
+
request :get_allowed_vif_devices_server
|
265
|
+
request :get_boot_record_server
|
266
|
+
request :get_data_sources_server
|
267
|
+
request :get_possible_hosts_server
|
268
|
+
request :hard_reboot_server
|
269
|
+
request :hard_shutdown_server
|
270
|
+
request :import_convert_server
|
271
|
+
request :maximise_memory_server
|
272
|
+
request :migrate_send_server
|
273
|
+
request :pause_server
|
274
|
+
request :pool_migrate_server
|
275
|
+
request :power_state_reset_server
|
276
|
+
request :provision_server
|
277
|
+
request :query_data_source_server
|
278
|
+
request :query_services_server
|
279
|
+
request :record_data_source_server
|
280
|
+
request :recover_server
|
281
|
+
request :resume_on_server
|
282
|
+
request :resume_server
|
283
|
+
request :revert_server
|
284
|
+
request :send_sysrq_server
|
285
|
+
request :send_trigger_server
|
286
|
+
request :set_appliance_server
|
287
|
+
request :set_ha_restart_priority_server
|
288
|
+
request :set_hvm_shadow_multiplier_server
|
289
|
+
request :set_memory_dynamic_max_server
|
290
|
+
request :set_memory_dynamic_min_server
|
291
|
+
request :set_memory_dynamic_range_server
|
292
|
+
request :set_memory_limits_server
|
293
|
+
request :set_memory_static_max_server
|
294
|
+
request :set_memory_static_min_server
|
295
|
+
request :set_memory_static_range_server
|
296
|
+
request :set_order_server
|
297
|
+
request :set_protection_policy_server
|
298
|
+
request :set_shadow_multiplier_live_server
|
299
|
+
request :set_shutdown_delay_server
|
300
|
+
request :set_start_delay_server
|
301
|
+
request :set_suspend_vdi_server
|
302
|
+
request :set_vcpus_at_startup_server
|
303
|
+
request :set_vcpus_max_server
|
304
|
+
request :set_vcpus_number_live_server
|
305
|
+
request :shutdown_server
|
306
|
+
request :snapshot_server
|
307
|
+
request :snapshot_with_quiesce_server
|
308
|
+
request :start_on_server
|
309
|
+
request :start_server
|
310
|
+
request :suspend_server
|
311
|
+
request :unpause_server
|
312
|
+
|
313
|
+
# SR
|
314
|
+
request :assert_can_host_ha_statefile_sr
|
315
|
+
request :assert_supports_database_replication_sr
|
316
|
+
request :create_new_blob_sr
|
317
|
+
request :create_sr
|
318
|
+
request :destroy_sr
|
319
|
+
request :disable_database_replication_sr
|
320
|
+
request :enable_database_replication_sr
|
321
|
+
request :forget_sr
|
322
|
+
request :get_supported_types_sr
|
323
|
+
request :introduce_sr
|
324
|
+
request :probe_sr
|
325
|
+
request :scan_sr
|
326
|
+
request :set_name_description_sr
|
327
|
+
request :set_name_label_sr
|
328
|
+
request :set_physical_size_sr
|
329
|
+
request :set_physical_utilisation_sr
|
330
|
+
request :set_shared_sr
|
331
|
+
request :set_virtual_allocation_sr
|
332
|
+
request :update_sr
|
333
|
+
|
334
|
+
# Other
|
335
|
+
request :builtin_templates
|
336
|
+
request :create_network
|
337
|
+
request :create_vlan
|
91
338
|
request :create_vif
|
92
339
|
request :create_vdi
|
93
340
|
request :create_vbd
|
94
341
|
request :custom_templates
|
95
|
-
request :
|
96
|
-
request :
|
97
|
-
request :
|
98
|
-
request :templates
|
99
|
-
request :unplug_vbd
|
100
|
-
request :eject_vbd
|
101
|
-
request :insert_vbd
|
102
|
-
request :destroy_vdi
|
103
|
-
request :shutdown_server
|
104
|
-
request :start_vm
|
105
|
-
request :start_server
|
342
|
+
request :destroy_record
|
343
|
+
request :disable_host
|
344
|
+
request :enable_host
|
106
345
|
request :get_record
|
107
346
|
request :get_records
|
108
347
|
request :set_affinity
|
109
348
|
request :set_attribute
|
110
|
-
request :
|
111
|
-
request :
|
112
|
-
request :scan_sr
|
113
|
-
request :unplug_pbd
|
114
|
-
request :destroy_sr
|
115
|
-
request :create_sr
|
116
|
-
request :reboot_host
|
117
|
-
request :disable_host
|
118
|
-
request :enable_host
|
119
|
-
request :shutdown_host
|
120
|
-
request :create_network
|
121
|
-
request :destroy_network
|
122
|
-
request :create_vlan
|
123
|
-
request :destroy_vlan
|
124
|
-
request :snapshot_server
|
125
|
-
request :snapshot_revert
|
349
|
+
request :snapshots
|
350
|
+
request :templates
|
126
351
|
|
127
352
|
def self.const_missing(name)
|
128
353
|
Models.const_get(name)
|