Change in ovirt-engine[master]: restapi: Don't mandate a network when adding a template NIC

mkolesni at redhat.com mkolesni at redhat.com
Sun Apr 21 13:35:53 UTC 2013


Mike Kolesnik has submitted this change and it was merged.

Change subject: restapi: Don't mandate a network when adding a template NIC
......................................................................


restapi: Don't mandate a network when adding a template NIC

In template context, it should be possible to add a NIC even
without the network id/name since the network unlinking feature was
pushed.

The backend will know to fail the action if an empty network is sent and
the feature is unsupported.

Change-Id: Id5b1953178f4ff5e04a71688d8ccec5d3c789395
Bug-Url: https://bugzilla.redhat.com/952647
Signed-off-by: Mike Kolesnik <mkolesni at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/rsdl_metadata.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendTemplateNicsResource.java
2 files changed, 3 insertions(+), 3 deletions(-)

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


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

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



More information about the Engine-commits mailing list