Change in ovirt-engine[master]: restapi: Create (or not) a vnic profile when adding network

masayag at redhat.com masayag at redhat.com
Mon Aug 12 07:57:56 UTC 2013


Moti Asayag has submitted this change and it was merged.

Change subject: restapi: Create (or not) a vnic profile when adding network
......................................................................


restapi: Create (or not) a vnic profile when adding network

The patch allows the user to override the default behavior
which is creating a default vnic profile for each network
added to the system.

The user will be able to create a network without a default
vnic profile by providing the following element in the network
POSTed element:

  <network>
      ...
      <profile_required>false</profile_required>
  </network>

See: http://www.ovirt.org/Features/Vnic_Profiles

Change-Id: I7f21fe627935a940db1a53da68ec8d55b2fb0973
Signed-off-by: Moti Asayag <masayag at redhat.com>
---
M backend/manager/modules/restapi/interface/definition/src/main/resources/api.xsd
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/BackendNetworksResource.java
3 files changed, 10 insertions(+), 2 deletions(-)

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



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7f21fe627935a940db1a53da68ec8d55b2fb0973
Gerrit-PatchSet: 25
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Alona Kaplan <alkaplan at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list