Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app @ aa27f246

Name Size
  .settings
  astakos
  conf
  docs
COPYRIGHT 1.5 kB
Changelog 5.1 kB
MANIFEST.in 318 Bytes
README 18.2 kB
distribute_setup.py 15.4 kB
setup.cfg 77 Bytes
setup.py 7.3 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.

570015d2 04/05/2013 06:48 pm Giorgos Korfiatis

wip New, simplified syncing to quotaholder

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

Redesign quota holding

A Holding now tracks the current usage (amount imported)
and the amount available to export (stock).

Counters come in pairs (imported_min, imported_max and
stock_min, stock_max respectively) to allow for a two-step
commission.

For example, issuing a commission to import some quantity...

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