Gilad Chaplik has posted comments on this change.

Change subject: engine: Numa feature entities
......................................................................


Patch Set 27: Verified+1 Code-Review+2

(5 comments)

One tiny comment in VdsNumaNode.java that needs addressing, for the others, 
reply if you have spare time, otherwise you can ignore them.

acked and verified as well, ready to be merged.

http://gerrit.ovirt.org/#/c/23702/27/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDS.java:

Line 1363:         return mVdsDynamic.isNumaSupport();
Line 1364:     }
Line 1365: 
Line 1366:     public void setNumaSupport(boolean numaSupport) {
Line 1367:         mVdsDynamic.setNumaSupport(numaSupport);
looks good...
Line 1368:     }
Line 1369: 


http://gerrit.ovirt.org/#/c/23702/27/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsNumaNode.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsNumaNode.java:

Line 10: /**
Line 11:  * Object which represents host NUMA node information
Line 12:  *
Line 13:  */
Line 14: public class VdsNumaNode extends IVdcQueryable implements 
BusinessEntity<Guid> {
I think it should also implement Serializable iface explicitly, its a GWT issue.
Line 15: 
Line 16:     private static final long serialVersionUID = -683066053231559224L;
Line 17: 
Line 18:     private Guid id;


http://gerrit.ovirt.org/#/c/23702/27/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatistics.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VdsStatistics.java:

Line 37:     private boolean highlyAvailableIsActive;
Line 38:     private boolean highlyAvailableGlobalMaintenance;
Line 39:     private boolean highlyAvailableLocalMaintenance;
Line 40: 
Line 41:     private List<CpuStatistics> cpuCoreStatistics;
new addition. good!
Line 42: 
Line 43:     public VdsStatistics() {
Line 44:         this.cpu_idle = BigDecimal.ZERO;
Line 45:         this.cpu_load = BigDecimal.ZERO;


http://gerrit.ovirt.org/#/c/23702/27/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmNumaNode.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmNumaNode.java:

Line 21: 
Line 22:     /**
Line 23:      * @return vNUMA node pair list; first is the pNUMA node index, 
second is boolean for pinned or not (TRUE=pinned)
Line 24:      */
Line 25:     public List<Pair<Integer, Boolean>> getVdsNumaNodeList() {
I'm debating with myself if the pNuma node should be presented by its UUID 
instead of index id, what do you say?
Line 26:         return vdsNumaNodeList;
Line 27:     }
Line 28: 
Line 29:     public void setVdsNumaNodeList(List<Pair<Integer, Boolean>> 
vdsNumaNodeList) {


http://gerrit.ovirt.org/#/c/23702/27/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmStatic.java
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmStatic.java:

Line 70:         setDefaultBootSequence(BootSequence.C);
Line 71:         setDefaultDisplayType(DisplayType.qxl);
Line 72:         setVmType(VmType.Desktop);
Line 73:         vmtGuid = Guid.Empty;
Line 74:         setNumaTuneMode(NumaTuneMode.PREFERRED);
why you changed the default? don't know why but that's an interesting question 
for me...
Line 75:         vNumaNodeList = new ArrayList<VmNumaNode>();
Line 76:     }
Line 77: 
Line 78:     public VmStatic(VmStatic vmStatic) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ifefade432e7955503980bdc6fc5d73ea32818a95
Gerrit-PatchSet: 27
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Xiaolei Shi <xiao-lei....@hp.com>
Gerrit-Reviewer: Arik Hadas <aha...@redhat.com>
Gerrit-Reviewer: Doron Fediuck <dfedi...@redhat.com>
Gerrit-Reviewer: Eli Mesika <elimes...@gmail.com>
Gerrit-Reviewer: Eli Mesika <emes...@redhat.com>
Gerrit-Reviewer: Gilad Chaplik <gchap...@redhat.com>
Gerrit-Reviewer: Gustavo Frederico Temple Pedrosa 
<gustavo.pedr...@eldorado.org.br>
Gerrit-Reviewer: Jiří Moskovčák <jmosk...@redhat.com>
Gerrit-Reviewer: Kobi Ianko <k...@redhat.com>
Gerrit-Reviewer: Leonardo Bianconi <leonardo.bianc...@eldorado.org.br>
Gerrit-Reviewer: Martin Sivák <msi...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Roy Golan <rgo...@redhat.com>
Gerrit-Reviewer: Vinzenz Feenstra <vfeen...@redhat.com>
Gerrit-Reviewer: Vitor de Lima <vitor.l...@eldorado.org.br>
Gerrit-Reviewer: Xiaolei Shi <xiao-lei....@hp.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to