Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / management / common.py @ 8283d6c1

History | View | Annotate | Download (10 kB)

# Date Author Comment
4500650c 03/07/2013 02:03 pm Stratos Psomadakis

Improve server-list usability

Refs #3375

8283d6c1 03/07/2013 02:03 pm Stratos Psomadakis

Improve perf for snf-manage cyclades commands

When the snf-manage {server, network}-list commands are invoked with the
--displayname option, batch the UUID-to-displayname requests to astakos,
instead of issuing a request for each (unique) UUID.

Refs #3375

7d36f85e 03/05/2013 05:09 pm Christos Stavrakakis

Add type assertions in pprint_table args

Add assertions about the types of "table" and "headers" arguments.

Refs #3365

db4873f8 03/05/2013 04:56 pm Christos Stavrakakis

Fix TypeError in pprint_table

Convert all fields of table and headers to strings before counting their
length or right-aligning them.

Refs #3365

9ae613af 02/22/2013 04:38 pm Christos Stavrakakis

Validate all network-create parameters

d368ec0c 02/20/2013 06:54 pm Christos Stavrakakis

Fix bug: Detect malformed network subnet

Fix bug in Cyclades network API. API should raise BadRequest if
specified network subnet is invalid. Also, do not allow subnets with
host bits set (like 10.0.0.1/28).

f1ffc695 02/15/2013 12:59 pm Stratos Psomadakis

Don't use CYCLADES_USER_CATALOG_URL in snf-manage

Replace CYCLADES_USER_CATALOG_URL with ASTAKOS_URL.replace() in
snf-manage cmds that use it. CYCLADES_ASTAKOS_SERVICE_TOKEN
(/user_catalogs) cannot be used with CYCLADES_ASTAKOS_SERVICE_TOKEN.
/service/api/user_catalogs should be used instead.

8814e07c 02/14/2013 06:05 pm Christos Stavrakakis

Fixes relave to --uuids option

5112da27 02/14/2013 06:05 pm Christos Stavrakakis

Pep8 fixes

3170076a 02/14/2013 06:05 pm Stratos Psomadakis

Add --uuids option to server-list

3fa01ebd 02/14/2013 06:05 pm Stratos Psomadakis

Move exception handling in get_user()

2d30ccdd 02/14/2013 06:05 pm Stratos Psomadakis

Fix a pep8 error

8b3e98f8 02/13/2013 05:29 pm Christos Stavrakakis

Handle exceptions when using --filter-by

Handle exceptions in 'filter_results' (management commands helper
functions used to implement --filter-by option).

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.

7a0aa449 11/22/2012 01:26 pm Christos Stavrakakis

Add function for pretty printing tables

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

Check clustername when modifying backend

bad9404c 11/13/2012 05:54 pm Christos Stavrakakis

Add --filter-by option to *-list commands

Add --filter-by option to server-list, network-list and flavor-list
management commands. The value of this option is a comma-seperated list
of key 'cond' val pairs and, when used, only the DB entries that satisfy all of...

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

Refactor code in management commands