Change in ovirt-engine[ovirt-engine-4.1]: core: Max memory validation in import commands

Code Review gerrit at ovirt.org
Thu Jan 26 13:22:24 UTC 2017


>From Tal Nisan <tnisan at redhat.com>:

Tal Nisan has submitted this change and it was merged.

Change subject: core: Max memory validation in import commands
......................................................................


core: Max memory validation in import commands

VmBase#maxMemorySizeMb is validated in import commands since
VMs/Templates may come from unreliable source and the value may be
invalid/missing.

Change-Id: I22fa4b0252e8bed8eb88e87a54903af25ce2e28c
Bug-Url: https://bugzilla.redhat.com/1410606
Signed-off-by: Jakub Niedermertl <jniederm at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ImportVmCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ImportVmFromExternalProviderCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/exportimport/ImportVmTemplateCommand.java
3 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  Tal Nisan: Passed CI tests
  Jakub Niedermertl: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/69771
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I22fa4b0252e8bed8eb88e87a54903af25ce2e28c
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.1
Gerrit-Owner: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list