Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api @ 426e1fb9

Name Size
  fixtures
  management
  templates
  test
__init__.py 0 Bytes
actions.py 13.1 kB
common.py 1.8 kB
delegate.py 4 kB
faults.py 2.3 kB
flavors.py 4 kB
images.py 11.7 kB
models.py 0 Bytes
networks.py 12 kB
servers.py 25.1 kB
tests.py 1.7 kB
urls.py 2.2 kB
util.py 14.6 kB
versions.py 3.8 kB

Latest revisions

# Date Author Comment
426e1fb9 05/02/2013 04:36 pm Kostas Papadimitriou

cyclades ui: Expose and use the new astakos quota api

- Removed /userdata/quota view in respect of astakos quotas api delegate
views served in the same urls used by astakos api (/astakos/api/quotas,
/astakos/api/resources). Base url is configurable using the...

2c2ccd2d 05/01/2013 02:19 pm Giorgos Korfiatis

cyclades: Fix import of urlparse

30096a2e 04/30/2013 05:06 pm Christos Stavrakakis

cyclades: Remove obsolete code for static quotas

Remove the following obsolete settings, since their usage is covered
by Quotaholder:
- MAX_VMS_PER_USER
- MAX_NETWORKS_PER_USER
- VMS_USER_QUOTA
- NETWORKS_USER_QUOTA

Also remove 'cyclades-export-quota' management command.

2509ce17 04/30/2013 05:05 pm Christos Stavrakakis

cyclades: refactor code relative to commission

Refactor Cyclades code that handles commissioning with Quotaholder. This
commit removes the 'uses_commission' decorator. Instead it introduces
the 'issue_and_accept_commission' function that is responsible for...

184a2a8c 04/30/2013 05:05 pm Christos Stavrakakis

Mock quotaholder for Cyclades tests

Create 'mocked_quotaholder' context manager to bypass commission and use
it in Cyclades tests. Also this commit does some various fixes to other
tests.

7907af91 04/30/2013 05:05 pm Christos Stavrakakis

Restore quotas if enqueuing job to Ganeti fails

When creating a server, we commit the VM model in DB and reserve the
corresponding quotas in Quotaholder before enqueuing the
OP_INSTANCE_CREATE job (because messages from dispatcher may arrive
before committing). In case enqueuing job to Ganeti fails we must...

629acc65 04/30/2013 05:04 pm Giorgos Korfiatis

cyclades: Use astakosclient for quotas and commissions

6e27e449 04/30/2013 05:03 pm Christos Stavrakakis

cyclades: remove redundant settings

Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL'
settings, since both of them can be derived from 'ASTAKOS_URL' setting.

3fff9189 04/30/2013 04:59 pm Christos Stavrakakis

cyclades: fix bug in server-create command

Make --flavor-id mandatory in 'snf-manage server-create' management
command.

eefb7355 04/30/2013 04:59 pm Christos Stavrakakis

cyclades: Require user when creating private net

Update 'network-create' management command, to require an owner when
creating a private network.

View revisions

Also available in: Atom