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
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://192.168.10.2/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" ?><methodCall><methodName>session.login_with_password</methodName><params><param><value><string>root</string></value></param><param><value><string>123456</string></value></param></params></methodCall>
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
13
|
+
Content-Type:
|
14
|
+
- text/xml; charset=utf-8
|
15
|
+
Content-Length:
|
16
|
+
- '221'
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Content-Length:
|
29
|
+
- '251'
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Cache-Control:
|
33
|
+
- no-cache, no-store
|
34
|
+
Content-Type:
|
35
|
+
- text/xml
|
36
|
+
Access-Control-Allow-Origin:
|
37
|
+
- "*"
|
38
|
+
Access-Control-Allow-Headers:
|
39
|
+
- X-Requested-With
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:c2556148-3a9b-c9a1-abe4-942a6d9588dc</value></member></struct></value></param></params></methodResponse>"
|
43
|
+
http_version:
|
44
|
+
recorded_at: Sat, 22 Nov 2014 14:29:50 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,173 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://192.168.10.2/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" ?><methodCall><methodName>VDI.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:4751dc0e-1aa7-f70e-1e57-c5e7d662743d</string></value></param></params></methodCall>
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
13
|
+
Content-Type:
|
14
|
+
- text/xml; charset=utf-8
|
15
|
+
Content-Length:
|
16
|
+
- '290'
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Content-Length:
|
29
|
+
- '2643'
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Cache-Control:
|
33
|
+
- no-cache, no-store
|
34
|
+
Content-Type:
|
35
|
+
- text/xml
|
36
|
+
Access-Control-Allow-Origin:
|
37
|
+
- "*"
|
38
|
+
Access-Control-Allow-Headers:
|
39
|
+
- X-Requested-With
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>7056d728-547f-4895-a841-111179ac3b94</value></member><member><name>name_label</name><value>Craziest
|
43
|
+
Vdi Ever</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>forget</value><value>update</value><value>resize</value><value>destroy</value><value>clone</value><value>copy</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>SR</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>virtual_size</name><value>8589934592</value></member><member><name>physical_utilisation</name><value>8615100416</value></member><member><name>type</name><value>system</value></member><member><name>sharable</name><value><boolean>0</boolean></value></member><member><name>read_only</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct/></value></member><member><name>storage_lock</name><value><boolean>0</boolean></value></member><member><name>location</name><value>7056d728-547f-4895-a841-111179ac3b94</value></member><member><name>managed</name><value><boolean>1</boolean></value></member><member><name>missing</name><value><boolean>0</boolean></value></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>sm_config</name><value><struct><member><name>vdi_type</name><value>vhd</value></member></struct></value></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>allow_caching</name><value><boolean>0</boolean></value></member><member><name>on_boot</name><value>persist</value></member><member><name>metadata_of_pool</name><value/></member><member><name>metadata_latest</name><value><boolean>0</boolean></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
44
|
+
http_version:
|
45
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
46
|
+
- request:
|
47
|
+
method: post
|
48
|
+
uri: http://192.168.10.2/
|
49
|
+
body:
|
50
|
+
encoding: UTF-8
|
51
|
+
string: |
|
52
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:e749c32e-35a1-6f73-ce4e-6165988585c2</string></value></param></params></methodCall>
|
53
|
+
headers:
|
54
|
+
User-Agent:
|
55
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
56
|
+
Content-Type:
|
57
|
+
- text/xml; charset=utf-8
|
58
|
+
Content-Length:
|
59
|
+
- '289'
|
60
|
+
Connection:
|
61
|
+
- keep-alive
|
62
|
+
Accept-Encoding:
|
63
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
64
|
+
Accept:
|
65
|
+
- "*/*"
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Content-Length:
|
72
|
+
- '5906'
|
73
|
+
Connection:
|
74
|
+
- keep-alive
|
75
|
+
Cache-Control:
|
76
|
+
- no-cache, no-store
|
77
|
+
Content-Type:
|
78
|
+
- text/xml
|
79
|
+
Access-Control-Allow-Origin:
|
80
|
+
- "*"
|
81
|
+
Access-Control-Allow-Headers:
|
82
|
+
- X-Requested-With
|
83
|
+
body:
|
84
|
+
encoding: UTF-8
|
85
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>c87683ac-5996-6087-a4da-4a39d70d1707</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>changing_shadow_memory</value><value>changing_static_range</value><value>provision</value><value>destroy</value><value>export</value><value>clone</value><value>copy</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Halted</value></member><member><name>name_label</name><value>CrazyName</value></member><member><name>name_description</name><value/></member><member><name>user_version</name><value>0</value></member><member><name>is_a_template</name><value><boolean>1</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:NULL</value></member><member><name>affinity</name><value>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>0</value></member><member><name>memory_static_max</name><value>536870912</value></member><member><name>memory_dynamic_max</name><value>536870912</value></member><member><name>memory_dynamic_min</name><value>536870912</value></member><member><name>memory_static_min</name><value>536870912</value></member><member><name>VCPUs_params</name><value><struct/></value></member><member><name>VCPUs_max</name><value>1</value></member><member><name>VCPUs_at_startup</name><value>1</value></member><member><name>actions_after_shutdown</name><value>destroy</value></member><member><name>actions_after_reboot</name><value>restart</value></member><member><name>actions_after_crash</name><value>restart</value></member><member><name>consoles</name><value><array><data/></array></value></member><member><name>VIFs</name><value><array><data/></array></value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>VTPMs</name><value><array><data/></array></value></member><member><name>PV_bootloader</name><value>pygrub</value></member><member><name>PV_kernel</name><value/></member><member><name>PV_ramdisk</name><value/></member><member><name>PV_args</name><value>--
|
86
|
+
quiet console=hvc0</value></member><member><name>PV_bootloader_args</name><value/></member><member><name>PV_legacy_args</name><value/></member><member><name>HVM_boot_policy</name><value/></member><member><name>HVM_boot_params</name><value><struct/></value></member><member><name>HVM_shadow_multiplier</name><value><double>1</double></value></member><member><name>platform</name><value><struct><member><name>nx</name><value>true</value></member><member><name>acpi</name><value>true</value></member><member><name>apic</name><value>true</value></member><member><name>pae</name><value>true</value></member><member><name>viridian</name><value>true</value></member></struct></value></member><member><name>PCI_bus</name><value/></member><member><name>other_config</name><value><struct><member><name>mac_seed</name><value>b83641ac-3646-5868-7ce2-f850c3f0397a</value></member></struct></value></member><member><name>domid</name><value>-1</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct/></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:ed4022c3-3510-0c44-a208-729e83740d13</value></member><member><name>guest_metrics</name><value>OpaqueRef:NULL</value></member><member><name>last_booted_record</name><value/></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>ha_always_run</name><value><boolean>0</boolean></value></member><member><name>ha_restart_priority</name><value/></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>transportable_snapshot_id</name><value/></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>blocked_operations</name><value><struct/></value></member><member><name>snapshot_info</name><value><struct/></value></member><member><name>snapshot_metadata</name><value/></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>children</name><value><array><data/></array></value></member><member><name>bios_strings</name><value><struct/></value></member><member><name>protection_policy</name><value>OpaqueRef:NULL</value></member><member><name>is_snapshot_from_vmpp</name><value><boolean>0</boolean></value></member><member><name>appliance</name><value>OpaqueRef:NULL</value></member><member><name>start_delay</name><value>0</value></member><member><name>shutdown_delay</name><value>0</value></member><member><name>order</name><value>0</value></member><member><name>VGPUs</name><value><array><data/></array></value></member><member><name>attached_PCIs</name><value><array><data/></array></value></member><member><name>suspend_SR</name><value>OpaqueRef:NULL</value></member><member><name>version</name><value>0</value></member><member><name>generation_id</name><value>0:0</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
87
|
+
http_version:
|
88
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
89
|
+
- request:
|
90
|
+
method: post
|
91
|
+
uri: http://192.168.10.2/
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: |
|
95
|
+
<?xml version="1.0" ?><methodCall><methodName>VBD.create</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><struct><member><name>bootable</name><value><boolean>1</boolean></value></member><member><name>empty</name><value><boolean>0</boolean></value></member><member><name>mode</name><value><string>RW</string></value></member><member><name>other_config</name><value><struct><member><name>owner</name><value><string></string></value></member></struct></value></member><member><name>qos_supported_algorithms</name><value><array><data/></array></value></member><member><name>qos_algorithm_params</name><value><struct/></value></member><member><name>qos_algorithm_type</name><value><string></string></value></member><member><name>type</name><value><string>Disk</string></value></member><member><name>userdevice</name><value><string>0</string></value></member><member><name>VDI</name><value><string>OpaqueRef:4751dc0e-1aa7-f70e-1e57-c5e7d662743d</string></value></member><member><name>VM</name><value><string>OpaqueRef:e749c32e-35a1-6f73-ce4e-6165988585c2</string></value></member></struct></value></param></params></methodCall>
|
96
|
+
headers:
|
97
|
+
User-Agent:
|
98
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
99
|
+
Content-Type:
|
100
|
+
- text/xml; charset=utf-8
|
101
|
+
Content-Length:
|
102
|
+
- '1201'
|
103
|
+
Connection:
|
104
|
+
- keep-alive
|
105
|
+
Accept-Encoding:
|
106
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
107
|
+
Accept:
|
108
|
+
- "*/*"
|
109
|
+
response:
|
110
|
+
status:
|
111
|
+
code: 200
|
112
|
+
message: OK
|
113
|
+
headers:
|
114
|
+
Content-Length:
|
115
|
+
- '251'
|
116
|
+
Connection:
|
117
|
+
- keep-alive
|
118
|
+
Cache-Control:
|
119
|
+
- no-cache, no-store
|
120
|
+
Content-Type:
|
121
|
+
- text/xml
|
122
|
+
Access-Control-Allow-Origin:
|
123
|
+
- "*"
|
124
|
+
Access-Control-Allow-Headers:
|
125
|
+
- X-Requested-With
|
126
|
+
body:
|
127
|
+
encoding: UTF-8
|
128
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:972bf9a8-e7a0-b918-cfc3-75db63f29dca</value></member></struct></value></param></params></methodResponse>"
|
129
|
+
http_version:
|
130
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
131
|
+
- request:
|
132
|
+
method: post
|
133
|
+
uri: http://192.168.10.2/
|
134
|
+
body:
|
135
|
+
encoding: UTF-8
|
136
|
+
string: |
|
137
|
+
<?xml version="1.0" ?><methodCall><methodName>VBD.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:972bf9a8-e7a0-b918-cfc3-75db63f29dca</string></value></param></params></methodCall>
|
138
|
+
headers:
|
139
|
+
User-Agent:
|
140
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
141
|
+
Content-Type:
|
142
|
+
- text/xml; charset=utf-8
|
143
|
+
Content-Length:
|
144
|
+
- '290'
|
145
|
+
Connection:
|
146
|
+
- keep-alive
|
147
|
+
Accept-Encoding:
|
148
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
149
|
+
Accept:
|
150
|
+
- "*/*"
|
151
|
+
response:
|
152
|
+
status:
|
153
|
+
code: 200
|
154
|
+
message: OK
|
155
|
+
headers:
|
156
|
+
Content-Length:
|
157
|
+
- '1877'
|
158
|
+
Connection:
|
159
|
+
- keep-alive
|
160
|
+
Cache-Control:
|
161
|
+
- no-cache, no-store
|
162
|
+
Content-Type:
|
163
|
+
- text/xml
|
164
|
+
Access-Control-Allow-Origin:
|
165
|
+
- "*"
|
166
|
+
Access-Control-Allow-Headers:
|
167
|
+
- X-Requested-With
|
168
|
+
body:
|
169
|
+
encoding: UTF-8
|
170
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>7b1e807d-76bd-9cf1-baa9-41a476af456e</value></member><member><name>allowed_operations</name><value><array><data><value>attach</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>VM</name><value>OpaqueRef:e749c32e-35a1-6f73-ce4e-6165988585c2</value></member><member><name>VDI</name><value>OpaqueRef:4751dc0e-1aa7-f70e-1e57-c5e7d662743d</value></member><member><name>device</name><value/></member><member><name>userdevice</name><value>0</value></member><member><name>bootable</name><value><boolean>1</boolean></value></member><member><name>mode</name><value>RW</value></member><member><name>type</name><value>Disk</value></member><member><name>unpluggable</name><value><boolean>1</boolean></value></member><member><name>storage_lock</name><value><boolean>0</boolean></value></member><member><name>empty</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct><member><name>owner</name><value/></member></struct></value></member><member><name>currently_attached</name><value><boolean>0</boolean></value></member><member><name>status_code</name><value>0</value></member><member><name>status_detail</name><value/></member><member><name>runtime_properties</name><value><struct/></value></member><member><name>qos_algorithm_type</name><value/></member><member><name>qos_algorithm_params</name><value><struct/></value></member><member><name>qos_supported_algorithms</name><value><array><data/></array></value></member><member><name>metrics</name><value>OpaqueRef:4519a0f2-b512-4bcf-e6e6-a878b1992f00</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
171
|
+
http_version:
|
172
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
173
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,132 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://192.168.10.2/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" ?><methodCall><methodName>SR.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</string></value></param></params></methodCall>
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
13
|
+
Content-Type:
|
14
|
+
- text/xml; charset=utf-8
|
15
|
+
Content-Length:
|
16
|
+
- '289'
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Content-Length:
|
29
|
+
- '2239'
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Cache-Control:
|
33
|
+
- no-cache, no-store
|
34
|
+
Content-Type:
|
35
|
+
- text/xml
|
36
|
+
Access-Control-Allow-Origin:
|
37
|
+
- "*"
|
38
|
+
Access-Control-Allow-Headers:
|
39
|
+
- X-Requested-With
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>4971da95-df5e-3f2d-28a7-cbb79db6d1bf</value></member><member><name>name_label</name><value>Local
|
43
|
+
storage</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>vdi_create</value><value>vdi_snapshot</value><value>pbd_create</value><value>pbd_destroy</value><value>plug</value><value>update</value><value>vdi_destroy</value><value>scan</value><value>vdi_clone</value><value>vdi_resize</value><value>unplug</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>VDIs</name><value><array><data/></array></value></member><member><name>PBDs</name><value><array><data><value>OpaqueRef:9c139a2b-14f2-2486-1b1e-c46d7de625ec</value></data></array></value></member><member><name>virtual_allocation</name><value>0</value></member><member><name>physical_utilisation</name><value>4194304</value></member><member><name>physical_size</name><value>311469015040</value></member><member><name>type</name><value>lvm</value></member><member><name>content_type</name><value>user</value></member><member><name>shared</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct><member><name>i18n-original-value-name_label</name><value>Local
|
44
|
+
storage</value></member><member><name>i18n-key</name><value>local-storage</value></member></struct></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>sm_config</name><value><struct><member><name>allocation</name><value>thick</value></member><member><name>use_vhd</name><value>true</value></member><member><name>devserial</name><value>scsi-SATA_TOSHIBA_MK3265G_70KBP17MT</value></member></struct></value></member><member><name>blobs</name><value><struct/></value></member><member><name>local_cache_enabled</name><value><boolean>0</boolean></value></member><member><name>introduced_by</name><value>OpaqueRef:NULL</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
45
|
+
http_version:
|
46
|
+
recorded_at: Sat, 22 Nov 2014 14:35:17 GMT
|
47
|
+
- request:
|
48
|
+
method: post
|
49
|
+
uri: http://192.168.10.2/
|
50
|
+
body:
|
51
|
+
encoding: UTF-8
|
52
|
+
string: |
|
53
|
+
<?xml version="1.0" ?><methodCall><methodName>VDI.create</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><struct><member><name>name_label</name><value><string>Craziest Vdi Ever</string></value></member><member><name>other_config</name><value><struct/></value></member><member><name>read_only</name><value><boolean>0</boolean></value></member><member><name>sharable</name><value><boolean>0</boolean></value></member><member><name>type</name><value><string>system</string></value></member><member><name>virtual_size</name><value><string>8589934592</string></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>SR</name><value><string>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</string></value></member><member><name>VBDs</name><value><array><data/></array></value></member></struct></value></param></params></methodCall>
|
54
|
+
headers:
|
55
|
+
User-Agent:
|
56
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
57
|
+
Content-Type:
|
58
|
+
- text/xml; charset=utf-8
|
59
|
+
Content-Length:
|
60
|
+
- '1033'
|
61
|
+
Connection:
|
62
|
+
- keep-alive
|
63
|
+
Accept-Encoding:
|
64
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
65
|
+
Accept:
|
66
|
+
- "*/*"
|
67
|
+
response:
|
68
|
+
status:
|
69
|
+
code: 200
|
70
|
+
message: OK
|
71
|
+
headers:
|
72
|
+
Content-Length:
|
73
|
+
- '251'
|
74
|
+
Connection:
|
75
|
+
- keep-alive
|
76
|
+
Cache-Control:
|
77
|
+
- no-cache, no-store
|
78
|
+
Content-Type:
|
79
|
+
- text/xml
|
80
|
+
Access-Control-Allow-Origin:
|
81
|
+
- "*"
|
82
|
+
Access-Control-Allow-Headers:
|
83
|
+
- X-Requested-With
|
84
|
+
body:
|
85
|
+
encoding: UTF-8
|
86
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:4751dc0e-1aa7-f70e-1e57-c5e7d662743d</value></member></struct></value></param></params></methodResponse>"
|
87
|
+
http_version:
|
88
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
89
|
+
- request:
|
90
|
+
method: post
|
91
|
+
uri: http://192.168.10.2/
|
92
|
+
body:
|
93
|
+
encoding: UTF-8
|
94
|
+
string: |
|
95
|
+
<?xml version="1.0" ?><methodCall><methodName>VDI.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:4751dc0e-1aa7-f70e-1e57-c5e7d662743d</string></value></param></params></methodCall>
|
96
|
+
headers:
|
97
|
+
User-Agent:
|
98
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
99
|
+
Content-Type:
|
100
|
+
- text/xml; charset=utf-8
|
101
|
+
Content-Length:
|
102
|
+
- '290'
|
103
|
+
Connection:
|
104
|
+
- keep-alive
|
105
|
+
Accept-Encoding:
|
106
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
107
|
+
Accept:
|
108
|
+
- "*/*"
|
109
|
+
response:
|
110
|
+
status:
|
111
|
+
code: 200
|
112
|
+
message: OK
|
113
|
+
headers:
|
114
|
+
Content-Length:
|
115
|
+
- '2643'
|
116
|
+
Connection:
|
117
|
+
- keep-alive
|
118
|
+
Cache-Control:
|
119
|
+
- no-cache, no-store
|
120
|
+
Content-Type:
|
121
|
+
- text/xml
|
122
|
+
Access-Control-Allow-Origin:
|
123
|
+
- "*"
|
124
|
+
Access-Control-Allow-Headers:
|
125
|
+
- X-Requested-With
|
126
|
+
body:
|
127
|
+
encoding: UTF-8
|
128
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>7056d728-547f-4895-a841-111179ac3b94</value></member><member><name>name_label</name><value>Craziest
|
129
|
+
Vdi Ever</value></member><member><name>name_description</name><value/></member><member><name>allowed_operations</name><value><array><data><value>forget</value><value>update</value><value>resize</value><value>destroy</value><value>clone</value><value>copy</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>SR</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>virtual_size</name><value>8589934592</value></member><member><name>physical_utilisation</name><value>8615100416</value></member><member><name>type</name><value>system</value></member><member><name>sharable</name><value><boolean>0</boolean></value></member><member><name>read_only</name><value><boolean>0</boolean></value></member><member><name>other_config</name><value><struct/></value></member><member><name>storage_lock</name><value><boolean>0</boolean></value></member><member><name>location</name><value>7056d728-547f-4895-a841-111179ac3b94</value></member><member><name>managed</name><value><boolean>1</boolean></value></member><member><name>missing</name><value><boolean>0</boolean></value></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>sm_config</name><value><struct><member><name>vdi_type</name><value>vhd</value></member></struct></value></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>allow_caching</name><value><boolean>0</boolean></value></member><member><name>on_boot</name><value>persist</value></member><member><name>metadata_of_pool</name><value/></member><member><name>metadata_latest</name><value><boolean>0</boolean></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
130
|
+
http_version:
|
131
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
132
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,144 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://192.168.10.2/
|
6
|
+
body:
|
7
|
+
encoding: UTF-8
|
8
|
+
string: |
|
9
|
+
<?xml version="1.0" ?><methodCall><methodName>host.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</string></value></param></params></methodCall>
|
10
|
+
headers:
|
11
|
+
User-Agent:
|
12
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
13
|
+
Content-Type:
|
14
|
+
- text/xml; charset=utf-8
|
15
|
+
Content-Length:
|
16
|
+
- '291'
|
17
|
+
Connection:
|
18
|
+
- keep-alive
|
19
|
+
Accept-Encoding:
|
20
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
21
|
+
Accept:
|
22
|
+
- "*/*"
|
23
|
+
response:
|
24
|
+
status:
|
25
|
+
code: 200
|
26
|
+
message: OK
|
27
|
+
headers:
|
28
|
+
Content-Length:
|
29
|
+
- '11557'
|
30
|
+
Connection:
|
31
|
+
- keep-alive
|
32
|
+
Cache-Control:
|
33
|
+
- no-cache, no-store
|
34
|
+
Content-Type:
|
35
|
+
- text/xml
|
36
|
+
Access-Control-Allow-Origin:
|
37
|
+
- "*"
|
38
|
+
Access-Control-Allow-Headers:
|
39
|
+
- X-Requested-With
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>db36cc5c-332c-4a10-a092-bdc6a8ec4a74</value></member><member><name>name_label</name><value>vermelinho</value></member><member><name>name_description</name><value>Default
|
43
|
+
install of XenServer</value></member><member><name>memory_overhead</name><value>173891584</value></member><member><name>allowed_operations</name><value><array><data><value>vm_migrate</value><value>evacuate</value><value>provision</value><value>vm_resume</value><value>vm_start</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>API_version_major</name><value>2</value></member><member><name>API_version_minor</name><value>0</value></member><member><name>API_version_vendor</name><value>XenSource</value></member><member><name>API_version_vendor_implementation</name><value><struct/></value></member><member><name>enabled</name><value><boolean>1</boolean></value></member><member><name>software_version</name><value><struct><member><name>product_version</name><value>6.2.0</value></member><member><name>product_version_text</name><value>6.2</value></member><member><name>product_version_text_short</name><value>6.2</value></member><member><name>platform_name</name><value>XCP</value></member><member><name>platform_version</name><value>1.8.0</value></member><member><name>product_brand</name><value>XenServer</value></member><member><name>build_number</name><value>70446c</value></member><member><name>hostname</name><value>othone-2</value></member><member><name>date</name><value>2013-06-14</value></member><member><name>dbv</name><value>2013.0621</value></member><member><name>xapi</name><value>1.3</value></member><member><name>xen</name><value>4.1.5</value></member><member><name>linux</name><value>2.6.32.43-0.4.1.xs1.8.0.835.170778xen</value></member><member><name>xencenter_min</name><value>2.0</value></member><member><name>xencenter_max</name><value>2.0</value></member><member><name>network_backend</name><value>openvswitch</value></member><member><name>xs:xenserver-transfer-vm</name><value>XenServer
|
44
|
+
Transfer VM, version 6.2.0, build 70314c</value></member><member><name>xs:main</name><value>XenServer
|
45
|
+
Pack, version 6.2.0, build 70446c</value></member><member><name>xcp:main</name><value>Base
|
46
|
+
Pack, version 1.8.0, build 70446c</value></member></struct></value></member><member><name>other_config</name><value><struct><member><name>iscsi_iqn</name><value>iqn.2014-11.com.example:ffd995c5</value></member><member><name>agent_start_time</name><value>1416595151.</value></member><member><name>boot_time</name><value>1416595071.</value></member></struct></value></member><member><name>capabilities</name><value><array><data><value>xen-3.0-x86_64</value><value>xen-3.0-x86_32p</value><value>hvm-3.0-x86_32</value><value>hvm-3.0-x86_32p</value><value>hvm-3.0-x86_64</value><value/></data></array></value></member><member><name>cpu_configuration</name><value><struct/></value></member><member><name>sched_policy</name><value>credit</value></member><member><name>supported_bootloaders</name><value><array><data><value>pygrub</value><value>eliloader</value></data></array></value></member><member><name>resident_VMs</name><value><array><data><value>OpaqueRef:571a3707-3431-c4b9-19ce-9e9f2d1a005d</value></data></array></value></member><member><name>logging</name><value><struct/></value></member><member><name>PIFs</name><value><array><data><value>OpaqueRef:bad36a7a-7a0b-a548-6f02-7fcf8d5809c7</value></data></array></value></member><member><name>suspend_image_sr</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>crash_dump_sr</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>crashdumps</name><value><array><data/></array></value></member><member><name>patches</name><value><array><data/></array></value></member><member><name>PBDs</name><value><array><data><value>OpaqueRef:644167f5-d697-f2c8-6e66-d2b5d3698c1d</value><value>OpaqueRef:2eb08265-f2c9-5732-38b1-7103754cf980</value><value>OpaqueRef:9c139a2b-14f2-2486-1b1e-c46d7de625ec</value><value>OpaqueRef:5cbf37b0-53a1-14d7-1f0c-3742028de263</value></data></array></value></member><member><name>host_CPUs</name><value><array><data><value>OpaqueRef:4f6aa57e-67e5-49a8-64e7-78e3dd98cbe5</value><value>OpaqueRef:c96d160c-bd5e-7975-50de-a6dd24e8e754</value><value>OpaqueRef:5c634f7d-5f31-2c02-f20d-ba4a1a79c4b4</value><value>OpaqueRef:480b9f18-8d2b-4ecb-e17c-fc5854011d72</value></data></array></value></member><member><name>cpu_info</name><value><struct><member><name>cpu_count</name><value>4</value></member><member><name>socket_count</name><value>1</value></member><member><name>vendor</name><value>GenuineIntel</value></member><member><name>speed</name><value>2400.054</value></member><member><name>modelname</name><value>Intel(R)
|
47
|
+
Core(TM) i5 CPU M 450 @ 2.40GHz</value></member><member><name>family</name><value>6</value></member><member><name>model</name><value>37</value></member><member><name>stepping</name><value>5</value></member><member><name>flags</name><value>fpu
|
48
|
+
de tsc msr pae mce cx8 apic sep mtrr mca cmov pat clflush acpi mmx fxsr sse
|
49
|
+
sse2 ss ht nx constant_tsc nonstop_tsc aperfmperf pni vmx est ssse3 sse4_1
|
50
|
+
sse4_2 popcnt hypervisor ida arat tpr_shadow vnmi flexpriority ept vpid</value></member><member><name>features</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>features_after_reboot</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>physical_features</name><value>009ae3bd-bfebfbff-00000001-28100800</value></member><member><name>maskable</name><value>full</value></member></struct></value></member><member><name>hostname</name><value>vermelinho</value></member><member><name>address</name><value>192.168.10.2</value></member><member><name>metrics</name><value>OpaqueRef:1401267d-366a-56fe-6a20-379d7548cc2e</value></member><member><name>license_params</name><value><struct><member><name>sku_type</name><value>free</value></member><member><name>version</name><value>6.2.0</value></member><member><name>serialnumber</name><value/></member><member><name>sockets</name><value>1</value></member><member><name>productcode</name><value/></member><member><name>expiry</name><value>20300101T02:00:00Z</value></member><member><name>grace</name><value>no</value></member><member><name>name</name><value/></member><member><name>company</name><value/></member><member><name>address1</name><value/></member><member><name>address2</name><value/></member><member><name>city</name><value/></member><member><name>state</name><value/></member><member><name>postalcode</name><value/></member><member><name>country</name><value/></member><member><name>sku_marketing_name</name><value>Citrix
|
51
|
+
XenServer</value></member><member><name>restrict_vswitch_controller</name><value>false</value></member><member><name>restrict_lab</name><value>false</value></member><member><name>restrict_stage</name><value>false</value></member><member><name>restrict_storagelink</name><value>false</value></member><member><name>restrict_storagelink_site_recovery</name><value>false</value></member><member><name>restrict_web_selfservice</name><value>true</value></member><member><name>restrict_web_selfservice_manager</name><value>true</value></member><member><name>restrict_hotfix_apply</name><value>true</value></member><member><name>restrict_vlan</name><value>false</value></member><member><name>restrict_qos</name><value>false</value></member><member><name>restrict_pool_attached_storage</name><value>false</value></member><member><name>restrict_netapp</name><value>false</value></member><member><name>restrict_equalogic</name><value>false</value></member><member><name>restrict_pooling</name><value>false</value></member><member><name>enable_xha</name><value>true</value></member><member><name>restrict_marathon</name><value>false</value></member><member><name>restrict_email_alerting</name><value>false</value></member><member><name>restrict_historical_performance</name><value>false</value></member><member><name>restrict_wlb</name><value>true</value></member><member><name>restrict_rbac</name><value>false</value></member><member><name>restrict_dmc</name><value>false</value></member><member><name>restrict_checkpoint</name><value>false</value></member><member><name>restrict_cpu_masking</name><value>false</value></member><member><name>restrict_connection</name><value>false</value></member><member><name>platform_filter</name><value>false</value></member><member><name>regular_nag_dialog</name><value>false</value></member><member><name>restrict_vmpr</name><value>false</value></member><member><name>restrict_intellicache</name><value>false</value></member><member><name>restrict_gpu</name><value>false</value></member><member><name>restrict_dr</name><value>false</value></member><member><name>restrict_vif_locking</name><value>false</value></member><member><name>restrict_storage_xen_motion</name><value>false</value></member></struct></value></member><member><name>ha_statefiles</name><value><array><data/></array></value></member><member><name>ha_network_peers</name><value><array><data/></array></value></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>external_auth_type</name><value/></member><member><name>external_auth_service_name</name><value/></member><member><name>external_auth_configuration</name><value><struct/></value></member><member><name>edition</name><value>free</value></member><member><name>license_server</name><value><struct><member><name>address</name><value>localhost</value></member><member><name>port</name><value>27000</value></member></struct></value></member><member><name>bios_strings</name><value><struct><member><name>bios-vendor</name><value>Phoenix
|
52
|
+
Technologies LTD</value></member><member><name>bios-version</name><value>CALPELLACRB.86C.0000.X.0000000000</value></member><member><name>system-manufacturer</name><value>Intel
|
53
|
+
Corporation</value></member><member><name>system-product-name</name><value>Calpella
|
54
|
+
Platform</value></member><member><name>system-version</name><value>Not Applicable</value></member><member><name>system-serial-number</name><value>Not
|
55
|
+
Applicable</value></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member><member><name>oem-3</name><value>Calpella</value></member><member><name>oem-4</name><value>Clarksfield
|
56
|
+
& Auburndale</value></member><member><name>hp-rombios</name><value/></member></struct></value></member><member><name>power_on_mode</name><value/></member><member><name>power_on_config</name><value><struct/></value></member><member><name>local_cache_sr</name><value>OpaqueRef:NULL</value></member><member><name>chipset_info</name><value><struct><member><name>iommu</name><value>false</value></member></struct></value></member><member><name>PCIs</name><value><array><data><value>OpaqueRef:acf66ef4-4722-c89b-4472-35ded37322bd</value></data></array></value></member><member><name>PGPUs</name><value><array><data><value>OpaqueRef:87776732-9184-c077-ec61-2f6e9512db15</value></data></array></value></member><member><name>guest_VCPUs_params</name><value><struct/></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
57
|
+
http_version:
|
58
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
59
|
+
- request:
|
60
|
+
method: post
|
61
|
+
uri: http://192.168.10.2/
|
62
|
+
body:
|
63
|
+
encoding: UTF-8
|
64
|
+
string: |
|
65
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.create</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><struct><member><name>actions_after_crash</name><value><string>Restart</string></value></member><member><name>actions_after_reboot</name><value><string>Restart</string></value></member><member><name>actions_after_shutdown</name><value><string>Destroy</string></value></member><member><name>name_description</name><value><string></string></value></member><member><name>HVM_boot_params</name><value><struct/></value></member><member><name>HVM_boot_policy</name><value><string></string></value></member><member><name>is_a_template</name><value><boolean>1</boolean></value></member><member><name>memory_dynamic_max</name><value><string>536870912</string></value></member><member><name>memory_dynamic_min</name><value><string>536870912</string></value></member><member><name>memory_static_max</name><value><string>536870912</string></value></member><member><name>memory_static_min</name><value><string>536870912</string></value></member><member><name>name_label</name><value><string>CrazyName</string></value></member><member><name>other_config</name><value><struct/></value></member><member><name>PCI_bus</name><value><string></string></value></member><member><name>platform</name><value><struct><member><name>nx</name><value><string>true</string></value></member><member><name>acpi</name><value><string>true</string></value></member><member><name>apic</name><value><string>true</string></value></member><member><name>pae</name><value><string>true</string></value></member><member><name>viridian</name><value><string>true</string></value></member></struct></value></member><member><name>PV_args</name><value><string>-- quiet console=hvc0</string></value></member><member><name>PV_bootloader</name><value><string>pygrub</string></value></member><member><name>PV_bootloader_args</name><value><string></string></value></member><member><name>PV_kernel</name><value><string></string></value></member><member><name>PV_legacy_args</name><value><string></string></value></member><member><name>PV_ramdisk</name><value><string></string></value></member><member><name>recommendations</name><value><string></string></value></member><member><name>user_version</name><value><string>0</string></value></member><member><name>VCPUs_at_startup</name><value><string>1</string></value></member><member><name>VCPUs_max</name><value><string>1</string></value></member><member><name>VCPUs_params</name><value><struct/></value></member><member><name>affinity</name><value><string>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</string></value></member><member><name>attached_PCIs</name><value><array><data/></array></value></member><member><name>children</name><value><array><data/></array></value></member><member><name>consoles</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>VGPUs</name><value><array><data/></array></value></member><member><name>VIFs</name><value><array><data/></array></value></member><member><name>VTPMs</name><value><array><data/></array></value></member></struct></value></param></params></methodCall>
|
66
|
+
headers:
|
67
|
+
User-Agent:
|
68
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
69
|
+
Content-Type:
|
70
|
+
- text/xml; charset=utf-8
|
71
|
+
Content-Length:
|
72
|
+
- '3425'
|
73
|
+
Connection:
|
74
|
+
- keep-alive
|
75
|
+
Accept-Encoding:
|
76
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
77
|
+
Accept:
|
78
|
+
- "*/*"
|
79
|
+
response:
|
80
|
+
status:
|
81
|
+
code: 200
|
82
|
+
message: OK
|
83
|
+
headers:
|
84
|
+
Content-Length:
|
85
|
+
- '251'
|
86
|
+
Connection:
|
87
|
+
- keep-alive
|
88
|
+
Cache-Control:
|
89
|
+
- no-cache, no-store
|
90
|
+
Content-Type:
|
91
|
+
- text/xml
|
92
|
+
Access-Control-Allow-Origin:
|
93
|
+
- "*"
|
94
|
+
Access-Control-Allow-Headers:
|
95
|
+
- X-Requested-With
|
96
|
+
body:
|
97
|
+
encoding: UTF-8
|
98
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value>OpaqueRef:e749c32e-35a1-6f73-ce4e-6165988585c2</value></member></struct></value></param></params></methodResponse>"
|
99
|
+
http_version:
|
100
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
101
|
+
- request:
|
102
|
+
method: post
|
103
|
+
uri: http://192.168.10.2/
|
104
|
+
body:
|
105
|
+
encoding: UTF-8
|
106
|
+
string: |
|
107
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:8fe47623-5f6d-4b52-bbd8-868fa7929361</string></value></param><param><value><string>OpaqueRef:e749c32e-35a1-6f73-ce4e-6165988585c2</string></value></param></params></methodCall>
|
108
|
+
headers:
|
109
|
+
User-Agent:
|
110
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
111
|
+
Content-Type:
|
112
|
+
- text/xml; charset=utf-8
|
113
|
+
Content-Length:
|
114
|
+
- '289'
|
115
|
+
Connection:
|
116
|
+
- keep-alive
|
117
|
+
Accept-Encoding:
|
118
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
119
|
+
Accept:
|
120
|
+
- "*/*"
|
121
|
+
response:
|
122
|
+
status:
|
123
|
+
code: 200
|
124
|
+
message: OK
|
125
|
+
headers:
|
126
|
+
Content-Length:
|
127
|
+
- '5906'
|
128
|
+
Connection:
|
129
|
+
- keep-alive
|
130
|
+
Cache-Control:
|
131
|
+
- no-cache, no-store
|
132
|
+
Content-Type:
|
133
|
+
- text/xml
|
134
|
+
Access-Control-Allow-Origin:
|
135
|
+
- "*"
|
136
|
+
Access-Control-Allow-Headers:
|
137
|
+
- X-Requested-With
|
138
|
+
body:
|
139
|
+
encoding: UTF-8
|
140
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>uuid</name><value>c87683ac-5996-6087-a4da-4a39d70d1707</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>changing_shadow_memory</value><value>changing_static_range</value><value>provision</value><value>destroy</value><value>export</value><value>clone</value><value>copy</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Halted</value></member><member><name>name_label</name><value>CrazyName</value></member><member><name>name_description</name><value/></member><member><name>user_version</name><value>0</value></member><member><name>is_a_template</name><value><boolean>1</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:NULL</value></member><member><name>affinity</name><value>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>0</value></member><member><name>memory_static_max</name><value>536870912</value></member><member><name>memory_dynamic_max</name><value>536870912</value></member><member><name>memory_dynamic_min</name><value>536870912</value></member><member><name>memory_static_min</name><value>536870912</value></member><member><name>VCPUs_params</name><value><struct/></value></member><member><name>VCPUs_max</name><value>1</value></member><member><name>VCPUs_at_startup</name><value>1</value></member><member><name>actions_after_shutdown</name><value>destroy</value></member><member><name>actions_after_reboot</name><value>restart</value></member><member><name>actions_after_crash</name><value>restart</value></member><member><name>consoles</name><value><array><data/></array></value></member><member><name>VIFs</name><value><array><data/></array></value></member><member><name>VBDs</name><value><array><data/></array></value></member><member><name>crash_dumps</name><value><array><data/></array></value></member><member><name>VTPMs</name><value><array><data/></array></value></member><member><name>PV_bootloader</name><value>pygrub</value></member><member><name>PV_kernel</name><value/></member><member><name>PV_ramdisk</name><value/></member><member><name>PV_args</name><value>--
|
141
|
+
quiet console=hvc0</value></member><member><name>PV_bootloader_args</name><value/></member><member><name>PV_legacy_args</name><value/></member><member><name>HVM_boot_policy</name><value/></member><member><name>HVM_boot_params</name><value><struct/></value></member><member><name>HVM_shadow_multiplier</name><value><double>1</double></value></member><member><name>platform</name><value><struct><member><name>nx</name><value>true</value></member><member><name>acpi</name><value>true</value></member><member><name>apic</name><value>true</value></member><member><name>pae</name><value>true</value></member><member><name>viridian</name><value>true</value></member></struct></value></member><member><name>PCI_bus</name><value/></member><member><name>other_config</name><value><struct><member><name>mac_seed</name><value>b83641ac-3646-5868-7ce2-f850c3f0397a</value></member></struct></value></member><member><name>domid</name><value>-1</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct/></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:ed4022c3-3510-0c44-a208-729e83740d13</value></member><member><name>guest_metrics</name><value>OpaqueRef:NULL</value></member><member><name>last_booted_record</name><value/></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct/></value></member><member><name>ha_always_run</name><value><boolean>0</boolean></value></member><member><name>ha_restart_priority</name><value/></member><member><name>is_a_snapshot</name><value><boolean>0</boolean></value></member><member><name>snapshot_of</name><value>OpaqueRef:NULL</value></member><member><name>snapshots</name><value><array><data/></array></value></member><member><name>snapshot_time</name><value><dateTime.iso8601>19700101T00:00:00Z</dateTime.iso8601></value></member><member><name>transportable_snapshot_id</name><value/></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>blocked_operations</name><value><struct/></value></member><member><name>snapshot_info</name><value><struct/></value></member><member><name>snapshot_metadata</name><value/></member><member><name>parent</name><value>OpaqueRef:NULL</value></member><member><name>children</name><value><array><data/></array></value></member><member><name>bios_strings</name><value><struct/></value></member><member><name>protection_policy</name><value>OpaqueRef:NULL</value></member><member><name>is_snapshot_from_vmpp</name><value><boolean>0</boolean></value></member><member><name>appliance</name><value>OpaqueRef:NULL</value></member><member><name>start_delay</name><value>0</value></member><member><name>shutdown_delay</name><value>0</value></member><member><name>order</name><value>0</value></member><member><name>VGPUs</name><value><array><data/></array></value></member><member><name>attached_PCIs</name><value><array><data/></array></value></member><member><name>suspend_SR</name><value>OpaqueRef:NULL</value></member><member><name>version</name><value>0</value></member><member><name>generation_id</name><value>0:0</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
142
|
+
http_version:
|
143
|
+
recorded_at: Sat, 22 Nov 2014 14:35:18 GMT
|
144
|
+
recorded_with: VCR 2.9.3
|