| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / management @ 97cd255d

Name Size 0 Bytes 6.1 kB

Latest revisions

# Date Author Comment
c75ab92e 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor code relative to networks

Move code checks from network-create management command to

Also create common decorator for management commands to convert api
faults to command errors.

e57893cd 07/02/2013 12:31 pm Christos Stavrakakis

cyclades: Do not delete networks with floating IPs

Forbid network deletion in case the network has allocated floating IPs,
no matter whether they are used by instances or not. Update
'allocate_floating_ip' API method, to take exclusive lock on network
before reserving a floating IP, to avoid race condition between deleting...

bcd80cd9 05/16/2013 06:30 pm Christos Stavrakakis

cyclades: Move common code to seperate function

Move common between API method and management command for creating a
server to a separate function.

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common

76a13815 03/20/2013 07:42 pm Christos Stavrakakis

Move UserCache from cyclades.common to lib.astakos

Move UserCache from to synnefo.lib.astakos.
Also, update ListCommand with 'astakos_url' and 'astakos_token' class
attributes, which must be declared only when 'user_uuid_field' is used.

0252fb8b 03/15/2013 02:30 pm Christos Stavrakakis

snf-manage: Accept Ganeti server/network names

Make management commands relevant with servers and networks to accept
as arguments their Ganeti names, besides their database ID.

For example if BACKEND_PREFIX_ID='snf-', they following two commands are
both valid:...

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.

d443e1dd 03/07/2013 06:21 pm Stratos Psomadakis

Fix bugs in UserCache

Fix an infinite loop bug in UserCache.fetch_names(), and correct the
*-list commands to only call fetch_names(), when invoked with the
--displayname option.

5a5a1f65 03/07/2013 02:03 pm Stratos Psomadakis

Fix print alignment for snf-mange cmds

pprint_table misbehaved when handling unicode 'strings', breaking the
alignment of the output of several snf-manage cmds, and raising a
unicode encode exception, when printing non 'ascii' unicode strings.

Calculate correctly the max column width by applying len() directly to...

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

View revisions

Also available in: Atom