Re: [Users] bonding setup with python sdk

2013-02-14 Thread Michael Pasternak
new example for the setupnetworks action is available here [1], thanks Moti. [1] http://www.ovirt.org/Testing/PythonApi#Networking On 02/13/2013 01:54 PM, Louis Coilliot wrote: Hello, thanks for your feedback. The version is : rhevm-sdk-3.1.0.16-1.el6ev.noarch and latest from RHN.

Re: [Users] bonding setup with python sdk

2013-02-13 Thread Michael Pasternak
Moti, Can you please add your setupnetworks example for bonds to the sdk wiki? (and post it on this thread) thanks. On 02/12/2013 06:40 PM, Louis Coilliot wrote: Hello, do you have examples or hints on setting the bonding of some NICS on hypervisor hosts ? With the python SDK ? Thanks

Re: [Users] bonding setup with python sdk

2013-02-13 Thread Moti Asayag
On 02/13/2013 12:01 PM, Michael Pasternak wrote: Moti, Can you please add your setupnetworks example for bonds to the sdk wiki? (and post it on this thread) Hi, I've started documenting my experience with the ovirt-engine-sdk-python and hopefully with the java sdk in the near future

Re: [Users] bonding setup with python sdk

2013-02-13 Thread Louis Coilliot
Thanks. The proper link is : http://motiasayag.wordpress.com/2013/02/13/creating-networks-on-top-of-a-bond/ Is it supposed to work for RHEV 3.1 ? I get : Traceback (most recent call last): File ./setbond.py, line 46, in module host_nics = params.HostNics(host_nic = [ managementNetwork

Re: [Users] bonding setup with python sdk

2013-02-13 Thread Louis Coilliot
Hello, thanks for your feedback. The version is : rhevm-sdk-3.1.0.16-1.el6ev.noarch and latest from RHN. About the nullify with or without params.Network() : this was from Moti's blog example. I changed it with : nic0 = params.HostNIC(name = 'eth0', network = params.Network(),