]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes: Update nfs cluster and export interface
authorVarsha Rao <varao@redhat.com>
Wed, 1 Apr 2020 16:01:26 +0000 (21:31 +0530)
committerVarsha Rao <varao@redhat.com>
Wed, 8 Jul 2020 05:36:34 +0000 (07:36 +0200)
commit52b389b4ed87e7e037e40dc67e2dce88c00a5af8
tree436503629803b157caeb96b7effa65cdbc36f97e
parented6f34f28ed3cf9bf0301268710ad85e0b561f9a
mgr/volumes: Update nfs cluster and export interface

Instead of prefixing 'fs' to the commands, type is added for easy extension to
create rgw exports.

$ ceph nfs cluster create <type=cephfs> [--size=1] <clusterid>
$ ceph nfs export create <type=cephfs> <fsname> <binding> [--readonly] [--path=/path/in/cephfs] [--attach=<clusterid>]

Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit a84d4b0124d49a14426c0703a204b4c64c13c936)
doc/cephfs/fs-nfs-exports.rst
src/pybind/mgr/volumes/fs/nfs.py
src/pybind/mgr/volumes/module.py
src/vstart.sh