Search in sources :

Example 1 with VsanHostConfigInfo

use of com.vmware.vim25.VsanHostConfigInfo in project photon-model by vmware.

the class ComputeResourceOverlay method getVsanHostConfig.

public List<VsanHostConfigInfo> getVsanHostConfig() {
    ClusterConfigInfoEx info = getClusterConfigInfoEx();
    List<VsanHostConfigInfo> hostConfig = new ArrayList<>();
    if (null != info) {
        hostConfig.addAll(info.getVsanHostConfig());
    }
    return hostConfig;
}
Also used : ClusterConfigInfoEx(com.vmware.vim25.ClusterConfigInfoEx) ArrayList(java.util.ArrayList) VsanHostConfigInfo(com.vmware.vim25.VsanHostConfigInfo)

Aggregations

ClusterConfigInfoEx (com.vmware.vim25.ClusterConfigInfoEx)1 VsanHostConfigInfo (com.vmware.vim25.VsanHostConfigInfo)1 ArrayList (java.util.ArrayList)1