Moti Asayag has uploaded a new change for review.

Change subject: restapi: error getting VM NIC with non-exists network (#782437)
......................................................................

restapi: error getting VM NIC with non-exists network (#782437)

https://bugzilla.redhat.com/782437

There are scenarios in which the network of a VM Nic does no longer
exists (e.g. exporting a VM template with nic, the network is removed
from the data-center and the template is imported, or using the same
export domain across various data-centers with different DC networks).

The patch removes the failure on retrieving the network associated with
a nic, if such network doesn't exist.

Change-Id: I66e94f92ead04a565bacb417b630db365ae4b682
Signed-off-by: Moti Asayag <masa...@redhat.com>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendNicsResource.java
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResource.java
2 files changed, 11 insertions(+), 5 deletions(-)


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

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

Reply via email to