Matchmaking from bare topics to hosts
The ZeroMQ RPC driver introduces a concept of pluggable matchmaking for bare topics providing a "get_workers" method. This can be used to find a peer to communicate with, a la "compute.host" rather than sending to a bare topic such as "compute". A similar requirement exists in the scheduler when it pulls a list of all hosts from the database (which feeds from RPC).
This code should be broken out of the ZeroMQ driver and available to other components.
Blueprint information
- Status:
- Complete
- Approver:
- Vish Ishaya
- Priority:
- Low
- Drafter:
- Erica Windisch
- Direction:
- Approved
- Assignee:
- Erica Windisch
- Definition:
- Approved
- Series goal:
- Accepted for folsom
- Implementation:
- Implemented
- Milestone target:
- 2012.2
- Started by
- Vish Ishaya
- Completed by
- Vish Ishaya
Related branches
Related bugs
Sprints
Whiteboard
I'm not totally convinced this will be valuable to the scheduler, but it can't hurt to do a code proposal. Might belong in openstack-common
- agreed on the scheduler bits. Seems there is room to reuse this for the glance server selection (and maybe keystone as well). Will need to go into common as it is a dependency for the ZeroMQ rpc driver. This is largely a proposal to break the code out, so that it might be reused.
Gerrit topic: https:/
Addressed by: https:/
Implement blueprint host-topic-
Addressed by: https:/
New RPC tests, docstring fixes.
Gerrit topic: https:/
QA:
-----
Internal - refactoring zero MQ code.
Functional Test impact - None
Let QA know if it otherwise.