mgr/nfs: cli is broken as cluster id and binding arguments are optional
3 - minor
Pull request ID:
Crash signature (v1):
Crash signature (v2):
In the following commands clusterid requirement is made optional which breaks cli.
nfs cluster config reset [<clusterid>] Reset NFS-Ganesha Config to default nfs cluster create [<clusterid>] [<placement>] Create an NFS Cluster nfs cluster delete [<clusterid>] Removes an NFS Cluster (DEPRECATED) nfs cluster rm [<clusterid>] Removes an NFS Cluster nfs export ls [<clusterid>] [--detailed] List exports of a NFS cluster
binding is required in the following commands
nfs export create cephfs <fsname> <clusterid> [<binding>] [--readonly] [<path>] Create a cephfs export nfs export delete <clusterid> [<binding>] Delete a cephfs export (DEPRECATED) nfs export get <clusterid> [<binding>] Fetch a export of a NFS cluster given the pseudo path/binding nfs export rm <clusterid> [<binding>] Remove a cephfs export
This commit1 breaks the cli.