[Users] bonding setup with python sdk

Louis Coilliot louis.coilliot at think.fr
Wed Feb 13 10:27:52 UTC 2013


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 ])))
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py",
line 2659, in setupnetworks
    headers={"Correlation-Id":correlation_id})
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 129, in request
    last=last)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/proxy.py",
line 158, in __doRequest
    raise RequestError, response
ovirtsdk.infrastructure.errors.RequestError:
status: 400
reason: Bad Request
detail: Entity not found: null

>From this test script :
http://kermit.fr/lofic/snipper/16/

Louis Coilliot

2013/2/13 Michael Pasternak <mpastern at redhat.com>:
>
> 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 in advance.
>>
>> Louis Coilliot
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
> --
>
> Michael Pasternak
> RedHat, ENG-Virtualization R&D
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list