cyclades: Fix inheritance of RemoveCommand
Make RemoveCommand inherit from SynnefoCommand. Also, add options ofremove commands to command specific options.
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.
cyclades: Major refactor to plankton backend
snf_django: Use option groups in SynnefoCommand
Extend SynnefoCommand to use option groups to distinguish between commonand 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...
cyclades: Create common '-u/--user' option
Create 'cli_option' module, to contain the common definitions foroptions of Synnefo management commands.
Currently, it contains only the '--user' option definition which acceptsuser's UUID or email and annotates the command options with the...
snf_django: Properly chain `exclude' queries
Although chained filters, e.g. filter(p1).filter(p2), can be summed up asfilter(p1, p2), this is not the case with exclude. If you want to excludethose selected by p1 as well as those selected by p2, you need...
snf_django: Fix select_related in ListCommand
Pass all related fields in a single call, because select_related does notchain as expected (yet). See https://code.djangoproject.com/ticket/16855
Also pass prefetch_related in a uniform way.
snf_django: Factor out resource reconcile
Generalize the checks operated during resource reconciliation so that theycan be used in all Synnefo components.
Adapt checks for user/project limits, include checks for project limits.
pithos: Add support for project originated quota
Introduce ``project`` container policy. The value of this policy denotesthe project from which the container quota originate.
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