Search in sources :

Example 1 with VdsDynamicDao

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);
}
Also used : VdsDynamic(org.ovirt.engine.core.common.businessentities.VdsDynamic) VdsDynamicDao(org.ovirt.engine.core.dao.VdsDynamicDao)

Aggregations

VdsDynamic (org.ovirt.engine.core.common.businessentities.VdsDynamic)1 VdsDynamicDao (org.ovirt.engine.core.dao.VdsDynamicDao)1