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,130 @@
|
|
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>VM.get_by_name_label</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>vm-teste</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
|
+
- '258'
|
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
|
+
- '294'
|
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><array><data><value>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</value></data></array></value></member></struct></value></param></params></methodResponse>"
|
43
|
+
http_version:
|
44
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
45
|
+
- request:
|
46
|
+
method: post
|
47
|
+
uri: http://192.168.10.2/
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
string: |
|
51
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</string></value></param></params></methodCall>
|
52
|
+
headers:
|
53
|
+
User-Agent:
|
54
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
55
|
+
Content-Type:
|
56
|
+
- text/xml; charset=utf-8
|
57
|
+
Content-Length:
|
58
|
+
- '289'
|
59
|
+
Connection:
|
60
|
+
- keep-alive
|
61
|
+
Accept-Encoding:
|
62
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
+
Accept:
|
64
|
+
- "*/*"
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Content-Length:
|
71
|
+
- '11027'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache, no-store
|
76
|
+
Content-Type:
|
77
|
+
- text/xml
|
78
|
+
Access-Control-Allow-Origin:
|
79
|
+
- "*"
|
80
|
+
Access-Control-Allow-Headers:
|
81
|
+
- X-Requested-With
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
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>92d00a04-6696-1517-5ba9-59cca3407c28</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>migrate_send</value><value>pool_migrate</value><value>changing_VCPUs_live</value><value>suspend</value><value>hard_reboot</value><value>hard_shutdown</value><value>clean_reboot</value><value>clean_shutdown</value><value>pause</value><value>checkpoint</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Running</value></member><member><name>name_label</name><value>vm-teste</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>0</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>affinity</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>536870912</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><value>OpaqueRef:dba71304-33f6-3a02-695f-3e329b0cfe26</value><value>OpaqueRef:18f36c93-bca5-f4a4-8f71-7c5dc5279a71</value></data></array></value></member><member><name>VIFs</name><value><array><data><value>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</value></data></array></value></member><member><name>VBDs</name><value><array><data><value>OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b</value><value>OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1</value></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>auto-install/enable=true
|
85
|
+
priority=critical hostname=vm-teste domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com
|
86
|
+
netcfg/choose_interface=eth0 netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0
|
87
|
+
netcfg/get_gateway=192.168.0.1 netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true
|
88
|
+
preseed/url=http://192.168.0.1/vm/seed.cfg -- 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>vgpu_pci</name><value/></member><member><name>mac_seed</name><value>e0c35ca5-755f-5fd3-38fe-c1feb09fc300</value></member><member><name>install-methods</name><value>cdrom</value></member><member><name>install-archs</name><value>amd64</value></member><member><name>install-repository</name><value>cdrom</value></member><member><name>auto_poweron</name><value>true</value></member></struct></value></member><member><name>domid</name><value>2</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct><member><name>vendor</name><value>GenuineIntel</value></member><member><name>features</name><value>77bae3ff-bfebfbff-00000001-28100800</value></member></struct></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8</value></member><member><name>guest_metrics</name><value>OpaqueRef:bbe8e7ec-ad8b-963b-a5a3-66fe7aaa4a7e</value></member><member><name>last_booted_record</name><value>('struct'
|
89
|
+
('uuid' '92d00a04-6696-1517-5ba9-59cca3407c28') ('allowed_operations' ('array'))
|
90
|
+
('current_operations' ('struct' ('OpaqueRef:24be19c0-9fc3-70e9-c3d7-1ad95f53551d'
|
91
|
+
'start'))) ('power_state' 'Halted') ('name_label' 'vm-teste') ('name_description'
|
92
|
+
'') ('user_version' '0') ('is_a_template' ('boolean' '0')) ('suspend_VDI'
|
93
|
+
'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e')
|
94
|
+
('memory_overhead' '6291456') ('memory_target' '0') ('memory_static_max' '536870912')
|
95
|
+
('memory_dynamic_max' '536870912') ('memory_dynamic_min' '536870912') ('memory_static_min'
|
96
|
+
'536870912') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup'
|
97
|
+
'1') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart')
|
98
|
+
('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array'
|
99
|
+
'OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38')) ('VBDs' ('array' 'OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1'
|
100
|
+
'OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b')) ('crash_dumps' ('array'))
|
101
|
+
('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk'
|
102
|
+
'') ('PV_args' 'auto-install/enable=true priority=critical hostname=vm-teste
|
103
|
+
domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com netcfg/choose_interface=eth0
|
104
|
+
netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0 netcfg/get_gateway=192.168.0.1
|
105
|
+
netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true preseed/url=http://192.168.0.1/vm/seed.cfg
|
106
|
+
\ -- quiet console=hvc0') ('PV_bootloader_args' '') ('PV_legacy_args' '')
|
107
|
+
('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier'
|
108
|
+
('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' 'true') ('apic'
|
109
|
+
'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config'
|
110
|
+
('struct' ('vgpu_pci' '') ('mac_seed' 'e0c35ca5-755f-5fd3-38fe-c1feb09fc300')
|
111
|
+
('install-methods' 'cdrom') ('install-archs' 'amd64') ('install-repository'
|
112
|
+
'cdrom'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct'
|
113
|
+
('vendor' 'GenuineIntel') ('features' '77bae3ff-bfebfbff-00000001-28100800')))
|
114
|
+
('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8')
|
115
|
+
('guest_metrics' 'OpaqueRef:42b2196a-f061-5e70-95df-2b162fd51b71') ('last_booted_record'
|
116
|
+
'') ('recommendations' '') ('xenstore_data' ('struct' ('vm-data' ''))) ('ha_always_run'
|
117
|
+
('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0'))
|
118
|
+
('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time'
|
119
|
+
('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '')
|
120
|
+
('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct'))
|
121
|
+
('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL')
|
122
|
+
('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL')
|
123
|
+
('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay'
|
124
|
+
'0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs'
|
125
|
+
('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id'
|
126
|
+
'796383313930932334:3585615837405384095'))</value></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct><member><name>vm-data</name><value/></member></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><member><name>bios-vendor</name><value>Xen</value></member><member><name>bios-version</name><value/></member><member><name>system-manufacturer</name><value>Xen</value></member><member><name>system-product-name</name><value>HVM
|
127
|
+
domU</value></member><member><name>system-version</name><value/></member><member><name>system-serial-number</name><value/></member><member><name>hp-rombios</name><value/></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member></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>796383313930932334:3585615837405384095</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
128
|
+
http_version:
|
129
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
130
|
+
recorded_with: VCR 2.9.3
|
@@ -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:3364a807-6433-eb77-84fd-f3452db26947</value></member></struct></value></param></params></methodResponse>"
|
43
|
+
http_version:
|
44
|
+
recorded_at: Fri, 19 Sep 2014 15:47:57 GMT
|
45
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,129 @@
|
|
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:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</value></member></struct></value></param></params></methodResponse>"
|
43
|
+
http_version:
|
44
|
+
recorded_at: Sat, 22 Nov 2014 13:59:41 GMT
|
45
|
+
- request:
|
46
|
+
method: post
|
47
|
+
uri: http://192.168.10.2/
|
48
|
+
body:
|
49
|
+
encoding: UTF-8
|
50
|
+
string: |
|
51
|
+
<?xml version="1.0" ?><methodCall><methodName>pool.get_all_records</methodName><params><param><value><string>OpaqueRef:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</string></value></param></params></methodCall>
|
52
|
+
headers:
|
53
|
+
User-Agent:
|
54
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
55
|
+
Content-Type:
|
56
|
+
- text/xml; charset=utf-8
|
57
|
+
Content-Length:
|
58
|
+
- '203'
|
59
|
+
Connection:
|
60
|
+
- keep-alive
|
61
|
+
Accept-Encoding:
|
62
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
63
|
+
Accept:
|
64
|
+
- "*/*"
|
65
|
+
response:
|
66
|
+
status:
|
67
|
+
code: 200
|
68
|
+
message: OK
|
69
|
+
headers:
|
70
|
+
Content-Length:
|
71
|
+
- '4694'
|
72
|
+
Connection:
|
73
|
+
- keep-alive
|
74
|
+
Cache-Control:
|
75
|
+
- no-cache, no-store
|
76
|
+
Content-Type:
|
77
|
+
- text/xml
|
78
|
+
Access-Control-Allow-Origin:
|
79
|
+
- "*"
|
80
|
+
Access-Control-Allow-Headers:
|
81
|
+
- X-Requested-With
|
82
|
+
body:
|
83
|
+
encoding: UTF-8
|
84
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value><struct><member><name>OpaqueRef:caf17d60-ed75-0deb-399f-4a3974620cbe</name><value><struct><member><name>uuid</name><value>51766268-0930-4d17-6aa0-fb7695242de8</value></member><member><name>name_label</name><value/></member><member><name>name_description</name><value/></member><member><name>master</name><value>OpaqueRef:78c23dd4-4470-ed14-47e1-9a0e21a32814</value></member><member><name>default_SR</name><value>OpaqueRef:131d30ee-74ab-efcf-ee38-ec96222a36ba</value></member><member><name>suspend_image_SR</name><value>OpaqueRef:NULL</value></member><member><name>crash_dump_SR</name><value>OpaqueRef:NULL</value></member><member><name>other_config</name><value><struct><member><name>cpuid_feature_mask</name><value>ffffff7f-ffffffff-ffffffff-ffffffff</value></member><member><name>memory-ratio-hvm</name><value>0.25</value></member><member><name>memory-ratio-pv</name><value>0.25</value></member></struct></value></member><member><name>ha_enabled</name><value><boolean>0</boolean></value></member><member><name>ha_configuration</name><value><struct/></value></member><member><name>ha_statefiles</name><value><array><data/></array></value></member><member><name>ha_host_failures_to_tolerate</name><value>0</value></member><member><name>ha_plan_exists_for</name><value>0</value></member><member><name>ha_allow_overcommit</name><value><boolean>0</boolean></value></member><member><name>ha_overcommitted</name><value><boolean>0</boolean></value></member><member><name>blobs</name><value><struct/></value></member><member><name>tags</name><value><array><data/></array></value></member><member><name>gui_config</name><value><struct/></value></member><member><name>wlb_url</name><value/></member><member><name>wlb_username</name><value/></member><member><name>wlb_enabled</name><value><boolean>0</boolean></value></member><member><name>wlb_verify_cert</name><value><boolean>0</boolean></value></member><member><name>redo_log_enabled</name><value><boolean>0</boolean></value></member><member><name>redo_log_vdi</name><value>OpaqueRef:NULL</value></member><member><name>vswitch_controller</name><value/></member><member><name>restrictions</name><value><struct><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>metadata_VDIs</name><value><array><data/></array></value></member></struct></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
85
|
+
http_version:
|
86
|
+
recorded_at: Sat, 22 Nov 2014 13:59:41 GMT
|
87
|
+
- request:
|
88
|
+
method: post
|
89
|
+
uri: http://192.168.10.2/
|
90
|
+
body:
|
91
|
+
encoding: UTF-8
|
92
|
+
string: |
|
93
|
+
<?xml version="1.0" ?><methodCall><methodName>pool.sync_database</methodName><params><param><value><string>OpaqueRef:cc5148e7-14a1-f637-fcdb-440fc6dedc0d</string></value></param></params></methodCall>
|
94
|
+
headers:
|
95
|
+
User-Agent:
|
96
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
97
|
+
Content-Type:
|
98
|
+
- text/xml; charset=utf-8
|
99
|
+
Content-Length:
|
100
|
+
- '201'
|
101
|
+
Connection:
|
102
|
+
- keep-alive
|
103
|
+
Accept-Encoding:
|
104
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
105
|
+
Accept:
|
106
|
+
- "*/*"
|
107
|
+
response:
|
108
|
+
status:
|
109
|
+
code: 200
|
110
|
+
message: OK
|
111
|
+
headers:
|
112
|
+
Content-Length:
|
113
|
+
- '198'
|
114
|
+
Connection:
|
115
|
+
- keep-alive
|
116
|
+
Cache-Control:
|
117
|
+
- no-cache, no-store
|
118
|
+
Content-Type:
|
119
|
+
- text/xml
|
120
|
+
Access-Control-Allow-Origin:
|
121
|
+
- "*"
|
122
|
+
Access-Control-Allow-Headers:
|
123
|
+
- X-Requested-With
|
124
|
+
body:
|
125
|
+
encoding: UTF-8
|
126
|
+
string: "<methodResponse><params><param><value><struct><member><name>Status</name><value>Success</value></member><member><name>Value</name><value/></member></struct></value></param></params></methodResponse>"
|
127
|
+
http_version:
|
128
|
+
recorded_at: Sat, 22 Nov 2014 13:59:41 GMT
|
129
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,342 @@
|
|
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>VM.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</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
|
+
- '11027'
|
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>92d00a04-6696-1517-5ba9-59cca3407c28</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>migrate_send</value><value>pool_migrate</value><value>changing_VCPUs_live</value><value>suspend</value><value>hard_reboot</value><value>hard_shutdown</value><value>clean_reboot</value><value>clean_shutdown</value><value>pause</value><value>checkpoint</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Running</value></member><member><name>name_label</name><value>vm-teste</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>0</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>affinity</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>536870912</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><value>OpaqueRef:dba71304-33f6-3a02-695f-3e329b0cfe26</value><value>OpaqueRef:18f36c93-bca5-f4a4-8f71-7c5dc5279a71</value></data></array></value></member><member><name>VIFs</name><value><array><data><value>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</value></data></array></value></member><member><name>VBDs</name><value><array><data><value>OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b</value><value>OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1</value></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>auto-install/enable=true
|
43
|
+
priority=critical hostname=vm-teste domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com
|
44
|
+
netcfg/choose_interface=eth0 netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0
|
45
|
+
netcfg/get_gateway=192.168.0.1 netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true
|
46
|
+
preseed/url=http://192.168.0.1/vm/seed.cfg -- 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>vgpu_pci</name><value/></member><member><name>mac_seed</name><value>e0c35ca5-755f-5fd3-38fe-c1feb09fc300</value></member><member><name>install-methods</name><value>cdrom</value></member><member><name>install-archs</name><value>amd64</value></member><member><name>install-repository</name><value>cdrom</value></member><member><name>auto_poweron</name><value>true</value></member></struct></value></member><member><name>domid</name><value>2</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct><member><name>vendor</name><value>GenuineIntel</value></member><member><name>features</name><value>77bae3ff-bfebfbff-00000001-28100800</value></member></struct></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8</value></member><member><name>guest_metrics</name><value>OpaqueRef:bbe8e7ec-ad8b-963b-a5a3-66fe7aaa4a7e</value></member><member><name>last_booted_record</name><value>('struct'
|
47
|
+
('uuid' '92d00a04-6696-1517-5ba9-59cca3407c28') ('allowed_operations' ('array'))
|
48
|
+
('current_operations' ('struct' ('OpaqueRef:24be19c0-9fc3-70e9-c3d7-1ad95f53551d'
|
49
|
+
'start'))) ('power_state' 'Halted') ('name_label' 'vm-teste') ('name_description'
|
50
|
+
'') ('user_version' '0') ('is_a_template' ('boolean' '0')) ('suspend_VDI'
|
51
|
+
'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e')
|
52
|
+
('memory_overhead' '6291456') ('memory_target' '0') ('memory_static_max' '536870912')
|
53
|
+
('memory_dynamic_max' '536870912') ('memory_dynamic_min' '536870912') ('memory_static_min'
|
54
|
+
'536870912') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup'
|
55
|
+
'1') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart')
|
56
|
+
('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array'
|
57
|
+
'OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38')) ('VBDs' ('array' 'OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1'
|
58
|
+
'OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b')) ('crash_dumps' ('array'))
|
59
|
+
('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk'
|
60
|
+
'') ('PV_args' 'auto-install/enable=true priority=critical hostname=vm-teste
|
61
|
+
domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com netcfg/choose_interface=eth0
|
62
|
+
netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0 netcfg/get_gateway=192.168.0.1
|
63
|
+
netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true preseed/url=http://192.168.0.1/vm/seed.cfg
|
64
|
+
\ -- quiet console=hvc0') ('PV_bootloader_args' '') ('PV_legacy_args' '')
|
65
|
+
('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier'
|
66
|
+
('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' 'true') ('apic'
|
67
|
+
'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config'
|
68
|
+
('struct' ('vgpu_pci' '') ('mac_seed' 'e0c35ca5-755f-5fd3-38fe-c1feb09fc300')
|
69
|
+
('install-methods' 'cdrom') ('install-archs' 'amd64') ('install-repository'
|
70
|
+
'cdrom'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct'
|
71
|
+
('vendor' 'GenuineIntel') ('features' '77bae3ff-bfebfbff-00000001-28100800')))
|
72
|
+
('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8')
|
73
|
+
('guest_metrics' 'OpaqueRef:42b2196a-f061-5e70-95df-2b162fd51b71') ('last_booted_record'
|
74
|
+
'') ('recommendations' '') ('xenstore_data' ('struct' ('vm-data' ''))) ('ha_always_run'
|
75
|
+
('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0'))
|
76
|
+
('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time'
|
77
|
+
('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '')
|
78
|
+
('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct'))
|
79
|
+
('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL')
|
80
|
+
('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL')
|
81
|
+
('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay'
|
82
|
+
'0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs'
|
83
|
+
('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id'
|
84
|
+
'796383313930932334:3585615837405384095'))</value></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct><member><name>vm-data</name><value/></member></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><member><name>bios-vendor</name><value>Xen</value></member><member><name>bios-version</name><value/></member><member><name>system-manufacturer</name><value>Xen</value></member><member><name>system-product-name</name><value>HVM
|
85
|
+
domU</value></member><member><name>system-version</name><value/></member><member><name>system-serial-number</name><value/></member><member><name>hp-rombios</name><value/></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member></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>796383313930932334:3585615837405384095</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
86
|
+
http_version:
|
87
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
88
|
+
- request:
|
89
|
+
method: post
|
90
|
+
uri: http://192.168.10.2/
|
91
|
+
body:
|
92
|
+
encoding: UTF-8
|
93
|
+
string: |
|
94
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</string></value></param></params></methodCall>
|
95
|
+
headers:
|
96
|
+
User-Agent:
|
97
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
98
|
+
Content-Type:
|
99
|
+
- text/xml; charset=utf-8
|
100
|
+
Content-Length:
|
101
|
+
- '289'
|
102
|
+
Connection:
|
103
|
+
- keep-alive
|
104
|
+
Accept-Encoding:
|
105
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
106
|
+
Accept:
|
107
|
+
- "*/*"
|
108
|
+
response:
|
109
|
+
status:
|
110
|
+
code: 200
|
111
|
+
message: OK
|
112
|
+
headers:
|
113
|
+
Content-Length:
|
114
|
+
- '11027'
|
115
|
+
Connection:
|
116
|
+
- keep-alive
|
117
|
+
Cache-Control:
|
118
|
+
- no-cache, no-store
|
119
|
+
Content-Type:
|
120
|
+
- text/xml
|
121
|
+
Access-Control-Allow-Origin:
|
122
|
+
- "*"
|
123
|
+
Access-Control-Allow-Headers:
|
124
|
+
- X-Requested-With
|
125
|
+
body:
|
126
|
+
encoding: UTF-8
|
127
|
+
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>92d00a04-6696-1517-5ba9-59cca3407c28</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>migrate_send</value><value>pool_migrate</value><value>changing_VCPUs_live</value><value>suspend</value><value>hard_reboot</value><value>hard_shutdown</value><value>clean_reboot</value><value>clean_shutdown</value><value>pause</value><value>checkpoint</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Running</value></member><member><name>name_label</name><value>vm-teste</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>0</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>affinity</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>536870912</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><value>OpaqueRef:dba71304-33f6-3a02-695f-3e329b0cfe26</value><value>OpaqueRef:18f36c93-bca5-f4a4-8f71-7c5dc5279a71</value></data></array></value></member><member><name>VIFs</name><value><array><data><value>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</value></data></array></value></member><member><name>VBDs</name><value><array><data><value>OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b</value><value>OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1</value></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>auto-install/enable=true
|
128
|
+
priority=critical hostname=vm-teste domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com
|
129
|
+
netcfg/choose_interface=eth0 netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0
|
130
|
+
netcfg/get_gateway=192.168.0.1 netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true
|
131
|
+
preseed/url=http://192.168.0.1/vm/seed.cfg -- 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>vgpu_pci</name><value/></member><member><name>mac_seed</name><value>e0c35ca5-755f-5fd3-38fe-c1feb09fc300</value></member><member><name>install-methods</name><value>cdrom</value></member><member><name>install-archs</name><value>amd64</value></member><member><name>install-repository</name><value>cdrom</value></member><member><name>auto_poweron</name><value>true</value></member></struct></value></member><member><name>domid</name><value>2</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct><member><name>vendor</name><value>GenuineIntel</value></member><member><name>features</name><value>77bae3ff-bfebfbff-00000001-28100800</value></member></struct></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8</value></member><member><name>guest_metrics</name><value>OpaqueRef:bbe8e7ec-ad8b-963b-a5a3-66fe7aaa4a7e</value></member><member><name>last_booted_record</name><value>('struct'
|
132
|
+
('uuid' '92d00a04-6696-1517-5ba9-59cca3407c28') ('allowed_operations' ('array'))
|
133
|
+
('current_operations' ('struct' ('OpaqueRef:24be19c0-9fc3-70e9-c3d7-1ad95f53551d'
|
134
|
+
'start'))) ('power_state' 'Halted') ('name_label' 'vm-teste') ('name_description'
|
135
|
+
'') ('user_version' '0') ('is_a_template' ('boolean' '0')) ('suspend_VDI'
|
136
|
+
'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e')
|
137
|
+
('memory_overhead' '6291456') ('memory_target' '0') ('memory_static_max' '536870912')
|
138
|
+
('memory_dynamic_max' '536870912') ('memory_dynamic_min' '536870912') ('memory_static_min'
|
139
|
+
'536870912') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup'
|
140
|
+
'1') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart')
|
141
|
+
('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array'
|
142
|
+
'OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38')) ('VBDs' ('array' 'OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1'
|
143
|
+
'OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b')) ('crash_dumps' ('array'))
|
144
|
+
('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk'
|
145
|
+
'') ('PV_args' 'auto-install/enable=true priority=critical hostname=vm-teste
|
146
|
+
domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com netcfg/choose_interface=eth0
|
147
|
+
netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0 netcfg/get_gateway=192.168.0.1
|
148
|
+
netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true preseed/url=http://192.168.0.1/vm/seed.cfg
|
149
|
+
\ -- quiet console=hvc0') ('PV_bootloader_args' '') ('PV_legacy_args' '')
|
150
|
+
('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier'
|
151
|
+
('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' 'true') ('apic'
|
152
|
+
'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config'
|
153
|
+
('struct' ('vgpu_pci' '') ('mac_seed' 'e0c35ca5-755f-5fd3-38fe-c1feb09fc300')
|
154
|
+
('install-methods' 'cdrom') ('install-archs' 'amd64') ('install-repository'
|
155
|
+
'cdrom'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct'
|
156
|
+
('vendor' 'GenuineIntel') ('features' '77bae3ff-bfebfbff-00000001-28100800')))
|
157
|
+
('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8')
|
158
|
+
('guest_metrics' 'OpaqueRef:42b2196a-f061-5e70-95df-2b162fd51b71') ('last_booted_record'
|
159
|
+
'') ('recommendations' '') ('xenstore_data' ('struct' ('vm-data' ''))) ('ha_always_run'
|
160
|
+
('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0'))
|
161
|
+
('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time'
|
162
|
+
('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '')
|
163
|
+
('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct'))
|
164
|
+
('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL')
|
165
|
+
('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL')
|
166
|
+
('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay'
|
167
|
+
'0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs'
|
168
|
+
('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id'
|
169
|
+
'796383313930932334:3585615837405384095'))</value></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct><member><name>vm-data</name><value/></member></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><member><name>bios-vendor</name><value>Xen</value></member><member><name>bios-version</name><value/></member><member><name>system-manufacturer</name><value>Xen</value></member><member><name>system-product-name</name><value>HVM
|
170
|
+
domU</value></member><member><name>system-version</name><value/></member><member><name>system-serial-number</name><value/></member><member><name>hp-rombios</name><value/></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member></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>796383313930932334:3585615837405384095</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
171
|
+
http_version:
|
172
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
173
|
+
- request:
|
174
|
+
method: post
|
175
|
+
uri: http://192.168.10.2/
|
176
|
+
body:
|
177
|
+
encoding: UTF-8
|
178
|
+
string: |
|
179
|
+
<?xml version="1.0" ?><methodCall><methodName>VIF.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</string></value></param></params></methodCall>
|
180
|
+
headers:
|
181
|
+
User-Agent:
|
182
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
183
|
+
Content-Type:
|
184
|
+
- text/xml; charset=utf-8
|
185
|
+
Content-Length:
|
186
|
+
- '290'
|
187
|
+
Connection:
|
188
|
+
- keep-alive
|
189
|
+
Accept-Encoding:
|
190
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
191
|
+
Accept:
|
192
|
+
- "*/*"
|
193
|
+
response:
|
194
|
+
status:
|
195
|
+
code: 200
|
196
|
+
message: OK
|
197
|
+
headers:
|
198
|
+
Content-Length:
|
199
|
+
- '1848'
|
200
|
+
Connection:
|
201
|
+
- keep-alive
|
202
|
+
Cache-Control:
|
203
|
+
- no-cache, no-store
|
204
|
+
Content-Type:
|
205
|
+
- text/xml
|
206
|
+
Access-Control-Allow-Origin:
|
207
|
+
- "*"
|
208
|
+
Access-Control-Allow-Headers:
|
209
|
+
- X-Requested-With
|
210
|
+
body:
|
211
|
+
encoding: UTF-8
|
212
|
+
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>985cc85e-3509-8e32-16fd-e9399cc2c8b5</value></member><member><name>allowed_operations</name><value><array><data><value>attach</value><value>unplug</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>device</name><value>0</value></member><member><name>network</name><value>OpaqueRef:56960307-dce2-c65b-1964-bcef45fd75aa</value></member><member><name>VM</name><value>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</value></member><member><name>MAC</name><value>1e:a6:49:df:39:73</value></member><member><name>MTU</name><value>1500</value></member><member><name>other_config</name><value><struct/></value></member><member><name>currently_attached</name><value><boolean>1</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>ratelimit</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:b40bdcfa-9abb-6b6a-875a-fdef1fb3af59</value></member><member><name>MAC_autogenerated</name><value><boolean>1</boolean></value></member><member><name>locking_mode</name><value>network_default</value></member><member><name>ipv4_allowed</name><value><array><data/></array></value></member><member><name>ipv6_allowed</name><value><array><data/></array></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
213
|
+
http_version:
|
214
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
215
|
+
- request:
|
216
|
+
method: post
|
217
|
+
uri: http://192.168.10.2/
|
218
|
+
body:
|
219
|
+
encoding: UTF-8
|
220
|
+
string: |
|
221
|
+
<?xml version="1.0" ?><methodCall><methodName>VM.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</string></value></param></params></methodCall>
|
222
|
+
headers:
|
223
|
+
User-Agent:
|
224
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
225
|
+
Content-Type:
|
226
|
+
- text/xml; charset=utf-8
|
227
|
+
Content-Length:
|
228
|
+
- '289'
|
229
|
+
Connection:
|
230
|
+
- keep-alive
|
231
|
+
Accept-Encoding:
|
232
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
233
|
+
Accept:
|
234
|
+
- "*/*"
|
235
|
+
response:
|
236
|
+
status:
|
237
|
+
code: 200
|
238
|
+
message: OK
|
239
|
+
headers:
|
240
|
+
Content-Length:
|
241
|
+
- '11027'
|
242
|
+
Connection:
|
243
|
+
- keep-alive
|
244
|
+
Cache-Control:
|
245
|
+
- no-cache, no-store
|
246
|
+
Content-Type:
|
247
|
+
- text/xml
|
248
|
+
Access-Control-Allow-Origin:
|
249
|
+
- "*"
|
250
|
+
Access-Control-Allow-Headers:
|
251
|
+
- X-Requested-With
|
252
|
+
body:
|
253
|
+
encoding: UTF-8
|
254
|
+
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>92d00a04-6696-1517-5ba9-59cca3407c28</value></member><member><name>allowed_operations</name><value><array><data><value>changing_dynamic_range</value><value>migrate_send</value><value>pool_migrate</value><value>changing_VCPUs_live</value><value>suspend</value><value>hard_reboot</value><value>hard_shutdown</value><value>clean_reboot</value><value>clean_shutdown</value><value>pause</value><value>checkpoint</value><value>snapshot</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>power_state</name><value>Running</value></member><member><name>name_label</name><value>vm-teste</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>0</boolean></value></member><member><name>suspend_VDI</name><value>OpaqueRef:NULL</value></member><member><name>resident_on</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>affinity</name><value>OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e</value></member><member><name>memory_overhead</name><value>6291456</value></member><member><name>memory_target</name><value>536870912</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><value>OpaqueRef:dba71304-33f6-3a02-695f-3e329b0cfe26</value><value>OpaqueRef:18f36c93-bca5-f4a4-8f71-7c5dc5279a71</value></data></array></value></member><member><name>VIFs</name><value><array><data><value>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</value></data></array></value></member><member><name>VBDs</name><value><array><data><value>OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b</value><value>OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1</value></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>auto-install/enable=true
|
255
|
+
priority=critical hostname=vm-teste domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com
|
256
|
+
netcfg/choose_interface=eth0 netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0
|
257
|
+
netcfg/get_gateway=192.168.0.1 netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true
|
258
|
+
preseed/url=http://192.168.0.1/vm/seed.cfg -- 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>vgpu_pci</name><value/></member><member><name>mac_seed</name><value>e0c35ca5-755f-5fd3-38fe-c1feb09fc300</value></member><member><name>install-methods</name><value>cdrom</value></member><member><name>install-archs</name><value>amd64</value></member><member><name>install-repository</name><value>cdrom</value></member><member><name>auto_poweron</name><value>true</value></member></struct></value></member><member><name>domid</name><value>2</value></member><member><name>domarch</name><value/></member><member><name>last_boot_CPU_flags</name><value><struct><member><name>vendor</name><value>GenuineIntel</value></member><member><name>features</name><value>77bae3ff-bfebfbff-00000001-28100800</value></member></struct></value></member><member><name>is_control_domain</name><value><boolean>0</boolean></value></member><member><name>metrics</name><value>OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8</value></member><member><name>guest_metrics</name><value>OpaqueRef:bbe8e7ec-ad8b-963b-a5a3-66fe7aaa4a7e</value></member><member><name>last_booted_record</name><value>('struct'
|
259
|
+
('uuid' '92d00a04-6696-1517-5ba9-59cca3407c28') ('allowed_operations' ('array'))
|
260
|
+
('current_operations' ('struct' ('OpaqueRef:24be19c0-9fc3-70e9-c3d7-1ad95f53551d'
|
261
|
+
'start'))) ('power_state' 'Halted') ('name_label' 'vm-teste') ('name_description'
|
262
|
+
'') ('user_version' '0') ('is_a_template' ('boolean' '0')) ('suspend_VDI'
|
263
|
+
'OpaqueRef:NULL') ('resident_on' 'OpaqueRef:NULL') ('affinity' 'OpaqueRef:1500e92a-ff9c-119f-de60-541ed4ba565e')
|
264
|
+
('memory_overhead' '6291456') ('memory_target' '0') ('memory_static_max' '536870912')
|
265
|
+
('memory_dynamic_max' '536870912') ('memory_dynamic_min' '536870912') ('memory_static_min'
|
266
|
+
'536870912') ('VCPUs_params' ('struct')) ('VCPUs_max' '1') ('VCPUs_at_startup'
|
267
|
+
'1') ('actions_after_shutdown' 'destroy') ('actions_after_reboot' 'restart')
|
268
|
+
('actions_after_crash' 'restart') ('consoles' ('array')) ('VIFs' ('array'
|
269
|
+
'OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38')) ('VBDs' ('array' 'OpaqueRef:c1a9ed7a-3b9b-ffe8-d9bf-90841b9eb1b1'
|
270
|
+
'OpaqueRef:326af829-79e4-737e-2498-6dd5efc08b2b')) ('crash_dumps' ('array'))
|
271
|
+
('VTPMs' ('array')) ('PV_bootloader' 'pygrub') ('PV_kernel' '') ('PV_ramdisk'
|
272
|
+
'') ('PV_args' 'auto-install/enable=true priority=critical hostname=vm-teste
|
273
|
+
domain=zerticolabs.com netcfg/domainname=vm-teste.zerticolabs.com netcfg/choose_interface=eth0
|
274
|
+
netcfg/get_ipaddress=192.168.1.60 netcfg/get_netmask=255.255.0.0 netcfg/get_gateway=192.168.0.1
|
275
|
+
netcfg/get_nameservers=8.8.8.8 netcfg/disable_dhcp=true preseed/url=http://192.168.0.1/vm/seed.cfg
|
276
|
+
\ -- quiet console=hvc0') ('PV_bootloader_args' '') ('PV_legacy_args' '')
|
277
|
+
('HVM_boot_policy' '') ('HVM_boot_params' ('struct')) ('HVM_shadow_multiplier'
|
278
|
+
('double' '1')) ('platform' ('struct' ('nx' 'true') ('acpi' 'true') ('apic'
|
279
|
+
'true') ('pae' 'true') ('viridian' 'true'))) ('PCI_bus' '') ('other_config'
|
280
|
+
('struct' ('vgpu_pci' '') ('mac_seed' 'e0c35ca5-755f-5fd3-38fe-c1feb09fc300')
|
281
|
+
('install-methods' 'cdrom') ('install-archs' 'amd64') ('install-repository'
|
282
|
+
'cdrom'))) ('domid' '-1') ('domarch' '') ('last_boot_CPU_flags' ('struct'
|
283
|
+
('vendor' 'GenuineIntel') ('features' '77bae3ff-bfebfbff-00000001-28100800')))
|
284
|
+
('is_control_domain' ('boolean' '0')) ('metrics' 'OpaqueRef:8431b752-ea59-2774-2d0c-4ec586f90bd8')
|
285
|
+
('guest_metrics' 'OpaqueRef:42b2196a-f061-5e70-95df-2b162fd51b71') ('last_booted_record'
|
286
|
+
'') ('recommendations' '') ('xenstore_data' ('struct' ('vm-data' ''))) ('ha_always_run'
|
287
|
+
('boolean' '0')) ('ha_restart_priority' '') ('is_a_snapshot' ('boolean' '0'))
|
288
|
+
('snapshot_of' 'OpaqueRef:NULL') ('snapshots' ('array')) ('snapshot_time'
|
289
|
+
('dateTime.iso8601' '19700101T00:00:00Z')) ('transportable_snapshot_id' '')
|
290
|
+
('blobs' ('struct')) ('tags' ('array')) ('blocked_operations' ('struct'))
|
291
|
+
('snapshot_info' ('struct')) ('snapshot_metadata' '') ('parent' 'OpaqueRef:NULL')
|
292
|
+
('children' ('array')) ('bios_strings' ('struct')) ('protection_policy' 'OpaqueRef:NULL')
|
293
|
+
('is_snapshot_from_vmpp' ('boolean' '0')) ('appliance' 'OpaqueRef:NULL') ('start_delay'
|
294
|
+
'0') ('shutdown_delay' '0') ('order' '0') ('VGPUs' ('array')) ('attached_PCIs'
|
295
|
+
('array')) ('suspend_SR' 'OpaqueRef:NULL') ('version' '0') ('generation_id'
|
296
|
+
'796383313930932334:3585615837405384095'))</value></member><member><name>recommendations</name><value/></member><member><name>xenstore_data</name><value><struct><member><name>vm-data</name><value/></member></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><member><name>bios-vendor</name><value>Xen</value></member><member><name>bios-version</name><value/></member><member><name>system-manufacturer</name><value>Xen</value></member><member><name>system-product-name</name><value>HVM
|
297
|
+
domU</value></member><member><name>system-version</name><value/></member><member><name>system-serial-number</name><value/></member><member><name>hp-rombios</name><value/></member><member><name>oem-1</name><value>Xen</value></member><member><name>oem-2</name><value>MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d</value></member></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>796383313930932334:3585615837405384095</value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
298
|
+
http_version:
|
299
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
300
|
+
- request:
|
301
|
+
method: post
|
302
|
+
uri: http://192.168.10.2/
|
303
|
+
body:
|
304
|
+
encoding: UTF-8
|
305
|
+
string: |
|
306
|
+
<?xml version="1.0" ?><methodCall><methodName>VIF.get_record</methodName><params><param><value><string>OpaqueRef:3364a807-6433-eb77-84fd-f3452db26947</string></value></param><param><value><string>OpaqueRef:5f28f7de-7349-2f11-ec08-cee09e61de38</string></value></param></params></methodCall>
|
307
|
+
headers:
|
308
|
+
User-Agent:
|
309
|
+
- XMLRPC::Client (Ruby 2.1.2)
|
310
|
+
Content-Type:
|
311
|
+
- text/xml; charset=utf-8
|
312
|
+
Content-Length:
|
313
|
+
- '290'
|
314
|
+
Connection:
|
315
|
+
- keep-alive
|
316
|
+
Accept-Encoding:
|
317
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
318
|
+
Accept:
|
319
|
+
- "*/*"
|
320
|
+
response:
|
321
|
+
status:
|
322
|
+
code: 200
|
323
|
+
message: OK
|
324
|
+
headers:
|
325
|
+
Content-Length:
|
326
|
+
- '1848'
|
327
|
+
Connection:
|
328
|
+
- keep-alive
|
329
|
+
Cache-Control:
|
330
|
+
- no-cache, no-store
|
331
|
+
Content-Type:
|
332
|
+
- text/xml
|
333
|
+
Access-Control-Allow-Origin:
|
334
|
+
- "*"
|
335
|
+
Access-Control-Allow-Headers:
|
336
|
+
- X-Requested-With
|
337
|
+
body:
|
338
|
+
encoding: UTF-8
|
339
|
+
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>985cc85e-3509-8e32-16fd-e9399cc2c8b5</value></member><member><name>allowed_operations</name><value><array><data><value>attach</value><value>unplug</value></data></array></value></member><member><name>current_operations</name><value><struct/></value></member><member><name>device</name><value>0</value></member><member><name>network</name><value>OpaqueRef:56960307-dce2-c65b-1964-bcef45fd75aa</value></member><member><name>VM</name><value>OpaqueRef:2a9b32e7-7f13-8f2b-dd85-37ab7fd596a7</value></member><member><name>MAC</name><value>1e:a6:49:df:39:73</value></member><member><name>MTU</name><value>1500</value></member><member><name>other_config</name><value><struct/></value></member><member><name>currently_attached</name><value><boolean>1</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>ratelimit</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:b40bdcfa-9abb-6b6a-875a-fdef1fb3af59</value></member><member><name>MAC_autogenerated</name><value><boolean>1</boolean></value></member><member><name>locking_mode</name><value>network_default</value></member><member><name>ipv4_allowed</name><value><array><data/></array></value></member><member><name>ipv6_allowed</name><value><array><data/></array></value></member></struct></value></member></struct></value></param></params></methodResponse>"
|
340
|
+
http_version:
|
341
|
+
recorded_at: Fri, 19 Sep 2014 15:48:05 GMT
|
342
|
+
recorded_with: VCR 2.9.3
|