9da023eeb5
The OnlyHostFilter added for share creation can be extended to use in share replica creation using scheduler-hints. e.g. manila share-replica-create share_id \ --scheduler-hints "only_host=host@backend#pool" OnlyHostFilter (https://review.opendev.org/c/openstack/manila/+/813293) Depends-on: I603434cac246e2c0946672d3f0fe469ed5423fa4 Closes-Bug: #1950313 Change-Id: I2e6d8709fc02df16622bdc910127fa489835db38
10 lines
220 B
JSON
10 lines
220 B
JSON
{
|
|
"share_replica": {
|
|
"share_id": "50a6a566-6bac-475c-ad69-5035c86696c0",
|
|
"availability_zone": "nova",
|
|
"scheduler_hints": {
|
|
"only_host": "host1@generic1#GENERIC1"
|
|
}
|
|
}
|
|
}
|