2 Replies Latest reply on Oct 4, 2019 6:52 AM by ALTA2048

    VID , SID etc  display issue

    ALTA2048 Lurker

      Hello All,

       

      I hope everybody is ok.Here is my question:

       

      $viewhostsystemblabla01 =  Get-View -viewtype hostsystem -filter @{ name = 'blabla01'}

       

      $viewhostsystemblabla01.hardware.PciDevice

       

      List of properties Name:

       

      Bus

      ClassId

      DeviceId

      DeviceName

      Function

      Id

      ParentBridge

      Slot

      SubDeviceId

      SubVendorId

      VendorId

      VendorName

       

      Some of the Name for the following are  displayed in a specific format :

       

      SubDeviceId

      SubVendorId

      VendorId

      VendorName

       

      I think it is related to this:

       

      https://www.vmware.com/support/orchestrator/doc/vro-vsphere65-api/html/VcHostPciDevice.html

      The vendor ID of this PCI.

      The vendor ID might be a negative value. A vSphere Server uses an unsigned short integer to represent a PCI vendor ID. The WSDL representation of the ID is a signed short integer. If the vendor ID is greater than 32767, the Server will convert the ID to its two's complement for the WSDL representation. When you specify a PCI device vendor ID for a virtual machine ({@link vim.vm.device.VirtualPCIPassthrough.DeviceBackingInfo}.vendorId), you must use the retrieved {@link vim.host.PciDevice}.deviceId value. @since VI API 2.5

       

       

      We would like to have another format , One that is  similar to this  : VMware Compatibility Guide - I/O Device Search

       

      Sorry if this was posted before.

       

      Regards