Mike Kolesnik has uploaded a new change for review.

Change subject: restapi: Fix update cluster network (#822631)
......................................................................

restapi: Fix update cluster network (#822631)

https://bugzilla.redhat.com/822631

The REST should use AttachNetworkToVdsGroup command when updating a
cluster's network assignment, since this command handles both adding &
updating an assignment of a network from the DC to the cluser.

There is no need to filter solely based on display network, since the
assignment can have more characteristics to it, and it's the
responsibility of the engine to update & validate whatever is needed.

Change-Id: I3ba860433d0a77caad6405fb30b9b29b0af3a847
Signed-off-by: Mike Kolesnik <mkole...@redhat.com>
---
M 
backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendClusterNetworkResource.java
M 
backend/manager/modules/restapi/jaxrs/src/test/java/org/ovirt/engine/api/restapi/resource/BackendClusterNetworkResourceTest.java
2 files changed, 7 insertions(+), 13 deletions(-)


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

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

Reply via email to