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