Beispiel #1
0
func (this *OpenStack) VmReboot(vm *lobster.VirtualMachine) error {
	return servers.Reboot(this.ComputeClient, vm.Identification, servers.SoftReboot).ExtractErr()
}
Beispiel #2
0
func (os *OpenStack) RebootInstance(instanceID string) error {
	return servers.Reboot(os.ComputeClient, instanceID, servers.HardReboot).ExtractErr()
}