Verify: node info and instance list
authorHelga Velroyen <helgav@google.com>
Fri, 7 Jun 2013 08:28:52 +0000 (10:28 +0200)
committerHelga Velroyen <helgav@google.com>
Wed, 12 Jun 2013 07:17:38 +0000 (09:17 +0200)
commit5b0dfcefc7e7641a58d34551b14efb1c3d30bb7e
tree8428f0cc5d39f98a90cdf49a559492d83eb8b198
parent75bf31493fc1d65c588a3be5d29b0d0e4733683f
Verify: node info and instance list

This patch enhances node verification by:
- Factoring out the verification of the node info
  and the instance list to increase testability.
- Make both of them use the hvparams parameter.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>
lib/backend.py
lib/cmdlib/cluster.py
lib/cmdlib/node.py
lib/rpc_defs.py
lib/server/noded.py