[ovirt-users] Adding a new quota via the ovirt-shell

Nicolás nicolas at devels.es
Tue Jun 23 19:26:17 UTC 2015


Hi,

Since this is not yet implemented, I was wondering whether adding quotas 
could be accomplished via purely raw SQL sentences.

I've done a database dump before and after creating a quota in the oVirt 
manager and I could see the following changes:

1) An insertion into table 'quota'
2) An insertion into table 'quota_limitation' with field quota_id as a 
foreign key to the ID of the above row
3) For consumer permissions: a row per user into table 'permissions'

Would that suffice in terms of engine consistency to reproduce a quota 
creation via the oVirt Manager?

Thanks.

Nicolás

El 18/06/15 a las 19:54, Ondra Machacek escribió:
> Hi,
>
> cli/sdks are built on top of REST API, but there is no support for 
> quota in 3.5 in REST API.
> But see[1], should be supported in 3.6.
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=893927
>
> On 06/18/2015 03:49 PM, nicolas at devels.es wrote:
>> Hi,
>>
>> Is it currently possible to define a new resource quota (CPU, memory, 
>> storage...) via the ovirt-shell (CLI) in oVirt 3.5.3? I have listed 
>> all the available commands but I can't find it under any of them.
>>
>> Thanks.
>>
>> Nicolás
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>




More information about the Users mailing list