« Previous | Next » 

Revision a3f0f306

IDa3f0f3069e0dce13f2e465539491f191f618b528
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 <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences