<div dir="ltr"><div>Hello there,<br></div><br>I want to update the quota limit parameters for vcpu, memory and disk, but I dont find the way.<br><br>I manage to get the actual values but I am unable to manage how to update this values.<br><br>I am doing the following (I ommit the imports and conection stuff):<br><br>      system_service = connection.system_service()<br><br>      data_centers_service = system_service.data_centers_service()<br><br>      data_center = data_centers_service.list(search=&#39;name=Prueba2&#39;)[0]<br><br>      data_center_service = data_centers_service.data_center_service(id=<a href="http://data_center.id">data_center.id</a>)<br><br>      quotas_service = data_center_service.quotas_service()<br><br>      quota = quotas_service.list()[0]<br><br>      quota_service = quotas_service.quota_service(id=<a href="http://quota.id">quota.id</a>)<br><br>      quota_cluster_limits_service = quota_service.quota_cluster_limits_service()<br><br>      quotaclusterlimit = quota_cluster_limits_service.list()[0]<br><br>      quota_storage_limits_service = quota_service.quota_storage_limits_service()<br><br>quotastoragelimit = quota_storage_limits_service.list()[0]<br><br>if after that I print the following:<br>      quotaclusterlimit.memory_limit<br>      quotaclusterlimit.vcpu_limit<br>      quotastoragelimit.limit<br><br>i
 see the actual values of the limits, but, I m not able to update that 
values (I have been testing on how to do it). It seems that the only 
method that let you update anything on a quota is using:<br><br>       quota_service.add(quota=...)<br><br>I start creating a new quota object with these new limits by doing the following:<br><br>      new_quotastoragelimit = ovirtsdk4.types.QuotaStorageLimit(limit=100)<br>      new_quotaclusterlimit = ovirtsdk4.types.QuotaClusterLimit(memory_limit=100,vcpu_limit=10)<br><br>      new_quota = ovirtsdk4.types.Quota(quota_cluster_limits=new_quotaclusterlimit, quota_storage_limits=new_quotastoragelimit)<br><br>      quota_service.update(quota=new_quota)<br><br>I
 have directly tried to edit the printed values directly and then doing 
the update but I got nothing (got event in the engine but the limit did 
not change)<br><br>      quotaclusterlimit.memory_limit =100<br>      quotaclusterlimit.vcpu_limit = 10<br>      quotastoragelimit.limit = 100<br>      quota_service.update(quota=quota) # updating quota with itself<br><br>I suppose that there would be a way on how to this, so if you can help, i will really appreciate you.<br><br>Thanks for all in advance to all<br>Manuel</div>