cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Tripathi" <>
Subject Re: Review Request: CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts
Date Wed, 27 Mar 2013 06:00:46 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated March 27, 2013, 6 a.m.)

Review request for cloudstack, Devdeep Singh, Nitin Mehta, Sateesh Chodapuneedi, mice xia,
and Min Chen.


updated patch, in sync with the latest code.


CLOUDSTACK-1156: Limit Primary and Secondary storage for domain/accounts
    Addition of two new resource types i.e. Primary and Secondary storage space in the existing
pool of
    resource types.
    Added methods to set the limits on these resources using updateResourceLimit
    API command and to get a count using updateResourceCount. Also added calls in the
    Templates, Volumes, Snapshots life cycle to check these limits and to increment/decrement
the new
    resource types
    Resource Name          :: Resource type number
        Primary Storage               10
        Secondary Storage             11
    Also added jUnit Tests for the same.

This addresses bug CLOUDSTACK-1156.

Diffs (updated)

  api/src/com/cloud/configuration/ 7614c8a 
  api/src/com/cloud/storage/ 8517988 
  api/src/org/apache/cloudstack/api/command/user/resource/ f6d3a98

  api/src/org/apache/cloudstack/api/command/user/resource/ 0039f62

  api/src/org/apache/cloudstack/api/command/user/volume/ 955727a 
  api/src/org/apache/cloudstack/api/response/ 9a98a35 
  api/src/org/apache/cloudstack/api/response/ a7fbbf2 
  api/src/org/apache/cloudstack/api/response/ b444e7a 
  server/src/com/cloud/alert/ a45482f 
  server/src/com/cloud/api/ 663139d 
  server/src/com/cloud/api/query/dao/ 898bafc 
  server/src/com/cloud/api/query/vo/ cd7231c 
  server/src/com/cloud/configuration/ 9db7dbd 
  server/src/com/cloud/resourcelimit/ 23c0796 
  server/src/com/cloud/storage/ af3cbbf 
  server/src/com/cloud/storage/ 737ed0a 
  server/src/com/cloud/storage/dao/ 0e378a7 
  server/src/com/cloud/storage/dao/ 825b6d5 
  server/src/com/cloud/storage/dao/ d7a2667 
  server/src/com/cloud/storage/dao/ 40ed875 
  server/src/com/cloud/storage/download/ d4c20cf 
  server/src/com/cloud/storage/download/ 0bc89e3 
  server/src/com/cloud/storage/snapshot/ bacca01 
  server/src/com/cloud/template/ 1426421 
  server/src/com/cloud/template/ d843dbc 
  server/src/com/cloud/vm/ 82a69bd 
  server/test/com/cloud/resourcelimit/ d311ad3 
  server/test/com/cloud/vpc/ b9fc861 
  setup/db/db/schema-40to410.sql 60ad025 
  setup/db/db/schema-410to420.sql eb650cc 
  utils/src/com/cloud/utils/ a8b5ccb 



Tested life cycle of templates, volumes, snapshots, vm on my local CloudStack setup.


Sanjay Tripathi

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message