/** * Reboot an instance * * @param string $id * @return boolean */ public function rebootInstance($id) { return $this->rackspace->rebootServer($id, true); }
/** * Test hard reboot the server */ public function testHardRebootServer() { $this->assertTrue($this->rackspace->rebootServer(self::$serverId, true)); }
/** * Reboot the server * * @return boolean */ public function reboot($hard = false) { return $this->service->rebootServer($this->id, $hard); }
/** * Test hard reboot the server */ public function testHardRebootServer() { $this->assertTrue($this->rackspace->rebootServer(self::$serverId, true)); $this->assertTrue($this->waitForStatus('active')); }