Mike Kolesnik has submitted this change and it was merged. Change subject: restapi: Fix update cluster network (#822631) ......................................................................
restapi: Fix update cluster network (#822631) https://bugzilla.redhat.com/822631 The REST should use UpdateNetworkOnCluster command when updating a cluster's network assignment. 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, 10 insertions(+), 13 deletions(-) Approvals: Mike Kolesnik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/5513 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I3ba860433d0a77caad6405fb30b9b29b0af3a847 Gerrit-PatchSet: 4 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Michael Pasternak <mpast...@redhat.com> Gerrit-Reviewer: Mike Kolesnik <mkole...@redhat.com> Gerrit-Reviewer: Ori Liel <ol...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches