vmware/pyvmomi-community-samples

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

Ouverte

#479 ouverte le 19 avr. 2018

 (1 commentaire) (0 réaction) (0 personne assignée)Python (914 forks)batch import
help wanted

Métriques du dépôt

Stars
 (972 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur