Change in ovirt-engine[master]: restapi: error getting VM NIC with non-exists network (#7824...

masayag at redhat.com masayag at redhat.com
Mon May 28 08:02:10 UTC 2012


Moti Asayag has submitted this change and it was merged.

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 <masayag at 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
M backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendVmNicResourceTest.java
3 files changed, 54 insertions(+), 30 deletions(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I66e94f92ead04a565bacb417b630db365ae4b682
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Livnat Peer <lpeer at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>



More information about the Engine-commits mailing list