Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / quotas / __init__.py @ 2e1e6844

History | View | Annotate | Download (10.4 kB)

# Date Author Comment
45855947 11/30/2012 02:43 pm Georgios D. Tsoukalas

cyclades: authenticate to quotaholder with token

- initialize quotaholder client with the token from
setting CYCLADES_QUOTAHOLDER_TOKEN

- rename setting USE_QUOTAHOLDER to CYCLADES_USE_QUOTAHOLDER

7ced3e6b 11/29/2012 04:29 pm Christos Stavrakakis

Use CYCLADES_QUOTAHOLDER_URL

e16cf080 11/27/2012 06:01 pm Georgios D. Tsoukalas

set quotaholder urls

- quotaholder base url is of the form 'http://host/quotaholder/v/'
- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL

b14f55b5 11/27/2012 04:13 pm Christos Stavrakakis

Add USE_QUOTAHOLDER setting

Add setting indicating whether to use the Quotaholder service or
use the static limits.

dba149f6 11/26/2012 06:22 pm Christos Stavrakakis

Fix imports relative to quotas

e8f2d02d 11/26/2012 12:40 pm Christos Stavrakakis

Fix quotaholder exception handling

Currently, QuotaholderHTTP returns CallError, with the call_error
attribute indicating the error.

11a54cb9 11/26/2012 12:40 pm Christos Stavrakakis

Implement reconciliation for pending quotas

4ac68aaf 11/26/2012 12:40 pm Christos Stavrakakis

Allocate resources from cyclades entity

Also fix commissioning key

5805fbb1 11/26/2012 12:40 pm Christos Stavrakakis

Convert resource sizes in bytes

900a9fc3 11/26/2012 12:40 pm Christos Stavrakakis

Rename disk to disk_size

457a8ada 11/26/2012 12:40 pm Christos Stavrakakis

Revert "Rename disk to disk_size"

This reverts commit 2d017fc046194d8316096c56d4a32cdf81ce5fcd.

3a334cab 11/26/2012 12:40 pm Georgios D. Tsoukalas

update to use new quotaholder packaging api

bfe7ba3c 11/26/2012 12:36 pm Christos Stavrakakis

Create quotas module

Create quotas module, containing functions for interacting with
the Quotaholder service.