Eli Mesika has uploaded a new change for review.

Change subject: core:REST-API request of VM's NIC with non-exists network
......................................................................

core:REST-API request of VM's NIC with non-exists network

REST-API request of VM's NIC with non-exists network returns error
instead of the NIC's structure XML

This patch handles interface invalid network or non vm network and if
validation failed the network name will be an empty string and the user
will be asked to set the correct network upon running the VM

Change-Id: I50abd4319dbeaf6fa272bf9529bf4b1e651c8dcd
Signed-off-by: Eli Mesika <emes...@redhat.com>
---
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/ImportVmTemplateCommand.java
M 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/network/VmInterfaceManager.java
M 
backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
4 files changed, 35 insertions(+), 12 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/40/5140/1
--
To view, visit http://gerrit.ovirt.org/5140
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I50abd4319dbeaf6fa272bf9529bf4b1e651c8dcd
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Eli Mesika <emes...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to