Gilad Chaplik has posted comments on this change.

Change subject: userportal,webadmin: implement VM builder
......................................................................


Patch Set 9: (2 inline comments)

....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/builders/vm/KernelParamsAndIdVmToVmBuilder.java
Line 7: public class KernelParamsAndIdVmToVmBuilder extends BaseSyncBuilder<VM, 
VM> {
Line 8: 
Line 9:     @Override
Line 10:     protected void build(VM source, VM destination) {
Line 11:       destination.setId(source.getId());
why Id here?
Line 12:       destination.setInitrdUrl(source.getInitrdUrl());
Line 13:       destination.setKernelUrl(source.getKernelUrl());
Line 14:       destination.setKernelParams(source.getKernelParams());
Line 15:     }


....................................................
File 
frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/builders/vm/MigrationSupportVmToUnitBuilder.java
Line 18:         } else {
Line 19:             backend.setDedicatedVmForVds(defaultHost.getId());
Line 20:         }
Line 21: 
Line 22:         backend.setMigrationSupport((MigrationSupport) 
frontend.getMigrationMode().getSelectedItem());
this is the part that should be separated to HA..builder
Line 23:         backend.setUseHostCpuFlags((Boolean) 
frontend.getHostCpu().getEntity());
Line 24:     }
Line 25: 


--
To view, visit http://gerrit.ovirt.org/13915
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I54d938896e469c73800297c3d66185a439243a41
Gerrit-PatchSet: 9
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjeli...@redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkap...@redhat.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Daniel Erez <de...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skriva...@redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjeli...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to