/** * Reboot an instance * * @param string $id * @return boolean */ public function rebootInstance($id) { $this->resetError(); $result = $this->rackspace->rebootServer($id, true); if ($result === false) { $this->setError(); } return $result; }
/** * 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(self::$rackspace->rebootServer(self::$serverId,true)); $this->assertTrue(self::waitForStatus('active')); }
/** * Reboot an instance * * @param string $id * @return boolean */ public function rebootInstance($id) { return $this->rackspace->rebootServer($id,true); }