Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / logic / management / commands / backend-modify.py @ a6e6fe48

History | View | Annotate | Download (4.5 kB)

# Date Author Comment
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.

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

4c9ac139 05/21/2013 02:09 pm Christos Stavrakakis

cyclades: Add --hypervisor option to backend cmds

Add '--hypervisor' option to 'backend-add' and 'backend-modify'
management commands.

Refs #3772

28578e52 04/02/2013 01:49 pm Christos Stavrakakis

Use pprint_table in server-show command

225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

be1dca04 02/18/2013 07:06 pm Christos Stavrakakis

Fix typo

cc92b70f 02/06/2013 02:18 pm Christos Stavrakakis

Fix pep8 warnings

f83ebc98 12/05/2012 02:33 pm Christos Stavrakakis

Modify backend-modify --drained and --offline args

Make backend-modify drained argument as --drained=True|False instead
of --drained and --no-drained. The same for offline.

2333a2c4 11/16/2012 02:54 pm Christos Stavrakakis

Check clustername when modifying backend

b84ed662 11/09/2012 05:32 pm Christos Stavrakakis

Refactor code in management commands

56a1134d 07/23/2012 11:48 am Christos Stavrakakis

Rename management commands