Java 类com.vmware.vim25.HostStorageDeviceInfo 实例源码

项目:vijava    文件:PrintStorageSystem.java   
static void printStorageDeviceInfo(HostStorageDeviceInfo hsdi)
{
  System.out.println("\nHost bus adapters");
  printHBAs(hsdi.getHostBusAdapter());

  System.out.println("\nMultipath information");
  HostMultipathInfo hmi = hsdi.getMultipathInfo();
  printMultiPathInfo(hmi);

  System.out.println("\nSCSI LUNs");
  printScsiLuns(hsdi.getScsiLun());

  HostScsiTopology hst = hsdi.getScsiTopology();
  printScsiTopology(hst);

  System.out.println("\nSoftware iSCSI enabled:" 
      + hsdi.isSoftwareInternetScsiEnabled());
}
项目:cloudstack    文件:HostStorageSystemMO.java   
public HostStorageDeviceInfo getStorageDeviceInfo() throws Exception {
    return (HostStorageDeviceInfo)_context.getVimClient().getDynamicProperty(_mor, "storageDeviceInfo");
}