예제 #1
0
 /**
  * Reboot the instance
  * 
  * @return boolean 
  */
 public function reboot()
 {
     return $this->adapter->rebootInstance($this->attributes[self::INSTANCE_ID]);
 }
예제 #2
0
 /**
  * Test reboot and instance
  */
 public function testRebootInstance()
 {
     $this->assertTrue($this->infrastructure->rebootInstance(self::SERVER_ID));
     $this->assertTrue($this->infrastructure->isSuccessful());
 }