def hotplug_all(self, blocks): for block in blocks: if not memory._check_memory_state(block): err = online(block) if err: self.log.error(err)
def hotplug_all(blocks): for block in blocks: if not memory._check_memory_state(block): online(block)
def hotunplug_all(blocks): for block in blocks: if memory._check_memory_state(block): offline(block)