vmware/pyvmomi-community-samples

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

Offen

#479 geöffnet am 19.04.2018

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (914 Forks)batch import
help wanted

Repository-Metriken

Stars
 (972 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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