Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

image_storage_idStringImage Storage's unique identifier
volumesBasicVolumeInfo ArrayList of Volumes present on in this Image Storage
external_volumesBasicExternalVolumeInfo ArrayBasicVolumeInfo ArrayList of External Volumes present in this Image Storage
gluster_volumesBasicVolumeInfo ArrayList of Gluster Volumes present on in this Image Storage

JSON example

Code Block
languagejs
{
    "image_storage_id": "internal",
    "volumes": [{
        "volume_id": "samsung_ssd",
        "status": "ok",
        "image_storage_id": "internal"
    }],
    "external_volumes": [{
        "volume_id": "home_flexvdi",
        "status": "ok",
        "image_storage_id": "internal"
    }]
}

BasicVolumeInfo Object

Schema

...

JSON example

Code Block
languagejs
,
    "gluster_volumes": [{
        "volume_id": "samsung_ssdgluster1",
        "status": "ok",
        "image_storage_id": "internal"
    }]
 }

...

BasicVolumeInfo Object

Schema

volume_idStringExternal Volume's unique identifier
image_storage_idStringImage Storage's unique identifier (External Volume's parent)
statusStringCurrent state. Either "ok", "error" or "unknown"

JSON example

Code Block
languagejs
{
    "volume_id": "homesamsung_flexvdissd",
    "status": "ok",
    "image_storage_id": "internal"
}

...