« Previous | Next » 

Revision 4986c93b

ID4986c93bb5783ae5a66190d59abfb0f0f7ebfd52
Parent d6e1e696
Child b5e61bfd

Added by Hrvoje Ribicic about 10 years ago

Factor out and alter the instance running check

Examining whether an instance is running is useful outside the instance
state check, especially as the check relies on the admin_state recorded
within the configuration, which the code treats as the desired rather
than the actual state. This patch pulls the check out into a separate
function. It also updates the function to account for possible user
shutdowns, if the right option is passed.

Signed-off-by: Hrvoje Ribicic <>
Reviewed-by: Jose A. Lopes <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences