vmware/pyvmomi-community-samples

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

Open

#479 opened on Apr 19, 2018

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Python (914 forks)batch import
help wanted

Repository metrics

Stars
 (972 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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! :-)

Contributor guide