Need help in starting a vm using vdsClient

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.

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.p... [2] https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=tests/functional/utils.p... On Fri, May 6, 2016 at 2:05 PM, knarra <knarra@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 05/06/2016 05:57 PM, Piotr Kliczewski wrote:
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.p... [2] https://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=tests/functional/utils.p... Thank you. yes, i think i need help in creating a script. On Fri, May 6, 2016 at 2:05 PM, knarra <knarra@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@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
participants (2)
-
knarra
-
Piotr Kliczewski