Re: [ovirt-users] Need help in starting a vm using vdsClient
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.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 Thank you. yes, i think i need help in creating a script. On Fri, May 6, 2016 at 2:05 PM, knarra 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Need help in starting a vm using vdsClient
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 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 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] 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. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users