manila/api-ref/source
Chuan Miao 7e7ec7337c Add Share Affinity/Anti-Affinity Scheduler Filters
This patch implements hard affinity and anti-affinity filter for
manila scheduler. Users can specify affinity/anti-affinity share
ids to the field "share.scheduler_hints.same_host" or
"share.scheduler_hints.different_host" in the request payload
when creating a manila share. The scheduler_hints are stored as
share metadata. The filter properties are populated from this
metadata during share migration and so filters will be applied
for share migration as well.

Both fields can be a single share UUID or multiple uuids
separated by comma. For example,

`{
    "share": {
        "scheduler_hints": {
            "same_host": "share_uuid_1,share_uuid_2",
            "different_host": "share_uuid_3"
        }
    }
}`

Implements: bp/affinity-antiaffinity-filter

Change-Id: Ic42d8a0c1d22e77ae64e0ca014607b28fd336467
Co-authored-by: Maurice Escher <maurice.escher@sap.com>
2021-09-03 08:58:46 +02:00
..
common Add api-ref for share network subnets 2020-08-06 21:58:37 +00:00
samples Add Share Affinity/Anti-Affinity Scheduler Filters 2021-09-03 08:58:46 +02:00
availability-zones.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
conf.py Switch to newer openstackdocstheme and reno versions 2020-05-21 13:01:11 +02:00
experimental.inc [doc] Move Experimental APIs description to a common place 2017-09-04 09:25:14 +00:00
extensions.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
index.rst Merge "Add api reference for share server migration" 2021-04-07 11:33:44 +00:00
limits.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
os-share-manage.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
parameters.yaml Add Share Affinity/Anti-Affinity Scheduler Filters 2021-09-03 08:58:46 +02:00
quota-classes.inc Add documentation for per share gigabytes quotas 2021-05-24 09:18:31 +02:00
quota-sets.inc Add documentation for per share gigabytes quotas 2021-05-24 09:18:31 +02:00
scheduler-stats.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
security-services.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
services.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-access-rule-metadata.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-access-rules.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-actions.inc Extend share will go through scheduler 2021-08-27 05:35:45 +00:00
share-export-locations.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-group-snapshots.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-group-types.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-groups.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
share-instance-export-locations.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-instances.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
share-metadata.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-migration.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-network-subnets.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
share-networks.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
share-replica-export-locations.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-replicas.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
share-server-migration.inc Add api reference for share server migration 2021-01-06 09:04:23 -03:00
share-servers.inc Merge "[api-ref] Fix incorrect parameters" 2021-03-23 01:34:21 +00:00
share-types.inc Update api-ref documentation 2021-07-28 14:21:20 +00:00
shares.inc Add Share Affinity/Anti-Affinity Scheduler Filters 2021-09-03 08:58:46 +02:00
snapshot-instances.inc [doc] remove project_id from api endpoints 2021-02-09 21:59:07 -08:00
snapshots.inc Fix API reference of share snapshot creation 2021-05-19 15:34:25 -03:00
status.yaml Use rest_status_code for api-ref response codes 2018-03-24 01:07:16 +00:00
user-messages.inc Update api-ref documentation 2021-07-28 14:21:20 +00:00
versions.inc Merge "Api-ref: Add missing parameter in the version api" 2018-07-17 19:09:25 +00:00