Merge "Add proper scheduler_hint key to dev-ref"
This commit is contained in:
commit
c99ac09a8c
@ -481,7 +481,7 @@ reserved_1:
|
||||
in: body
|
||||
required: true
|
||||
type: integer
|
||||
scheduler_hints:
|
||||
OS-SCH-HNT:scheduler_hints:
|
||||
description: |
|
||||
The dictionary of data to send to the scheduler.
|
||||
in: body
|
||||
|
@ -8,5 +8,11 @@
|
||||
"contents": "junk"
|
||||
},
|
||||
"availability_zone": "us-east1"
|
||||
},
|
||||
"OS-SCH-HNT:scheduler_hints": {
|
||||
"same_host": [
|
||||
"a0cf03a5-d921-4877-bb5c-86d26cf818e1",
|
||||
"8c19174f-4220-44f0-824a-cd1eeef10287"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ Request
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- volume_type: volume_type
|
||||
- snapshot_id: snapshot_id
|
||||
- scheduler_hints: scheduler_hints
|
||||
- OS-SCH-HNT:scheduler_hints: OS-SCH-HNT:scheduler_hints
|
||||
- source_replica: source_replica
|
||||
- metadata: metadata
|
||||
- tenant_id: tenant_id
|
||||
|
@ -1236,7 +1236,7 @@ restore:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
scheduler_hints:
|
||||
OS-SCH-HNT:scheduler_hints:
|
||||
description: |
|
||||
The dictionary of data to send to the scheduler.
|
||||
in: body
|
||||
|
@ -12,5 +12,11 @@
|
||||
"metadata": {},
|
||||
"source_replica": null,
|
||||
"consistencygroup_id": null
|
||||
},
|
||||
"OS-SCH-HNT:scheduler_hints": {
|
||||
"same_host": [
|
||||
"a0cf03a5-d921-4877-bb5c-86d26cf818e1",
|
||||
"8c19174f-4220-44f0-824a-cd1eeef10287"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -167,7 +167,7 @@ Request
|
||||
- consistencygroup_id: consistencygroup_id
|
||||
- volume_type: volume_type
|
||||
- snapshot_id: snapshot_id
|
||||
- scheduler_hints: scheduler_hints
|
||||
- OS-SCH-HNT:scheduler_hints: OS-SCH-HNT:scheduler_hints
|
||||
- source_replica: source_replica
|
||||
- metadata: metadata
|
||||
- tenant_id: tenant_id
|
||||
|
Loading…
x
Reference in New Issue
Block a user