Add a new node parameter 'offline'
authorIustin Pop <iustin@google.com>
Fri, 5 Dec 2008 02:53:21 +0000 (02:53 +0000)
committerIustin Pop <iustin@google.com>
Fri, 5 Dec 2008 02:53:21 +0000 (02:53 +0000)
commitfc0fe88c00dabfbee6a7939ae0103dc0ee0b5a11
treeaff662e37a6f2c0f18d43cd7a3877a8dc1c78e1f
parent02b31f3219674fc8411d4e08dc8b7b4e0c6d5bdb
Add a new node parameter 'offline'

This patch adds a new node parameter called offline that will be used to
mark nodes which should be touched by commands.

We also add this flag at cluster init, node add, and export it to
iallocator scripts.

Reviewed-by: ultrotter
lib/bootstrap.py
lib/cmdlib.py
lib/objects.py