use of com.emc.storageos.geomodel.VdcPostCheckParam in project coprhd-controller by CoprHD.
the class ConnectVdcTaskOp method statusUpdate.
private void statusUpdate() {
// step 5: update vdc connection status if post check succeed at each site
List<VirtualDataCenter> vdcList = getToBeSyncedVdc();
// fill the check param
VdcPostCheckParam checkParam = new VdcPostCheckParam();
checkParam.setConfigChangeType(changeType().toString());
checkParam.setRootTenantId(helper.getVdcRootTenantId());
// all connected vdc
List<URI> vdcIds = new ArrayList<>();
for (VirtualDataCenter vdc : vdcList) {
vdcIds.add(vdc.getId());
}
vdcIds.add(myVdc.getId());
checkParam.setVdcList(vdcIds);
log.info("status update to {}", checkParam.getVdcList());
sendPostCheckMsg(vdcList, checkParam);
}
Aggregations