Oved Ourfali has submitted this change and it was merged.

Change subject: core: Add the ability to consume Quota in internal commands
......................................................................


core: Add the ability to consume Quota in internal commands

adding a new boolean to CommandBase to indicate
whether the command will consume quota when invoked as internal.

Added a c'tor to VdcActionType, to allow setting this boolean:
HotSetNumberOfCpus(184, ActionGroup.EDIT_VM_PROPERTIES, false, 
QuotaDependency.VDS_GROUP, true)

Change-Id: Id4c8074eef5607107703bcb68df441a577137b04
Bug-Url: https://bugzilla.redhat.com/1083177
Signed-off-by: Kobi Ianko <[email protected]>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/CommandBase.java
M 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/VdcActionType.java
2 files changed, 26 insertions(+), 3 deletions(-)

Approvals:
  Gilad Chaplik: Looks good to me, approved
  Kobi Ianko: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Id4c8074eef5607107703bcb68df441a577137b04
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.4
Gerrit-Owner: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Gilad Chaplik <[email protected]>
Gerrit-Reviewer: Kobi Ianko <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to