Пример #1
0
 def _get_vmdk_base_volume_device(self, volume_ref):
     # Get the vmdk file name that the VM is pointing to
     hardware_devices = self._session._call_method(
                                                 vutil,
                                                 "get_object_property",
                                                 volume_ref,
                                                 "config.hardware.device")
     return vm_util.get_vmdk_volume_disk(hardware_devices)
Пример #2
0
 def _get_vmdk_base_volume_device(self, volume_ref):
     # Get the vmdk file name that the VM is pointing to
     hardware_devices = self._session._call_method(
                                                 vutil,
                                                 "get_object_property",
                                                 volume_ref,
                                                 "config.hardware.device")
     return vm_util.get_vmdk_volume_disk(hardware_devices)
Пример #3
0
 def _get_vmdk_base_volume_device(self, volume_ref):
     # Get the vmdk file name that the VM is pointing to
     hardware_devices = vm_util.get_hardware_devices(self._session,
                                                     volume_ref)
     return vm_util.get_vmdk_volume_disk(hardware_devices)