Introduce instance start/stop no_remember attribute
authorIustin Pop <iustin@google.com>
Fri, 13 May 2011 15:02:35 +0000 (17:02 +0200)
committerIustin Pop <iustin@google.com>
Mon, 16 May 2011 13:24:38 +0000 (15:24 +0200)
commit9b64e486bb341316cbe64b06daf37fe6ca14d60f
tree4888cc70589f60da26c1c33d94cace6a5d47a159
parentccce780cebe48506e75b05fdafc6116d555e537f
Introduce instance start/stop no_remember attribute

This will allow stopping or starting an instance without changing the
remembered state. While this seems counter-intuitive at first (it will
create cluster verify errors), it can help in a few corner cases:

- shutting down an entire cluster for maintenance but without having
  to remember state
- doing testing of Ganeti itself

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenĂ© Nussbaumer <rn@google.com>
lib/cmdlib.py
lib/opcodes.py