Project

General

Profile

Bug #2612 » fog-1.9.0-foreman1.1-stable.txt

fog 1.9.0 foreman-1.1-stable - Ronny M, 06/10/2013 02:58 PM

 
f=Fog::Compute.new(:provider => "vsphere", :vsphere_username => "Administrator", :vsphere_password=> "xxxxxxx", :vsphere_server => "192.168.88.151", :vsphere_expected_pubkey_hash => "425f4599cd4f1939c3372ffb2dcc822b5ab200b4ddca7b7a774961a3d28c4484")
#<Fog::Compute::Vsphere::Real:70073932795560 @vsphere_is_vcenter=true @connection=#<RbVmomi::VIM:0x7f76b7be8298 @cookie="vmware_soap_session=\"527d4ad1-93c8-952d-e27d-01fd6d0ea60e\"; Path=/; HttpOnly;", @debug=nil, @profile={}, @serviceContent=#<RbVmomi::VIM::ServiceContent:0x7f76b7b527e8 @props={:rootFolder=>#<RbVmomi::VIM::Folder:0x7f76b7b63e80 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="group-d1">, :eventManager=>#<RbVmomi::VIM::EventManager:0x7f76b7b5b578 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="EventManager">, :snmpSystem=>#<RbVmomi::VIM::HostSnmpSystem:0x7f76b7b58328 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="SnmpSystem">, :propertyCollector=>#<RbVmomi::VIM::PropertyCollector:0x7f76b7b63c00 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="propertyCollector">, :userDirectory=>#<RbVmomi::VIM::UserDirectory:0x7f76b7b5cb80 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="UserDirectory">, :diagnosticManager=>#<RbVmomi::VIM::DiagnosticManager:0x7f76b7b59ea8 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="DiagMgr">, :hostProfileManager=>#<RbVmomi::VIM::HostProfileManager:0x7f76b7b55c40 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="HostProfileManager">, :viewManager=>#<RbVmomi::VIM::ViewManager:0x7f76b7b63958 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="ViewManager">, :about=>#<RbVmomi::VIM::AboutInfo:0x7f76b7b61108 @props={:build=>"455964", :osType=>"win32-x64", :version=>"5.0.0", :productLineId=>"vpx", :apiVersion=>"5.0", :licenseProductName=>"VMware VirtualCenter Server", :fullName=>"VMware vCenter Server 5.0.0 build-455964", :vendor=>"VMware, Inc.", :dynamicProperty=>[], :apiType=>"VirtualCenter", :licenseProductVersion=>"5.0", :localeVersion=>"INTL", :instanceUuid=>"B24EEC78-07DD-4821-BE61-E27B5B06F725", :name=>"VMware vCenter Server", :localeBuild=>"000"}>, :taskManager=>#<RbVmomi::VIM::TaskManager:0x7f76b7b5b140 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="TaskManager">, :vmProvisioningChecker=>#<RbVmomi::VIM::VirtualMachineProvisioningChecker:0x7f76b7b57d10 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="ProvChecker">, :authorizationManager=>#<RbVmomi::VIM::AuthorizationManager:0x7f76b7b5c4c8 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="AuthorizationManager">, :licenseManager=>#<RbVmomi::VIM::LicenseManager:0x7f76b7b59980 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="LicenseManager">, :clusterProfileManager=>#<RbVmomi::VIM::ClusterProfileManager:0x7f76b7b55538 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="ClusterProfileManager">, :extensionManager=>#<RbVmomi::VIM::ExtensionManager:0x7f76b7b5ace0 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="ExtensionManager">, :vmCompatibilityChecker=>#<RbVmomi::VIM::VirtualMachineCompatibilityChecker:0x7f76b7b576d0 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="CompatChecker">, :perfManager=>#<RbVmomi::VIM::PerformanceManager:0x7f76b7b5c130 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="PerfMgr">, :fileManager=>#<RbVmomi::VIM::FileManager:0x7f76b7b58eb8 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="FileManager">, :complianceManager=>#<RbVmomi::VIM::ProfileComplianceManager:0x7f76b7b54e08 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="MoComplianceManager">, :dynamicProperty=>[], :customizationSpecManager=>#<RbVmomi::VIM::CustomizationSpecManager:0x7f76b7b5a858 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="CustomizationSpecManager">, :ovfManager=>#<RbVmomi::VIM::OvfManager:0x7f76b7b57068 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="OvfManager">, :scheduledTaskManager=>#<RbVmomi::VIM::ScheduledTaskManager:0x7f76b7b5bd70 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="ScheduledTaskManager">, :searchIndex=>#<RbVmomi::VIM::SearchIndex:0x7f76b7b59430 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="SearchIndex">, :virtualDiskManager=>#<RbVmomi::VIM::VirtualDiskManager:0x7f76b7b58918 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="virtualDiskManager">, :localizationManager=>#<RbVmomi::VIM::LocalizationManager:0x7f76b7b546b0 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="LocalizationManager">, :sessionManager=>#<RbVmomi::VIM::SessionManager:0x7f76b7b5c838 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="SessionManager">, :customFieldsManager=>#<RbVmomi::VIM::CustomFieldsManager:0x7f76b7b5a3a8 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="CustomFieldsManager">, :ipPoolManager=>#<RbVmomi::VIM::IpPoolManager:0x7f76b7b569d8 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="IpPoolManager">, :alarmManager=>#<RbVmomi::VIM::AlarmManager:0x7f76b7b5b988 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="AlarmManager">, :storageResourceManager=>#<RbVmomi::VIM::StorageResourceManager:0x7f76b7b52838 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="StorageResourceManager">, :setting=>#<RbVmomi::VIM::OptionManager:0x7f76b7b5cea0 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="VpxSettings">, :dvSwitchManager=>#<RbVmomi::VIM::DistributedVirtualSwitchManager:0x7f76b7b56320 @connection=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @soap=#<RbVmomi::VIM:0x7f76b7be8298 ...>, @ref="DVSManager">}>, @lock=#<Mutex:0x7f76b7be81a8>, @deserializer=#<RbVmomi::OldDeserializer:0x7f76b7be8248 @conn=#<RbVmomi::VIM:0x7f76b7be8298 ...>>, @profiling=false, @http=#<Net::HTTP 192.168.88.151:443 open=true>, @opts={:ssl=>true, :rev=>"4.0", :insecure=>true, :ns=>"urn:vim25", :port=>443, :path=>"/sdk", :host=>"192.168.88.151"}, @rev="4.1", @ns="urn:vim25", @profile_summary={:response_parse=>0, :num_calls=>0, :network_latency=>0, :request_emit=>0}> @vsphere_username="Administrator" @vsphere_path="/sdk" @vsphere_expected_pubkey_hash="425f4599cd4f1939c3372ffb2dcc822b5ab200b4ddca7b7a774961a3d28c4484" @vsphere_must_reauthenticate=false @vsphere_port=443 @vsphere_server="192.168.88.151" @vsphere_ssl=true @vsphere_rev="4.1" @vsphere_password="xxxxxxx" @vsphere_ns="urn:vim25">
>>
?> f.servers
<Fog::Compute::Vsphere::Servers
[
<Fog::Compute::Vsphere::Server
id="503d36b0-e806-94cf-6bce-3aeb10cac3c8",
name="test",
uuid="423dfa24-45d5-c5c9-155c-877cbc70a8e8",
hostname=nil,
operatingsystem=nil,
public_ip_address=nil,
power_state="poweredOff",
tools_state="toolsNotInstalled",
tools_version="guestToolsNotInstalled",
mac_addresses={"Network adapter 1"=>"00:50:56:bd:1c:c3"},
hypervisor="192.168.88.128",
connection_state="connected",
mo_ref="vm-202",
path="/",
relative_path="Servers",
memory_mb=1024,
cpus=1,
interfaces= <Fog::Compute::Vsphere::Interfaces
[
<Fog::Compute::Vsphere::Interface
mac="00:50:56:bd:1c:c3",
network="VM Network",
name="Network adapter 1",
status="untried",
summary="VM Network",
type=VirtualPCNet32
>
]
>,
volumes= <Fog::Compute::Vsphere::Volumes
[
<Fog::Compute::Vsphere::Volume
id="6000C29c-9139-5789-40df-f26cf6025f3c",
datastore="datastore1",
mode="persistent",
size=1048576,
thin=false,
name="Hard disk 1",
filename="[datastore1] test/test.vmdk",
size_gb=1
>
]
>,
overall_status="green",
cluster="thuis",
datacenter="CJIB",
resource_pool="Resources",
instance_uuid="503d36b0-e806-94cf-6bce-3aeb10cac3c8",
guest_id="otherGuest"
>
]
>
>>
(9-9/12)