Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / logic / management @ b6426ead

Name Size
  commands
__init__.py 0 Bytes

Latest revisions

# Date Author Comment
b6426ead 03/04/2014 01:39 pm Ilias Tsitsimpis

Use SynnefoCommand for django-admin commands

Instead of django's BaseCommand class, use out SynnefoCommand which
takes care of logging the command and its output.

Issue #4948: Log all stdout/stderr for snf-manage invocations

a442c81d 03/04/2014 12:23 pm Ilias Tsitsimpis

Fix console output for management commands

From Django's documentation:
When you are using management commands and wish to provide console
output, you should write to self.stdout and self.stderr, instead of
printing to stdout and stderr directly.

This patch fixes the managements commands to use the proper...

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.

a6e6fe48 02/27/2014 04:16 pm Christos Stavrakakis

cyclades: Common function to get object by ID

Create common helper function, for command line tools, to get an object
from DB by it's ID, and raise the appropriate command error if the
object does not exist or the ID is invalid.

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.

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...

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

cyclades: Include project in server management commands

62b76f38 01/22/2014 12:50 pm Christos Stavrakakis

cyclades: Extend flavors with 'allow_create' field

  • Add 'allow_create' field to Flavor DB model and the corresponding
    migration.
  • Extend API for flavors to return the 'SNF:allow_create' attribute
  • Update POST /servers API call to check that the flavor that is...
6a439d95 01/21/2014 11:38 am Dionysis Grigoropoulos

cyclades: Update snf-manage subnet-* commands

  • Update snf-manage commands to use the new userid and public fields
    introduced in commit bdedfd9d79be7f1c00764b5d56a326d30b30b474
49e3c862 01/20/2014 03:31 pm Christos Stavrakakis

cyclades: Display IPs in stats-cyclades

Display free and total public IPv4 addresses when pretty-printing
Cyclades stats.

View revisions

Also available in: Atom