vmware/pyvmomi-community-samples

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

Aperta

#479 aperta il 19 apr 2018

 (1 commento) (0 reazioni) (0 assegnatari)Python (914 fork)batch import
help wanted

Metriche repository

Star
 (972 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor