...
hosts | String Array | List of Hosts linked to this Image Storage |
---|---|---|
volumes | VolumeInfo Array | List of Volumes presents on this Image Storage |
external_volumes | ExternalVolumeInfo Array | List of External Volumes present on this Image Storage |
gluster_volumes | GlusterVolumeInfo Array | List of Gluster Volumes present on this Image Storage |
disks | PhysicalDiskInfo Array | List of Pyhisical Disks present and usable on this Image Storage |
...
Code Block | ||
---|---|---|
| ||
{ "hosts": ["flexdev01"], "volumes": [{ "volume_id": "samsung_ssd", "secondary_disk_id": "", "total_space": 250057728, "clones": [], "status": "ok", "status_msg": "", "primary_disk_id": "3500253887013e77e", "images": [{ "volume_id": "samsung_ssd", "image_id": "windows7_020216", "guest_id": "windows7_020216", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "samsung_ssd", "image_id": "windows7_public", "guest_id": "windows7_public", "image_storage_id": "internal", "size_mb": 40960 }, { "volume_id": "samsung_ssd", "image_id": "windowsXP_public", "guest_id": "windowsXP_public", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "samsung_ssd", "image_id": "voidlinux_slp", "guest_id": "voidlinux_slp", "image_storage_id": "internal", "size_mb": 15360 }, { "volume_id": "samsung_ssd", "image_id": "opensuse421_public", "guest_id": "opensuse421_public", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "samsung_ssd", "image_id": "voidlinux_slp_home", "guest_id": "voidlinux_slp", "image_storage_id": "internal", "size_mb": 61440 }], "free_space": 67063808 }], "external_volumes": [{ "volume_id": "home_flexvdi", "total_space": 876659228, "clones": [{ "clone_id": "corus_demo_corus", "image_id": "corus", "guest_id": "corus" }], "status": "ok", "status_msg": "", "mount_point": "/home/flexvdi", "images": [{ "volume_id": "home_flexvdi", "image_id": "webportal_devel", "guest_id": "webportal_devel", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "home_flexvdi", "image_id": "corus", "guest_id": "corus", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "home_flexvdi", "image_id": "test", "guest_id": "test", "image_storage_id": "internal", "size_mb": 1024 }], "free_space": 514361156 }], "disksgluster_volumes": [{ "volume_idbricks": "samsung_ssd", [ "product_number": "Samsung", "flexdev01:/data/brick1", "physical_disk_id": "3500253887013e77e", "flexdev01:/data/brick2", "vendor": "ATA",flexdev02:/data/brick1", "host_device": "/dev/sdb"flexdev02:/data/brick2", }] } |
VolumeInfo Object
Schema
...
JSON example
Code Block | ||
---|---|---|
| ||
{ "volume_id": "samsung_ssd "flexnuc2:/data/brick1", "flexnuc2:/data/brick2" ], "clones": [], "configuration": "1 x (4 + 2)", "free_space": 376105728, "gvolume_name": "test_vol1", "secondary_disk_id "images": ""[], "total_space "status": 250057728"ok", "clones": [], "status_msg": "ok", "statustotal_msgspace": ""376173056, "primary_disk_id "transport": "3500253887013e77etcp", "imagestype": [{"Disperse", "volume_id": "samsungtest_ssdvol1", }], "image_iddisks": "windows7_020216",[{ "guestvolume_id": "windows7samsung_020216ssd", "imageproduct_storage_idnumber": "internalSamsung", "sizephysical_disk_mbid": 20480 }"3500253887013e77e", { "volume_idvendor": "samsung_ssdATA", "imagehost_iddevice": "windows7_public",/dev/sdb" "guest_id": "windows7_public", "image_storage_id": "internal", "size_mb": 40960 }, { "volume_id": "samsung_ssd", "image_id": "windowsXP_public", "guest_id": "windowsXP_public", }] } |
VolumeInfo Object
Schema
volume_id | String | Volume's unique identifier |
---|---|---|
primary_disk_id | String | Physical disk's unique identifier |
status | String | Current state. Either "unknown", "ok", "degraded" or "broken" |
status_msg | String | Status message, obtained by last pool. Can be empty |
total_space | Integer | Volume size (KB) |
free_space | Integer | Free space in Volume (KB) |
images | ImageInfo Array | List of disk images present on this Volume |
clones | CloneInfo Array | List of cloned disk images present of this Volume |
JSON example
Code Block | ||
---|---|---|
| ||
{ "volume_id": "samsung_ssd", "imagesecondary_storagedisk_id": "internal", "sizetotal_mbspace": 20480250057728, }"clones": [], { "status": "ok", "volumestatus_idmsg": "samsung_ssd", "imageprimary_disk_id": "voidlinux_slp3500253887013e77e", "images": [{ "guestvolume_id": "voidlinuxsamsung_slpssd", "image_storage_id": "internalwindows7_020216", "sizeguest_mbid": 15360 "windows7_020216", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "samsung_ssd", "image_id": "opensuse421windows7_public", "guest_id": "opensuse421windows7_public", "image_storage_id": "internal", "size_mb": 2048040960 }, { "volume_id": "samsung_ssd", "image_id": "voidlinuxwindowsXP_slp_homepublic", "guest_id": "voidlinuxwindowsXP_slppublic", "image_storage_id": "internal", "size_mb": 6144020480 }], { "free_space": 67063808 } |
ExternalVolumeInfo Object
Esquema de datos
"volume_id |
...
JSON example
Code Block | ||
---|---|---|
| ||
{ ": "samsung_ssd", "image_id": "voidlinux_slp", "guest_id": "voidlinux_slp", "image_storage_id": "internal", "size_mb": 15360 }, { "volume_id": "samsung_ssd", "image_id": "opensuse421_public", "guest_id": "opensuse421_public", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "samsung_ssd", "image_id": "voidlinux_slp_home", "guest_id": "voidlinux_slp", "image_storage_id": "internal", "size_mb": 61440 }], "free_space": 67063808 } |
ExternalVolumeInfo Object
Esquema de datos
volume_id | String | External Volume's unique identifier |
---|---|---|
mount_point | String | External Volume's mount point on each Host |
status | String | Current state. Either "unknown", "ok", "degraded" or "broken" |
status_msg | String | Status message, obtained by last pool. Can be empty |
total_space | Integer | External Volume size (KB) |
free_space | Integer | Free space in External Volume (KB) |
images | ImageInfo Array | List of disk images present on this External Volume |
clones | CloneInfo Array | List of cloned disk images present of this External Volume |
JSON example
Code Block | ||
---|---|---|
| ||
{ "volume_id": "home_flexvdi", "total_space": 876659228, "clones": [{ "clone_id": "corus_demo_corus", "image_id": "corus", "guest_id": "corus" }], "status": "ok", "status_msg": "", "mount_point": "/home/flexvdi", "images": [{ "volume_id": "home_flexvdi", "image_id": "webportal_devel", "guest_id": "webportal_devel", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "home_flexvdi", "image_id": "corus", "guest_id": "corus", "image_storage_id": "internal", "size_mb": 20480 }, { "volume_id": "home_flexvdi", "totalimage_spaceid": 876659228,"test", "clonesguest_id": [{"test", "cloneimage_storage_id": "corus_demo_corusinternal", "imagesize_idmb": "corus",1024 }], "guest_id": "corus" }], "status": "ok", "status_msg": "", "mount_point": "/home/flexvdi", "images": [{ "volume_id": "home_flexvdi", "image_id": "webportal_devel", "guest_id": "webportal_devel", "free_space": 514361156 } |
GlusterVolumeInfo Object
Esquema de datos
volume_id | String | Gluster Volume's unique identifier |
---|---|---|
status | String | Current state. Either "unknown", "ok", "degraded" or "broken" |
status_msg | String | Status message, obtained by last pool. Can be empty |
total_space | Integer | External Volume size (KB) |
free_space | Integer | Free space in External Volume (KB) |
bricks | Array of String | List of bricks of this volume, in the form "host:/path/to/brick" |
type | String | Type of Gluster volume (Replica, Dispersed, Distributed Replica, etc.) |
configuration | String | Configuration of bricks for this type of volume |
transport | String | Transport, one of "tcp", "rdma" or "tcp,rdma" |
images | ImageInfo Array | List of disk images present on this External Volume |
clones | CloneInfo Array | List of cloned disk images present of this External Volume |
JSON example
Code Block | ||
---|---|---|
| ||
{ "bricks": [ "image_storage_id": "internalflexdev01:/data/brick1", "size_mb": 20480 }, {flexdev01:/data/brick2", "volume_id": "home_flexvdiflexdev02:/data/brick1", "image_id": "corusflexdev02:/data/brick2", "guest_id": "corus"flexnuc2:/data/brick1", "image_storage_id": "internal",flexnuc2:/data/brick2" ], "size_mbclones": 20480[], }, { "configuration": "1 x (4 + 2)", "volumefree_idspace": "home_flexvdi", 376105728, "imagegvolume_idname": "test_vol1", "images": [], "guest_idstatus": "testok", "imagestatus_storage_idmsg": "internal", "total_space": 376173056, "size_mbtransport": 1024"tcp", }]"type": "Disperse", "freevolume_spaceid": 514361156"test_vol1" } |
ImageInfo Object
Schema
image_id | String | Image's unique identifier |
---|---|---|
volume_id | String | Volume's unique identifier (Image's container) |
image_storage_id | String | Image Storage's unique identifier (Volume's container) |
guest_id | String | Unique identifier of Guest owning this disk image, or empty if not reserved |
size_mb | Integer | Image size (MB) |
JSON example
Code Block | ||
---|---|---|
| ||
{ "volume_id": "samsung_ssd", "image_id": "windows7_020216", "guest_id": "windows7_020216", "image_storage_id": "internal", "size_mb": 20480 } |
...
clone_id | String | Cloned disk image's unique identifier |
---|---|---|
image_id | String | Disk image's unique identifier (cloned disk image's parent) |
guest_id | String | Unique identifier of Guest owning this disk image, or empty if not reserved |
JSON example
Code Block | ||
---|---|---|
| ||
{ "clone_id": "corus_demo_corus", "image_id": "corus", "guest_id": "corus" } |
...
physical_disk_id | String | Physical disk's unique identifier |
---|---|---|
product_number | String | Physical disk's product string |
vendor | String | Physical disk's vendor string |
host_device | String | Name associated to this device on the first Host. |
volume_id | String | Unique identifier of Guest owning this Physical Disk, or empty if not reserved |
JSON example
Code Block | ||
---|---|---|
| ||
{ "volume_id": "samsung_ssd", "product_number": "Samsung", "physical_disk_id": "3500253887013e77e", "vendor": "ATA", "host_device": "/dev/sdb" } |