v1

latestOpenAPI 3.0.0Apache 2.02026-07-174040133.9 KB
Storages

Register a storage device for management.

post/v1/storages

Request body

OR
OR
OR

Example request

{
  "host": "10.0.0.1",
  "port": "8008",
  "username": "admin",
  "name": "EMC-VMAX-123456",
  "description": "VMAX storage lab1",
  "vendor": "dellemc",
  "model": "vmax",
  "rest": {
    "host": "10.0.0.1",
    "port": "8008",
    "username": "admin"
  },
  "ssh": {
    "host": "10.0.0.1",
    "port": "22",
    "username": "admin",
    "pub_key": "73:d8:34:18:70:2a:ae:d8:1c:a5:44:40:ef:50:d0:63"
  },
  "cli": {
    "host": "10.0.0.1",
    "port": "8888",
    "username": "admin"
  },
  "smis": {
    "host": "10.0.0.1",
    "port": "5989",
    "username": "admin"
  },
  "extra_attributes": {
    "array_id": 2554321
  }
}

Response

Accepted, items added to the infrastructure management

idstring
namestring
descriptionstring
vendorstring
modelstring
statusstring
firmwarestring
serial_numberstring
locationstring
created_atstring
updated_atstring
sync_status'SYNCED' | 'SYNCING'
total_capacityinteger
used_capacityinteger
free_capacityinteger

Example response

{
  "name": "EMC-VMAX-123456",
  "description": "VMAX storage lab1",
  "vendor": "Dell EMC",
  "model": "VMAX250F",
  "status": "normal",
  "serial_number": "0002004355"
}