53918308c8
Users of replicated shares expect to see primary export locations when viewing information regarding the share. Because we collate exports of all replicas within the export locations APIs, it becomes hard for users to discern which exports belong to the primary share. For secondary replicas, users would also need additional information (availability zone, state of the replication) to work with. Introduce micro-version 2.47 from which the export locations API (GET /v2/{tenant_id}/shares/{share_id}/export_locations) no longer provides export locations of non-active share replicas. A new API has been introduced to provide export location details for share replicas, both active and non-active. (GET /v2/{tenant_id}/share-replicas/{share_replica_id}/export-locations) The new API provides the replica's state and availability zone in addition to the export location information. APIImpact Implements: bp export-locations-az Change-Id: I0a1d9dd00b4c13ac01988e30ca2b7d7ce4a747d1
14 lines
473 B
JSON
14 lines
473 B
JSON
{
|
|
"export_location": {
|
|
"created_at": "2016-03-24T14:20:47.000000",
|
|
"updated_at": "2016-03-24T14:20:47.000000",
|
|
"preferred": false,
|
|
"is_admin_only": true,
|
|
"share_instance_id": "e1c2d35e-fe67-4028-ad7a-45f668732b1d",
|
|
"path": "10.0.0.3:/shares/share-e1c2d35e-fe67-4028-ad7a-45f668732b1d",
|
|
"id": "6921e862-88bc-49a5-a2df-efeed9acd583",
|
|
"replica_state": "in_sync",
|
|
"availability_zone": "paris"
|
|
}
|
|
}
|