Controller: NfsExport

API Controller /nodeworx/nfs/export
Required Permissions ["NFS"]
Action Description
add Add a NFS Export.
listNfsExports List NFS Exports.

Action: add

Add a NFS Export.

Input Parameters

Name Type Notes Required?
directory_to_export string Yes
ip_allow_list struct (string) No*
read_write_access string
Example Values
ro, rw
Yes
root_user_access string
Example Values
root_squash, no_root_squash
Yes
sync_options string
Example Values
async, sync
Yes
* indicates that it's actually required, but probably already has a valid default value

Action: listNfsExports (Added in version 4.8.0-393)

List NFS Exports.

Example Output

array (
  'status' => 0,
  'payload' => 
  array (
  ),
)