Allow query of the drained node attribute
authorIustin Pop <iustin@google.com>
Tue, 10 Feb 2009 14:45:56 +0000 (14:45 +0000)
committerIustin Pop <iustin@google.com>
Tue, 10 Feb 2009 14:45:56 +0000 (14:45 +0000)
commit0b2454b9546a78ddbe40c0dd7d7a274e2e6e2ca6
tree95ac4cc5792b37ced06c1838c51a8f78e96d0e99
parentaf64c0eac10e030337b3316b75bea80f57d31be8
Allow query of the drained node attribute

This patch exports the drained attribute:
  - LUQueryNodes accepts now the drained field
  - RAPI exports it for node objects
  - gnt-node info shows it now (along newly-added master_candidate and
    offline flags)
  - gnt-node list can list it (but not by default)
  - to the iallocator scripts

Reviewed-by: imsnah
lib/cmdlib.py
lib/rapi/rlib2.py
scripts/gnt-node