« Previous | Next » 

Revision b3876df2

IDb3876df20b9cdd4532c410b5aa7c6873a502a535
Parent 76a0798e
Child 6398450f

Added by Jose A. Lopes almost 10 years ago

Modify watcher to properly cleanup user down instances

  • Query addtional instance fields, namely, 'admin_state' and
    'admin_state_source'. Together with the instance field 'status',
    the watcher is able to determine whether an instance was shutdown by
    the user and whether it was already cleaned up.
  • Add 'Instance' method 'NeedsCleanup' which determines whether a user
    down instance needs to be cleaned up (i.e., it was not already
    cleaned up).

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

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences