#102 [RFE] add support for soft and hard machine reboot
Closed: Fixed 3 years ago by frantisekz. Opened 3 years ago by rhack.

It would be nice to have API access to soft (ACPI?, reboot) and hard (stop and start?).

I can somehow implement this on tmt side, but it would be nice feature.


Metadata Update from @frantisekz:
- Issue assigned to frantisekz

3 years ago

@rhack is having access to soft poweroff enough (as in https://pagure.io/testcloud/pull-request/106 ) ? You'd then do instance.start(). Or would you prefer to have also the reboot fn?

Hi. Thanks. Vacation.

Maybe reboot() itself would be nice so I can save some layers in tmt code? :)
And I can forgot forever, how reboot is implemented in testcoloud :). It would be great.

Hi. Thanks. Vacation.

Maybe reboot() itself would be nice so I can save some layers in tmt code? :)
And I can forgot forever, how reboot is implemented in testcoloud :). It would be great.

@rhack , okay, https://pagure.io/testcloud/c/eb6f73768031a0f9f0fb38359c89ef134fe1c729?branch=master

Wil be part of next minor release soon-ish :)

Log in to comment on this ticket.

Metadata
Related Pull Requests
  • #106 Merged 3 years ago