Re: [libvirt] VMWare support, any news?

2008-08-14 Thread Michael March
Vmware has an api the vmware server, vmware workstation and esx all (mostly) share. -- march -Original Message- From: Stefan de Konink [EMAIL PROTECTED] Date: Fri, 15 Aug 2008 00:33:20 To: Yushu Yao[EMAIL PROTECTED] Cc: libvir-list@redhat.com Subject: Re: [libvirt] VMWare support,

Re: [libvirt] Web Interface - LibVirt Communication?

2008-07-09 Thread Michael March
This might not be the 'right way' but here is how I handled communication to each Xen instance my web interface is managing. I used the ssh style connect string.. even if it was a local instance.. here is a line ripped right from my code: server_list={michael:['127.0.0.1',],

Re: [libvirt] Web Interface - LibVirt Communication?

2008-07-09 Thread Michael March
Michael March schreef: .. in this setup you MUST have the ssh public key of the user the web server runs as in the 'root' account of each server it manages.. again, this might not be 100% kosher.. but it works. The main problem I encounter is the hostname voodoo...but that check can

Re: [libvirt] Web Interface - LibVirt Communication?

2008-07-09 Thread Michael March
On Wed, Jul 09, 2008 at 06:57:11AM -0700, Michael March wrote: This might not be the 'right way' but here is how I handled communication to each Xen instance my web interface is managing. I used the ssh style connect string.. even if it was a local instance.. here is a line ripped right

Re: [libvirt] Web Interface - LibVirt Communication?

2008-07-09 Thread Michael March
Stefan de Konink wrote: Michael March schreef: Michael March schreef: .. in this setup you MUST have the ssh public key of the user the web server runs as in the 'root' account of each server it manages.. again, this might not be 100% kosher.. but it works. The main problem I encounter

[libvirt] trying to 'destroy' a domain with Python bindings...

2008-07-07 Thread Michael March
When I do this: conn.lookupByName('myDomU').destroy() ... I get this: Traceback (most recent call last): File test.py, line 30, in ? print conn.lookupByName('myDomU').destroy() File /usr/lib64/python2.4/site-packages/libvirt.py, line 238, in destroy if ret == -1: raise libvirtError

Re: [libvirt] trying to 'destroy' a domain with Python bindings...

2008-07-07 Thread Michael March
When I do this: conn.lookupByName('myDomU').destroy() ... I get this: Traceback (most recent call last): File test.py, line 30, in ? print conn.lookupByName('myDomU').destroy() File /usr/lib64/python2.4/site-packages/libvirt.py, line 238, in destroy if ret == -1: raise

Re: [libvirt] 'starting' a domain using Python libvirt..

2008-07-06 Thread Michael March
On Sat, Jul 05, 2008 at 04:31:05PM -0700, Michael March wrote: I'm trying to figure out how to start a domain .. and I can't figure out what method to use.. When I do this: dir(conn.lookupByName('my-vm-1')) I get these options: ['ID', 'OSType', 'UUID', 'UUIDString

[libvirt] 'starting' a domain using Python libvirt..

2008-07-05 Thread Michael March
I'm trying to figure out how to start a domain .. and I can't figure out what method to use.. When I do this: dir(conn.lookupByName('my-vm-1')) I get these options: ['ID', 'OSType', 'UUID', 'UUIDString', 'XMLDesc', '__del__', '__doc__', '__init__', '__module__', '_conn', '_o',