Change in ovirt-engine[master]: restapi: removing access protocols and acl in create volume

mpastern at redhat.com mpastern at redhat.com
Thu Sep 20 14:14:57 UTC 2012


Michael Pasternak has submitted this change and it was merged.

Change subject: restapi: removing access protocols and acl in create volume
......................................................................


restapi: removing access protocols and acl in create volume

AccessProtols and AccessControlList(ACL) will inturn converted
to volume options nfs.disable and auth.allow respectively.

As passing option also supported while creating a volume,
it creates confusion when some use both acl and auth.allow.
If different values are provided for them, it is difficult to
decide which one gets the precedence.

Both AccessProtols and AccessControlList is removed from the
Volume resource to avoid the conflicts.

Change-Id: Ib0dad83cc2e3dc0dfb698677084150d870289eff
Signed-off-by: Kanagaraj M <kmayilsa 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_v-3.1.yaml
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/BackendCapabilitiesResource.java
M backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/resource/gluster/BackendGlusterVolumesResource.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/GlusterVolumeMapper.java
M backend/manager/modules/restapi/types/src/test/java/org/ovirt/engine/api/restapi/types/GlusterVolumeMapperTest.java
6 files changed, 0 insertions(+), 128 deletions(-)

Approvals:
  Michael Pasternak: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib0dad83cc2e3dc0dfb698677084150d870289eff
Gerrit-PatchSet: 8
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list