@classmethod
  def DoMaintenance(cls, role):
    if role == constants.CONFD_NODE_ROLE_OFFLINE:
      inst_running = cls.GetRunningInstances()
      cls.ShutdownInstances(inst_running)
      drbd_running = cls.GetUsedDRBDs()
      cls.ShutdownDRBD(drbd_running)
    else:
      logging.debug("Not doing anything for role %s", role)
Assert that no messages (errors, warnings, or notices) have been
dataset/ETHPy150Open ganeti/ganeti/lib/watcher/nodemaint.py/NodeMaintenance.DoMaintenance--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/helper.py/TestCase.assert_silent