Re: [libvirt] Interface driver and ESX support

2009-09-14 Thread Matthias Bolte
2009/9/14 Daniel Veillard : > On Mon, Sep 14, 2009 at 02:57:52AM +0200, Matthias Bolte wrote: >> Okay, I finally got the patches cleaned up. >> >> I just posted this 12 patches series to the mailing list. Apply them >> all to an up to date git clone and apply the attached, updated ESX >> interface

Re: [libvirt] Interface driver and ESX support

2009-09-14 Thread Daniel Veillard
On Mon, Sep 14, 2009 at 02:57:52AM +0200, Matthias Bolte wrote: > Okay, I finally got the patches cleaned up. > > I just posted this 12 patches series to the mailing list. Apply them > all to an up to date git clone and apply the attached, updated ESX > interface driver stub patch in the end. > >

Re: [libvirt] Interface driver and ESX support

2009-09-14 Thread Shahar Klein
Thanks Matthias works great : ) From: Matthias Bolte To: Shahar Klein Cc: libvir-list@redhat.com Sent: Monday, September 14, 2009 3:57:52 AM Subject: Re: [libvirt] Interface driver and ESX support Okay, I finally got the patches cleaned up. I just posted

Re: [libvirt] Interface driver and ESX support

2009-09-13 Thread Matthias Bolte
4:39:22 PM > Subject: Re: [libvirt] Interface driver and ESX support > > No, as I said before you should wait until you can use the unpublished > binding of HostCpuIdInfo as an example. This also includes the code to > handle ArrayOf* types. I'm currently cleaning up this patches (didn&

Re: [libvirt] Interface driver and ESX support

2009-09-13 Thread Matthias Bolte
olte > To: Shahar Klein > Cc: libvir-list@redhat.com > Sent: Thursday, September 10, 2009 6:24:25 PM > Subject: Re: [libvirt] Interface driver and ESX support > > 2009/9/10 Shahar Klein : >> I'm not sure what you mean about mapping >> lets take the pnics as a

Re: [libvirt] Interface driver and ESX support

2009-09-13 Thread Shahar Klein
n I should also implement: esxVI_ArrayOfPhysicalNic_CastListFromAnyType() and all the funcs/type definition coming with it? thanks Shahar From: Matthias Bolte To: Shahar Klein Cc: libvir-list@redhat.com Sent: Thursday, September 10, 2009 6:24:25 PM Subject: Re: [libvirt]

Re: [libvirt] Interface driver and ESX support

2009-09-10 Thread Matthias Bolte
2009/9/10 Shahar Klein : > I'm not sure what you mean about mapping > lets take the pnics as a study case for me > do I need to define a structure similar to this: > http://www.vmware.com/support/developer/vc-sdk/visdk400pubs/ReferenceGuide/vim.host.PhysicalNic.html > and also take care for it's al

Re: [libvirt] Interface driver and ESX support

2009-09-10 Thread Shahar Klein
allocation? From: Matthias Bolte To: Shahar Klein Cc: Chris Lalancette ; libvir-list@redhat.com Sent: Wednesday, September 9, 2009 1:11:47 PM Subject: Re: [libvirt] Interface driver and ESX support 2009/9/9 Shahar Klein : > I think I understand the mechanism of the VI API

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Shahar Klein
Thank you very much : ) From: Matthias Bolte To: Shahar Klein Cc: Chris Lalancette ; libvir-list@redhat.com Sent: Wednesday, September 9, 2009 1:11:47 PM Subject: Re: [libvirt] Interface driver and ESX support 2009/9/9 Shahar Klein : > I think I underst

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Matthias Bolte
2009/9/9 Shahar Klein : > I think I understand the mechanism of the VI API > and the way esx_vi.c is using it > the surounding is a bit more complex for me > so > can you provide the framework? > I mean > can you put in the esx_interface_driver.c and h > and the registration etc... > and also putti

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Shahar Klein
virRegisterInterfaceDriver(&esxInterfaceDriver); return 0; } From: Matthias Bolte To: Shahar Klein Cc: Chris Lalancette ; libvir-list@redhat.com Sent: Wednesday, September 9, 2009 11:37:17 AM Subject: Re: [libvirt] Interface driver and ESX support 200

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Matthias Bolte
2009/9/9 Shahar Klein : > Let me rephrase my question : ) > In the current libvirt infrastructure I can do a lot of things with libvirt > and a remote ESX node > I can list all the guests > I can suspend a guest > I can get a lot of node info > and much more > can I (for example) > 1. add NIC t

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Shahar Klein
thanks Chris I'll try to write somthing and see how it goes shahar From: Chris Lalancette To: Shahar Klein Cc: veill...@redhat.com; libvir-list@redhat.com Sent: Wednesday, September 9, 2009 10:18:39 AM Subject: Re: [libvirt] Interface driver and ESX su

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Chris Lalancette
Shahar Klein wrote: > Let me rephrase my question : ) > > In the current libvirt infrastructure I can do a lot of things with > libvirt and a remote ESX node > I can list all the guests > I can suspend a guest > I can get a lot of node info > and much more > > can I (for example) > 1. add NIC

Re: [libvirt] Interface driver and ESX support

2009-09-09 Thread Shahar Klein
From: Chris Lalancette To: Shahar Klein Cc: veill...@redhat.com; libvir-list@redhat.com Sent: Tuesday, September 8, 2009 5:55:42 PM Subject: Re: [libvirt] Interface driver and ESX support Shahar Klein wrote: > mmm > > I would like to get host(i.e. node)

Re: [libvirt] Interface driver and ESX support

2009-09-08 Thread Chris Lalancette
Shahar Klein wrote: > mmm > > I would like to get host(i.e. node) interface info > as well as domain(guest) network/interface info > > I will probably would like to set/manipulate the node and domains as well > but it is simpler to start with the get functions - isn't it? > > Did I totally mi

Re: [libvirt] Interface driver and ESX support

2009-09-08 Thread Shahar Klein
hahar From: Daniel Veillard To: Shahar Klein Cc: libvir-list@redhat.com Sent: Tuesday, September 8, 2009 5:20:34 PM Subject: Re: [libvirt] Interface driver and ESX support On Tue, Sep 08, 2009 at 06:56:10AM -0700, Shahar Klein wrote: > I'm trying to get

Re: [libvirt] Interface driver and ESX support

2009-09-08 Thread Daniel Veillard
On Tue, Sep 08, 2009 at 06:56:10AM -0700, Shahar Klein wrote: > I'm trying to get a feel of the python binding and the esx driver > > Trying to get the number of interfaces hit(as anticipated) a non-support wall: > > Traceback (most recent call last): >   File "test.py", line 362, in ? >     vmm.

[libvirt] Interface driver and ESX support

2009-09-08 Thread Shahar Klein
I'm trying to get a feel of the python binding and the esx driver Trying to get the number of interfaces hit(as anticipated) a non-support wall: Traceback (most recent call last):   File "test.py", line 362, in ?     vmm.refresh()   File "test.py", line 189, in refresh     print self.conn.numOfDe