« Previous | Next » 

Revision 4ba5f148

ID4ba5f1487862301d5c28891c7b628d1cb059d95a
Parent a5e58418
Child 8072af6c

Added by Dato Simó over 9 years ago

harep: pure function to detect brokeness with instances

Add a 'detectBroken' function that determines whether an instance is in an
unhealthy state, and what's needed to repair it. The repair is specified as
an AutoRepairType constant, and a list of opcodes. The opcodes will only be
executed (in following patches) if the repair type is allowed by the policy.

Signed-off-by: Dato Simó <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences