Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos @ 8cbea11d

Name Size
  im
  quotaholder
  test
__init__.py 1.9 kB
urls.py 2 kB

Latest revisions

# Date Author Comment
e496f888 04/05/2013 06:49 pm Giorgos Korfiatis

Adjust astakos to new holding design

Simplifications due to removal of quantity and merging capacity into holding.
Also make sure that holders and resources are represented as strings in
quotaholder calls.

2864e701 04/05/2013 06:49 pm Giorgos Korfiatis

Turn holding into a counter

The role of Holding is now only to keep track of usage against
a limit. There is no more exporting of resources and thus no need
for the stock counters.

b78f2b29 04/05/2013 06:49 pm Giorgos Korfiatis

Rename capacity to limit

dc9da5b9 04/05/2013 06:49 pm Giorgos Korfiatis

New quota functions in astakos

Handle quotas as nested dictionaries indexed by:
user uuid, source, resource name

0da5e49a 04/05/2013 06:49 pm Giorgos Korfiatis

Compute and show quotas by source

Adjust astakos code to the new nested dict structure of quotas.

aa27f246 04/05/2013 06:49 pm Giorgos Korfiatis

Move quota-related code out of models.py

Intention is to collect all quota-related code to a single file.

9bca7701 04/05/2013 06:49 pm Giorgos Korfiatis

Pass user.id in project join/leave operations

This is done for reasons of uniformity.

8cbea11d 04/05/2013 06:49 pm Giorgos Korfiatis

Sync to quotaholder by recomputing user quotas

On a user joining/leaving a project or on a project definition change,
we used to compute quota diffs for affected users and add them up
to existing values in quotaholder.

We now switch to recomputing all quotas for affected users and resetting...

2b888e60 04/05/2013 06:48 pm Giorgos Korfiatis

Merge Policy model into Holding

Since the removal of quantity, Policy was left with only one value:
capacity. To simplify things, we directly include capacity in Holding.

This makes obsolete the following functions, which are removed:
get_limits, set_limits, get_holding, set_holding.

04dcc30e 04/05/2013 06:48 pm Giorgos Korfiatis

Import resource from no source

Since quantity (initial supply) has been removed from Policy,
there is no direct way to set the initial available resource,
for example the total available VMs for holding cyclades.

This is now achieved by issuing (and accepting) a commission...

View revisions

Also available in: Atom