« Previous | Next » 

Revision a3f0f306

Parent 270df828
Child 14933c17

Added by Jose A. Lopes over 10 years ago

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 <>
Reviewed-by: Hrvoje Ribicic <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences