Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / quotas @ 4e3789fd

Name Size
  management
__init__.py 15.6 kB
enforce.py 9.7 kB
models.py 0 Bytes
resources.py 1.7 kB
tests.py 9 kB
util.py 8 kB

Latest revisions

# Date Author Comment
f3bdab04 02/20/2014 04:41 pm Giorgos Korfiatis

cyclades: Fix list objects in enforce

Convert set back to list, because the code further down requires an
indexable object.

9c6d629f 02/19/2014 06:19 pm Giorgos Korfiatis

Remove keypath, use common dict operations instead

Replace get_path with dict indexing. Remove unused setting
`CYCLADES_CUSTOMIZE_SERVICES' that used set_path. Remove the util/keypath.py
module.

dfc7aab7 02/19/2014 06:19 pm Giorgos Korfiatis

Replace set_path with defaultdict in quota handling

2a811e37 02/19/2014 06:19 pm Giorgos Korfiatis

Revert "common: Do not encode key paths as string"

This reverts commit b10f66b9a20fb9dca0a56c88d5d224f1e3fa25ea.

2e2fc330 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Adapt resource reconciliation

Take projects into account when computing resource usage and comparing
with the quotaholder values.

47c27955 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Assign new resources to a project

Add optional parameter `project' in API calls that create VMs, networks,
and floating IPs. If missing, user's base project is assumed (same uuid
as the user).

13f1e2ff 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Inspect qh NotFound response

Since a user can now specify the project where a resource is assigned,
user-provided data do reach the quotaholder. A NotFound response is
thus not necessarily an internal error; the user may just not be a
member of the input project. Query the quotaholder to find out whether...

99667854 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Reassign resources

Add API calls to assign a VM, network, or floating IP to a new project.

7bc909c7 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Update holdings in tests

f600b74e 02/13/2014 04:20 pm Giorgos Korfiatis

cyclades: Enforce quota per project

Take project into account when checking and enforcing quota violations. Add
option to restrict check to a certain project.

View revisions

Also available in: Atom