3a2d220f8a
- Follow up change to fix suggestions from earlier pull request i.e. https://review.opendev.org/c/openstack/manila/+/343980 . - Add API-ref docs - Rename column availability_zone to availability_zone_id in share_backups table. Implement: blueprint share-backup Closes-bug: #2031311 Change-Id: Ice01ab7892b1eb52b3202f2c79957977f73f3aca
89 lines
3.5 KiB
JSON
89 lines
3.5 KiB
JSON
{
|
|
"shares": [
|
|
{
|
|
"links": [
|
|
{
|
|
"href": "http://172.18.198.54:8786/v2/16e1ab15c35a457e9c2b2aa189f544e1/shares/f45cc5b2-d1bb-4a3e-ba5b-5c4125613adc",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://172.18.198.54:8786/16e1ab15c35a457e9c2b2aa189f544e1/shares/f45cc5b2-d1bb-4a3e-ba5b-5c4125613adc",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"availability_zone": "nova",
|
|
"share_network_id": "f9b2e754-ac01-4466-86e1-5c569424754e",
|
|
"export_locations": [],
|
|
"share_server_id": "87d8943a-f5da-47a4-b2f2-ddfa6794aa82",
|
|
"share_group_id": null,
|
|
"snapshot_id": null,
|
|
"source_backup_id": null,
|
|
"id": "f45cc5b2-d1bb-4a3e-ba5b-5c4125613adc",
|
|
"size": 1,
|
|
"share_type": "25747776-08e5-494f-ab40-a64b9d20d8f7",
|
|
"share_type_name": "default",
|
|
"export_location": null,
|
|
"project_id": "16e1ab15c35a457e9c2b2aa189f544e1",
|
|
"metadata": {},
|
|
"status": "error",
|
|
"progress": null,
|
|
"access_rules_status": "active",
|
|
"description": "There is a share description.",
|
|
"host": "manila2@generic1#GENERIC1",
|
|
"task_state": null,
|
|
"is_public": true,
|
|
"snapshot_support": true,
|
|
"user_id": "66ffd308757e44b9a8bec381322b0b88",
|
|
"name": "my_share4",
|
|
"has_replicas": false,
|
|
"replication_type": null,
|
|
"created_at": "2015-09-16T18:19:50.000000",
|
|
"share_proto": "NFS",
|
|
"volume_type": "default"
|
|
},
|
|
{
|
|
"links": [
|
|
{
|
|
"href": "http://172.18.198.54:8786/v2/16e1ab15c35a457e9c2b2aa189f544e1/shares/c4a2ced4-2c9f-4ae1-adaa-6171833e64df",
|
|
"rel": "self"
|
|
},
|
|
{
|
|
"href": "http://172.18.198.54:8786/16e1ab15c35a457e9c2b2aa189f544e1/shares/c4a2ced4-2c9f-4ae1-adaa-6171833e64df",
|
|
"rel": "bookmark"
|
|
}
|
|
],
|
|
"availability_zone": "nova",
|
|
"share_network_id": "f9b2e754-ac01-4466-86e1-5c569424754e",
|
|
"export_locations": [
|
|
"10.254.0.5:/shares/share-50ad5e7b-f6f1-4b78-a651-0812cef2bb67"
|
|
],
|
|
"share_server_id": "87d8943a-f5da-47a4-b2f2-ddfa6794aa82",
|
|
"snapshot_id": null,
|
|
"source_backup_id": null,
|
|
"id": "c4a2ced4-2c9f-4ae1-adaa-6171833e64df",
|
|
"size": 1,
|
|
"share_type": "25747776-08e5-494f-ab40-a64b9d20d8f7",
|
|
"share_type_name": "default",
|
|
"export_location": "10.254.0.5:/shares/share-50ad5e7b-f6f1-4b78-a651-0812cef2bb67",
|
|
"project_id": "16e1ab15c35a457e9c2b2aa189f544e1",
|
|
"metadata": {},
|
|
"status": "available",
|
|
"progress": "100%",
|
|
"access_rules_status": "active",
|
|
"description": "Changed description.",
|
|
"host": "manila2@generic1#GENERIC1",
|
|
"task_state": null,
|
|
"is_public": true,
|
|
"snapshot_support": true,
|
|
"name": "my_share4",
|
|
"has_replicas": false,
|
|
"replication_type": null,
|
|
"created_at": "2015-09-16T17:26:28.000000",
|
|
"user_id": "66ffd308757e44b9a8bec381322b0b88",
|
|
"share_proto": "NFS",
|
|
"volume_type": "default"
|
|
}
|
|
],
|
|
"count": 10
|
|
}
|