Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django @ 5b50c3b4

Name Size
  lib
  management
  utils
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
5b50c3b4 02/28/2014 04:11 pm Christos Stavrakakis

cyclades: Fix inheritance of RemoveCommand

Make RemoveCommand inherit from SynnefoCommand. Also, add options of
remove commands to command specific options.

07661d4d 02/27/2014 11:37 am Christos Stavrakakis

snf_django: Add pprint_table to SynnefoCommand

Add 'pprint_table' to SynnefoCommand, which is just a wrapper around
'snf_django.management.utils.pprint_table' using commands stdout.

23808592 02/26/2014 05:41 pm Christos Stavrakakis

cyclades: Major refactor to plankton backend

  • Rename ImageBackend to PlanktonBackend
  • Rewrite PlanktonBackend methods in order that they refer to Pithos
    objects by their UUID
  • Convert PlanktonBackend to context manager that is responsible for
    returning the PithosBackend connection back to the pool, and remove...
fa532396 02/26/2014 04:41 pm Christos Stavrakakis

snf_django: Use option groups in SynnefoCommand

Extend SynnefoCommand to use option groups to distinguish between common
and command-specific options, by overriding the 'create_parser' method.
The command specific options must be declared in the
'command_option_list' attribute of the SynnefoCommand. Also, we use a...

2be50766 02/26/2014 12:02 pm Christos Stavrakakis

cyclades: Create common '-u/--user' option

Create 'cli_option' module, to contain the common definitions for
options of Synnefo management commands.

Currently, it contains only the '--user' option definition which accepts
user's UUID or email and annotates the command options with the...

c8922d01 02/20/2014 04:41 pm Giorgos Korfiatis

snf_django: Properly chain `exclude' queries

Although chained filters, e.g. filter(p1).filter(p2), can be summed up as
filter(p1, p2), this is not the case with exclude. If you want to exclude
those selected by p1 as well as those selected by p2, you need...

787f7372 02/13/2014 04:20 pm Giorgos Korfiatis

snf_django: Fix select_related in ListCommand

Pass all related fields in a single call, because select_related does not
chain as expected (yet). See https://code.djangoproject.com/ticket/16855

Also pass prefetch_related in a uniform way.

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

snf_django: Factor out resource reconcile

Generalize the checks operated during resource reconciliation so that they
can be used in all Synnefo components.

Adapt checks for user/project limits, include checks for project limits.

78e1f8da 02/13/2014 04:20 pm Sofia Papagiannaki

pithos: Add support for project originated quota

Introduce ``project`` container policy. The value of this policy denotes
the project from which the container quota originate.

Further changes:
  • domain argument in get_{account|container|object}_meta backend methods...
14402edc 01/24/2014 07:12 pm Christos Stavrakakis

cyclades: Validate fields of API requests

Make sure that all fields of a request (user input) have a valid type.
This commit validates 'ports', 'servers' and 'floating_ips' APIs.

Refs #4979

View revisions

Also available in: Atom