use of com.vmware.vim25.VsanClusterConfigInfo in project photon-model by vmware.
the class ComputeResourceOverlay method isVsanEnabled.
public boolean isVsanEnabled() {
ClusterConfigInfoEx info = getClusterConfigInfoEx();
Boolean isVsanEnabled = false;
if (null != info) {
VsanClusterConfigInfo vsanConfig = info.getVsanConfigInfo();
isVsanEnabled = null == vsanConfig ? false : vsanConfig.isEnabled();
}
return isVsanEnabled;
}
use of com.vmware.vim25.VsanClusterConfigInfo in project photon-model by vmware.
the class ComputeResourceOverlay method getVsanConfigId.
public String getVsanConfigId() {
ClusterConfigInfoEx info = getClusterConfigInfoEx();
String vsanConfigId = "";
if (null != info) {
VsanClusterConfigInfo vsanConfig = info.getVsanConfigInfo();
vsanConfigId = null == vsanConfig.getDefaultConfig().getUuid() ? "" : vsanConfig.getDefaultConfig().getUuid();
}
return vsanConfigId;
}
Aggregations