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