use of org.ovirt.engine.ui.uicommonweb.models.vms.register.VnicProfileMappingModel in project ovirt-engine by oVirt.
the class RegisterEntityModel method onVnicProfileMappingCommand.
private void onVnicProfileMappingCommand() {
Map<Cluster, Set<VnicProfileMappingEntity>> result = updateExternalVnicProfilesPerTargetCluster();
setExternalVnicProfilesPerTargetCluster(result);
// pass the updated profile mappings to the model so it can display updated values in the dialog
vnicProfileMappingModel = new VnicProfileMappingModel(this, externalVnicProfilesPerTargetCluster);
// while initializing the model the current vnic profiles are fetched from the backend and the target profiles
// are adjusted accordingly
vnicProfileMappingModel.initialize();
setWindow(vnicProfileMappingModel);
}
Aggregations