vmware/pyvmomi-community-samples

How do I get Datastore SCSI Device name/identifier and it's type: VMFS/RDM?

开放

#479 创建于 2018年4月19日

 (1 条评论) (0 个反应) (0 位负责人)Python (914 个派生)batch import
help wanted

仓库指标

星标
 (972 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Greetings to you! How do I get ESXi Server's Datastore SCSI Device name and it's type: VMFS/RDM using pyvmomi namespace?

For example:

Name,Identifier,LUN,Type,Capacity,Operational State,Hardware Acceleration,Drive Type,Transport HITACHI Fibre Channel Disk (naa.60060e8022120d005041120d0000012c),naa.60060e8022120d005041120d0000012c,42,disk,"4,00 TB",Attached,Supported,HDD,Fibre Channel

Name,Identifier,LUN,Type,Capacity,Operational State,Hardware Acceleration,Drive Type,Transport PRDM-HITACHI Fibre Channel Disk (naa.60060e80103d6dd0057fa1ad0000006d),naa.60060e80103d6dd0057fa1ad0000006d,206,disk,"100,00 GB",Attached,Supported,HDD,Fibre Channel

And how to get datastore/device type (VMFS/RDM/Local/Other...)?

Biiiig thanks in advance! Good luck to you! :-)

贡献者指南