https://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.VmService.stop poweroff, that's what the example is doing.

https://ovirt.github.io/ovirt-engine-sdk/master/services.m.html#ovirtsdk4.services.VmService.shutdown shutdown, what you are searching for I'd guess ( I think through guest agent of acpi event )

On 24.06.20 20:30, Louis Bohm wrote:
One of the example scripts at https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples is the stop_vm.py.  I am trying to use that to stop a vm however, I am finding that what its doing is similar to pulling the power cord rather then running a shutdown -h now on the system.

Is that correct?  Is there a nicer way to shutdown the VM in the python sdk?

Thanks,
Louis
-<<—->>-
Louis Bohm
louisb...@gmail.com <mailto:louisb...@gmail.com>

<https://www.youracclaim.com/badges/f11e0d65-21ad-4458-895b-2c5b5cb11134/public_url>
<https://www.youracclaim.com/badges/f11e0d65-21ad-4458-895b-2c5b5cb11134/public_url>


_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LPXWGDQWV7A3WGNDHYTPLESZNAOPNBDF/

_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5YX3ALPH2FNE2AYPCRUZG6IWGJACU2DI/

Reply via email to