add-nas

Use this interface to add a NAS. 4 NAS servers are supported.

NAS protocols supported can be obtained via get-info.

{
  "nas": {
    "proto": [],         // range of NAS protocols
  }
}

HTTP Request

GET http://ip/usapi?method=add-nas&proto=xxx&addr=xxx&mount=xxx&...
Parameter Description
method add-nas
proto NAS protocol.
0: NFS
1: CIFS
addr NAS address.
mount NAS mount point.
CIFS parameters
user Username
passwd Password

Response Body

{
  "result": 0
}
Item Description
result Returned status.
0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""