lib/rbvmomi/vim/VirtualMachine.rb in rbvmomi-1.11.1 vs lib/rbvmomi/vim/VirtualMachine.rb in rbvmomi-1.11.2
- old
+ new
@@ -6,13 +6,9 @@
# @return [Hash] Keyed by device label.
def macs
Hash[self.config.hardware.device.grep(RbVmomi::VIM::VirtualEthernetCard).map { |x| [x.deviceInfo.label, x.macAddress] }]
end
- def network
- Hash[self.config.hardware.device.grep(RbVmomi::VIM::VirtualEthernetCard).map { |x| [x.deviceInfo.label, x.deviceInfo.summary] }]
- end
-
# Retrieve all virtual disk devices.
# @return [Array] Array of virtual disk devices.
def disks
self.config.hardware.device.grep(RbVmomi::VIM::VirtualDisk)
end