python-manilaclient/releasenotes/notes/human-readable-export-location-share-support-d156f23669e458fa.yaml
jayaanand.borra@netapp.com b097cec84f Human readable export location CLI changes
OpenStack CLI option is added to support user friently export location.

example command:
$ openstack share create nfs 1 --name share_name --mount-point-name custom_export_path

partially-implements: bp human-readable-export-locations
Depends-On: I72ac7e24ddd4330d76cafd5e7f78bac2b0174883
Change-Id: If896065a74fc4ebabd09b677e5eb0329cecfaab9
2024-03-11 13:47:12 -04:00

19 lines
1.2 KiB
YAML

---
features:
- In the 2.84 API version, a new option, ``mount_point_name``, has been
introduced to the share creation command. This option allow users
to specify a more intuitive ``mount_point_name`` that will be reflected
in the share's export location. However, for this feature to be available
to users, administrators must first enable an extra-spec in the
share type. In addition, administrators need to set an extra-spec named
``provisioning:mount_point_prefix``. The Manila service will combine
this prefix with the mount point name that user provides during share
creation. If the ``provisioning:mount_point_prefix`` is not set for
a share type, but ``mount_point_name_support`` is enabled, the share's
export location will default to using the project_id as a prefix.
Please note that shares created with a project_id prefix cannot be
transferred. To move these shares to a different project,
an admin must manually unmount them from the current project and mount
them to the target project. A new capability, ``mount_point_name_support``,
allows the driver to inform the scheduler about its support for the
mount_point_name feature.