Healthcheck plugin

Abstract class of healthcheck. There is only one method to implement, that determines state of Vm or its underlying services.

Initialization - consider following config:

healthcheck:
  driver: SomeHC
  param1: AAAA
  param2: BBBB
  some_x: CCC

All params will be passed as config dict to the driver init:

class vmshepherd.healthcheck.abstract.AbstractHealthcheck(config)[source]

Bases: object

is_healthy(vm)[source]

Checks that is a given vm is healthy

Parameters:vm (vmshepherd.iaas.Vm) – Vm object

Returns boolean - True means is healthy, False means unhealthy.