API v2: External Storage πΒΆ
Fudo Enterprise enables management of external storage devices via fiber channel cards.
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
object-array |
Fiber channel cards status. Read-only. |
|
|
object-array |
List of available external storage devices. Read-only. |
|
|
string |
yes |
Fiber channel cards operating mode. Possible values: |
|
string |
WWN of selected external storage device to configure. |
|
|
string |
WWN of configured external storage device. Read-only. |
|
|
boolean |
Is external storage configured? Read-only. |
|
|
object |
Occupancy of configured external storage device: allocated, capacity, free, size. Read-only. |
Retrieve Available Attributes of the ExternalStorageModelΒΆ
Request
Method |
|
Path |
|
GET /api/v2/objspec/external_storage
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.31.124.76/api/v2/objspec/external_storage'
Get External Storage InformationΒΆ
Request
Method |
|
Path |
|
GET /api/v2/external_storage
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.31.124.76/api/v2/external_storage'
Get Specific External Storage DeviceΒΆ
Request
Method |
|
Path |
|
GET /api/v2/external_storage/<id>
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.31.124.76/api/v2/external_storage/5620492334958379016'
Configure External StorageΒΆ
Request
Method |
|
Path |
|
Headers |
|
Body |
|
POST /api/v2/external_storage
Example Request
curl -s -k -X POST \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
-H 'Content-Type: application/json' \
-d '{"connection_mode": "failover", "wwn_to_configure": "50:01:43:80:03:6f:8e:a0"}' \
'https://10.31.124.76/api/v2/external_storage'
Delete External Storage ConfigurationΒΆ
Request
Method |
|
Path |
|
DELETE /api/v2/external_storage/<id>
Example Request
curl -s -k -X DELETE \
-H 'Authorization: sgfeea6jsaz4mum9su8w61877n1g06sk' \
'https://10.31.124.76/api/v2/external_storage/5620492334958379016'