Roy Golan has posted comments on this change.

Change subject: engine: Adding Speed optimization option to the scheduler
......................................................................


Patch Set 13: Code-Review+1

(3 comments)

* get a ui +1

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsGroupOperationCommandBase.java
Line 40: 
Line 41:     @Override
Line 42:     protected boolean canDoAction() {
Line 43:         boolean result = super.canDoAction();
Line 44:         return result && checkOptimizationType();
...minor 
super.canDoAction && checkOptimizationType()
Line 45:     }
Line 46: 
Line 47:     private boolean checkOptimizationType() {
Line 48:         int optimizationType = getVdsGroup().getOptimizationType();


....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VDSGroup.java
Line 75:     private Map<String, String> clusterPolicyProperties;
Line 76:     private boolean detectEmulatedMachine;
Line 77: 
Line 78:     private int optimizationType;
Line 79: 
this should be the Enum OptimizationType
regardless of your future posible use of EnumSet to allow multi optimization 
flags

doesn't have to be this patch. its merely UI and common change
Line 80:     public VDSGroup() {
Line 81:         migrateOnError = MigrateOnErrorOptions.YES;
Line 82:         name = "";
Line 83:         virtService = true;


....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/config/ConfigValues.java
Line 1544:     HostPreparingForMaintenanceIdleTime,
Line 1545: 
Line 1546:     @TypeConverterAttribute(Integer.class)
Line 1547:     @DefaultValueAttribute("10")
Line 1548:     SpeedOptimizationSchedulingThreshold,
consider PendingSchedulingThreshold?
Line 1549: 
Line 1550:     Invalid;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I0784f89648093e650be73fcc3d850a4854d53c1a
Gerrit-PatchSet: 13
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Doron Fediuck <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Roy Golan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to