]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/volumes/nfs: Add command to update cephfs exports
authorVarsha Rao <varao@redhat.com>
Thu, 14 Jan 2021 21:45:13 +0000 (03:15 +0530)
committerVarsha Rao <varao@redhat.com>
Thu, 4 Mar 2021 09:48:07 +0000 (15:18 +0530)
commit9f21bb4d3e7d73e37552c418716e8a81048e1053
treec87f45b91599bd26efc512ca2354283f9c9fa0c5
parent10245a7ffba8bd045012006fcaa7e2e875d831ee
mgr/volumes/nfs: Add command to update cephfs exports

First fetch the export with
$ ceph nfs export get <clusterid> <binding>
then modify this export and pass it to update command
$ ceph nfs export update -i <json_file>

Fixes: https://tracker.ceph.com/issues/45746
Signed-off-by: Varsha Rao <varao@redhat.com>
src/pybind/mgr/volumes/fs/nfs.py
src/pybind/mgr/volumes/module.py