Add scheduler hints
This blueprint adds a new attribute "scheduler_hints" to
create_instance(). This feature enables users to make some
advices (like affinity/
For example, users can pass hints to schedule master and
slave nodes into different compute node.
# create server-group with "anti-affinity" policy
% nova server-group-create foo anti-affinity
+------
| Id | Name | Policies | Members | Metadata |
+------
| ef1e5347-
+------
# call Trove API with scheduler_hints to specify server-group
body = {
"instance": {
"volume": {"size": 5},
"name": "foo",
}
}
print t.instances.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Masaki Matsushita
- Direction:
- Needs approval
- Assignee:
- Masaki Matsushita
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add scheduler_hints attributes to create_instance