Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, so is it like for configuration we must be using xml. Also, could you please point me to any sample code to power on and off a vm. Thanks for help!! Regards Rohit Singh On Wed, 12 Dec 2018 at 3:30 PM, Martin Kletzander wrote: > On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread Martin Kletzander
On Wed, Dec 12, 2018 at 03:03:41PM +0530, ROHIT SINGH wrote: Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Libvirt uses XML for most of the APIs. Depends what you need to do you

Re: [libvirt-users] Libvirt api for esx

2018-12-12 Thread ROHIT SINGH
Thanks Martin, It’s working now. Could you please help me with role of xml in libvirt api and what if I don’t want use of xml in my code. Please let me know. Thanks for help!! Regards Rohit Singh On Thu, 6 Dec 2018 at 11:24 PM, ROHIT SINGH wrote: > Thanks Martin for help. I will give it a

Re: [libvirt-users] Libvirt api for esx

2018-12-06 Thread ROHIT SINGH
Thanks Martin for help. I will give it a shot. Regards Rohit Singh On Thu, 6 Dec 2018 at 2:55 PM, Martin Kletzander wrote: > On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: > >Hi Martin, > > > >Could you please help me with below issue, I am not sure what’s wrong > here. > >Please

Re: [libvirt-users] Libvirt api for esx

2018-12-06 Thread Martin Kletzander
On Wed, Dec 05, 2018 at 09:44:17PM +0530, ROHIT SINGH wrote: Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt

Re: [libvirt-users] Libvirt api for esx

2018-12-05 Thread ROHIT SINGH
Hi Martin, Could you please help me with below issue, I am not sure what’s wrong here. Please find below code and error snippet. Thanks for help. Code Snippet: - from __future__ import print_function import sys import libvirt SASL_USER = SASL_PASS = def request_cred(credentials, user_data):

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread ROHIT SINGH
Thanks a lot Martin for help. Really appreciate it. You’re life saver. I will go through these links and will get back to you in case I need anymore information. Once again, thanks for help. Regards Rohit Singh On Thu, 29 Nov 2018 at 2:34 PM, Martin Kletzander wrote: > On Wed, Nov 28, 2018

Re: [libvirt-users] Libvirt api for esx

2018-11-29 Thread Martin Kletzander
On Wed, Nov 28, 2018 at 10:24:55PM +0530, ROHIT SINGH wrote: Hi Martin, Could you please point me to any example codes in python present for esx? Suppose, I have to power off and power on esx virtual machine, can i get this code somewhere on python to develop some understanding.

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
Hi Martin, Could you please point me to any example codes in python present for esx? Suppose, I have to power off and power on esx virtual machine, can i get this code somewhere on python to develop some understanding. Actually, I am not able to find sample code related to esx in python, please

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
Thanks, I'll check it out. On Wed, 28 Nov 2018 at 9:31 PM, Martin Kletzander wrote: > On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote: > >Hi, > > > >I am doing poc for using libvirt api for implementation of esx in python. > > > >I tried researching through module but did not find a

Re: [libvirt-users] Libvirt api for esx

2018-11-28 Thread Martin Kletzander
On Mon, Nov 26, 2018 at 04:11:20PM +0530, ROHIT SINGH wrote: Hi, I am doing poc for using libvirt api for implementation of esx in python. I tried researching through module but did not find a way how it works for esx. Any help on how to proceed specifically for esx would be of great help.

[libvirt-users] Libvirt api for esx

2018-11-28 Thread ROHIT SINGH
Hi, I am doing poc for using libvirt api for implementation of esx in python. I tried researching through module but did not find a way how it works for esx. Any help on how to proceed specifically for esx would be of great help. Please let me know as soon as possible, lagging on deliverables.