Add controller for mountpath
This operation adds a controller for mountpath.
Query Parameters
- Action string required
addController
- application/json
Request Body
deviceEntity object
deviceName string requiredName of device, please use GET /storagepool/:storagepoolid to obtain deviceName (consider name from deviceInfo obj).
- mountpathId integer
Id of mountpath, please use GET /storagepool/:storagepoolid to obtain mountPathId. Note : If mountpathId is not passed default mountpathId is used.
infoList object[] required
numWriters integerDefault value:
-1
Number of allowed writers (-1 denotes max allowed writers) allowed range : 1 - 999, should be used only for write access type.
opType integer requiredOperation type : 1 (represents add).
accessType integer requiredDevice controller access type. Sum the following bits to decide accesstype - 2(read), 4(write), 8(set preferred), 16(Dataserver IP), 32(Dataserver SAN), 128(Dataserver ISCSI). Note : Device controllers with data server transport type cannot be set as preferred controller and should not be used for cloud mountpaths. for example : 14(read/write/preferred), 12(read/preferred).
path stringShared network path of mountpath location. Note : please use double slash in place of single slash.
userName stringUser name to access network path. Not required if credentialName is used. Note : please use double slash in place of single slash.
password passwordBase64 encoded password of the user to access network path. Not required if credentialName is used.
autoPickTransportType booleanDefault value:
false
To identify the best fit transport type for the given mountpath using the info from existing controllers. Please use this for disk mountpath only.
mediaAgent object
name string requiredName of the media agent, please use GET /v4/mediaagent to obtain name.
savedCredential object
credentialName stringName of credential, please use GET /v4/credential to obtain credentialName. Note : used in adding controller for both disk mountpath (in case of network share path) and for cloud mountpath (to change credentials for new MA access, before using, please refer the "Update cloud library credential to selected device controller only setting" - here).
- 200
- 500
OK
Internal Server Error