Re: [ovirt-users] Ovirt Python SDK adding a directlun

2014-05-09 Thread Juan Hernandez
On 05/08/2014 11:37 PM, Gary Lloyd wrote: When I add direct Luns this way the size shows as 1 on the GUI and 0 when called from the rest api. All the other items mentioned are not present. Thanks Ah, I understand. This is probably related to the fact that you aren't creating a storage

Re: [ovirt-users] Ovirt Python SDK adding a directlun

2014-05-09 Thread Juan Hernandez
On 05/09/2014 10:31 AM, Juan Hernandez wrote: On 05/08/2014 11:37 PM, Gary Lloyd wrote: When I add direct Luns this way the size shows as 1 on the GUI and 0 when called from the rest api. All the other items mentioned are not present. Thanks Ah, I understand. This is probably related to

[ovirt-users] Ovirt Python SDK adding a directlun

2014-05-08 Thread Gary Lloyd
We are working on a script so that we can create an ISCSI LUN on our SAN and then directly assign it to a vm. We have been able to get it to work but with one small annoyance. I can't figure out how to populate size,serial,vendor_id and product_id via the api. Would anyone be able to point me in

Re: [ovirt-users] Ovirt Python SDK adding a directlun

2014-05-08 Thread Juan Hernandez
On 05/08/2014 05:04 PM, Gary Lloyd wrote: We are working on a script so that we can create an ISCSI LUN on our SAN and then directly assign it to a vm. We have been able to get it to work but with one small annoyance. I can't figure out how to populate size,serial,vendor_id and product_id

Re: [ovirt-users] Ovirt Python SDK adding a directlun

2014-05-08 Thread Gary Lloyd
When I add direct Luns this way the size shows as 1 on the GUI and 0 when called from the rest api. All the other items mentioned are not present. Thanks On 8 May 2014, at 18:05, Juan Hernandez jhern...@redhat.com wrote: On 05/08/2014 05:04 PM, Gary Lloyd wrote: We are working on a