Use allow_runtime_chgs in cmdlib
authorGuido Trotter <ultrotter@google.com>
Wed, 25 Jan 2012 15:37:07 +0000 (15:37 +0000)
committerGuido Trotter <ultrotter@google.com>
Thu, 26 Jan 2012 16:33:57 +0000 (16:33 +0000)
commite14ddb6e952001c3774d8511d116f627e90c142e
tree7e1daaf1c1e6780854e380f3a9abad6764b97d9e
parent8c0b16f6983e778ef350d358808bb1773f9fa587
Use allow_runtime_chgs in cmdlib

- Report the attribute value in the hooks runtime variable.
- Use it to abort migration if not enough memory is available on the
  target node.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
lib/cmdlib.py