Add a new instance field denoting run status
authorIustin Pop <iustin@google.com>
Sun, 22 Mar 2009 10:24:23 +0000 (11:24 +0100)
committerIustin Pop <iustin@google.com>
Sun, 22 Mar 2009 10:24:23 +0000 (11:24 +0100)
commitf82f1f39f71bf31479f4a3e0a85f0e25f5e582a4
tree42e24d9a58fbee3f9748cb606795d92b18116b38
parenta1c6212ef14e3f597cafd983a1dd8b837e435529
Add a new instance field denoting run status

This patch modifies Rapi, the Cluster.loadData and hscan serialization to load
and save the instance run status. At instance level, we add both a boolean
field denoting the true/false run status, and a string field which holds the
original value (since we don't have a 1-to-1 mapping) for use in hscan
serialization.

The run status is not yet used.
Ganeti/HTools/Cluster.hs
Ganeti/HTools/Instance.hs
Ganeti/HTools/Rapi.hs
hscan.hs