Revision a3f0f306
ID | a3f0f3069e0dce13f2e465539491f191f618b528 |
Parent | 270df828 |
Child | 14933c17 |
Add Python hypervisor instance state
Add 'HvInstanceState' which represents the state of an instance
(either 'running' or 'shutdown') and fix the remaining hypervisor
backends to return a value of this type. Before this patch, each
backend was returning their own value, some were returning strings,
others integers. However, the value that represents the state of an
instance was never actually used in Ganeti, until instance shutdown
detection became necessary.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Hrvoje Ribicic <riba@google.com>
Files
- added
- modified
- copied
- renamed
- deleted