Change in ovirt-engine[master]: restapi: Failed to attach vlan over bond

mkolesni at redhat.com mkolesni at redhat.com
Wed Oct 10 13:13:09 UTC 2012


Mike Kolesnik has submitted this change and it was merged.

Change subject: restapi: Failed to attach vlan over bond
......................................................................


restapi: Failed to attach vlan over bond

When attempt to attach a vlan over bond, a NPE is thrown on SetupNetwork
command since the interfaces aren't provided with their information.
Instead, the interface list contains a shallow interface with its id and
bond-name only.

The patch verifies that a slave is exists and assure it is sent with its
data as obtained from engine.

Change-Id: I3f05a11b91e2fd5a0367c0be3904b97d5dcb190e
Bug-Url: https://bugzilla.redhat.com/863105
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendHostNicsResource.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Mike Kolesnik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I3f05a11b91e2fd5a0367c0be3904b97d5dcb190e
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list