mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #4965: Reuse existing vCenter connection
to test connectivity (cherry picked from commit e4eaeb83d0e5236001ecbfda3b10291fe2077ae0)
This commit is contained in:
parent
3dde5d1ea9
commit
7f64cfac8f
@ -147,8 +147,7 @@ class Cluster
|
||||
|
||||
# Try connectivity to a vCenter instance and close the connection
|
||||
def beacon_host
|
||||
vi_client = VCenterDriver::VIClient.new(connection, @host.id)
|
||||
vi_client.close_connection
|
||||
@vic.vim.serviceContent.about.instanceUuid
|
||||
Time.now.to_s
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user