use of org.ovirt.engine.core.dao.VdsDynamicDao in project ovirt-engine by oVirt.
the class CollectVdsNetworkDataAfterInstallationVDSCommand method persistCollectedData.
@Override
protected void persistCollectedData() {
super.persistCollectedData();
VdsDynamicDao vdsDynamicDao = DbFacade.getInstance().getVdsDynamicDao();
VdsDynamic hostFromDb = vdsDynamicDao.get(getVds().getId());
hostFromDb.setSupportedClusterLevels(getVds().getDynamicData().getSupportedClusterLevels());
vdsDynamicDao.update(hostFromDb);
}
Aggregations