Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / management @ f04ada8d

# Date Author Comment
f04ada8d 11/12/2013 10:30 am Dionysis Grigoropoulos

cyclades: Update common.get_subnet()

  • Fix the way we handle input of get_subnet()
0fc4b580 11/10/2013 06:57 pm Marios Kogias

cyclades: snf-manage floating-ip-state

snf-manage floating-ip-state <floating_ip_state>
Find if a floating-ip is attached to a server or not.
IPAddressLog now can contain multiple entries for the same ip.

a9c1db43 11/09/2013 08:15 pm Christos Stavrakakis

cyclades: Fix some typos

bac6ed1e 11/09/2013 07:48 pm Christos Stavrakakis

cyclades: Do not print IP pool for IPv6 only nets

Do not print IP pool of Ganeti network in case the network is an IPv6
only network. The Ganeti network has a dummy IPv5 subnet, just because
it is needed. Only change this dummy subnet to /30 to reduce space in...

aab200c6 11/04/2013 11:46 am Dionysis Grigoropoulos

docs: Update admin-guide to reflect subnet changes

  • Add a short description of new snf-manage commands
  • Beautify output of snf-manage subnet-inspect
e4758367 11/04/2013 11:12 am Dionysis Grigoropoulos

cyclades: Add snf-manage subnet-inspect

  • Add snf-manage subnet-inspect
  • Update return_end and return_start function in IPPool
09b76b7e 11/02/2013 02:39 pm Christos Stavrakakis

cyclades: Fix permissions when looking up ports

Look up of ports should check the port userid and not the network
userid.

db908bb1 11/02/2013 02:30 pm Christos Stavrakakis

cyclades: Choose networks in server-create cmd

8b178e6b 10/30/2013 07:23 pm Christos Stavrakakis

cyclades: Fix server-create and server-inspect

Fix output of server-inspect command. Also, add --wait option to
server-create command and pretty-print the newly created server.

b48697f0 10/30/2013 02:26 pm Christos Stavrakakis

cyclades: Fix stale references to moved function

d5a4a8d1 10/30/2013 12:36 pm Christos Stavrakakis

cyclades: Common module for pretty-printing

Create common module for pretty-printing database objects. Currently it
contains only functions for pretty-printing networks and ports.

79f4eec0 10/25/2013 03:41 pm Christos Stavrakakis

cyclades: Use existing IP when creating port

Extend port creation with the option to use an existing IPAddress. This
will be used to create a port with an existing Floating IP. Also, extend
port-creata management command with the '--floating-ip' option.

9d1e6480 10/25/2013 12:35 am Marios Kogias

cyclades: snf-manage floating-ip-release <address>

a17ce1de 10/24/2013 10:38 am Dionysis Grigoropoulos

cyclades: Add get_subnet in management/common.py

35f2fc07 10/07/2013 02:37 pm Christos Stavrakakis

cyclades: Add --action option in server-modify cmd

Add --action option in server modify command, to start, stop or reboot
an instance.

a4658bbe 08/06/2013 08:40 am Christos Stavrakakis

cyclades: Move code for validating network values

Move code for network parameters validation from 'api' module to 'logic'.

c75ab92e 07/17/2013 02:57 pm Christos Stavrakakis

cyclades: Refactor code relative to networks

Move code checks from network-create management command to
logic/networks.py.

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
'snf_django.lib.api.faults'.

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

Move UserCache from cyclades.common to lib.astakos

Move UserCache from synnefo.management.common 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...

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