class HostResourcesService {

    protected void loadHostOverprovisioningFactors(HostResources host) {
        ConfigurationVO configVO = configurationDao.findByName(CPU_OVERPROVISIONING_CONFIGURARTION_NAME);
        host.setCpuOverprovisioning(Float.parseFloat(configVO.getValue()));

        configVO = configurationDao.findByName(MEMORY_OVERPROVISIONING_CONFIGURARTION_NAME);
        host.setMemoryOverprovisioning(Float.parseFloat(configVO.getValue()));
    }

}