iallocator: prepare RPC call 'node_info'
authorHelga Velroyen <helgav@google.com>
Fri, 21 Jun 2013 09:19:35 +0000 (11:19 +0200)
committerHelga Velroyen <helgav@google.com>
Thu, 27 Jun 2013 09:05:21 +0000 (11:05 +0200)
commitc9c4b92dc992f3b41241e8ce2a424393867445a1
tree5ef697178228579cd24792917a1f8ebd2cc98453
parentd71b0275f690164e6b9fcd5bc5a6d819103f199b
iallocator: prepare RPC call 'node_info'

This patch does a small refactoring in the allocator. It extracts
the preparation and actual call of the 'node_info' call into a
separate function. This is done for better testability. No functional
changes otherwise.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/masterd/iallocator.py