[ovirt-users] Need help in starting a vm using vdsClient

Piotr Kliczewski piotr.kliczewski at gmail.com
Fri May 6 12:27:07 UTC 2016


Hi,

You may want to experiment with [1]. Instead of writing a bash script
you can use python for your testing.
Here [2] is an example how to use it. Let me know if you need more
help with creating a script.

Thanks,
Piotr

[1] https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=lib/vdsm/jsonrpcvdscli.py;h=2720673d296831e1d6500c571a8c29b5950ba88b;hb=refs/heads/master
[2] https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=tests/functional/utils.py;h=9db8ae3a8ed5c38356fa35982c1570541074b9e5;hb=refs/heads/master

On Fri, May 6, 2016 at 2:05 PM, knarra <knarra at redhat.com> wrote:
> Hi All,
>
>    I want to write a script to poweroff vms and start vms in a loop for my
> testing. I found the command to poweroff the vms by looking at the vdsClient
> -h, but can some one help me how to start the powered off vm using vdsClient
> command ??
>
> Thanks
> kasturi.
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list