Statistics
| Branch: | Tag: | Revision:

root / api @ 60023e66

Name Size
  fixtures
__init__.py 0 Bytes
authentication.py 875 Bytes
emitter.py 2.6 kB
faults.py 2.5 kB
handlers.py 28.8 kB
helpers.py 1.8 kB
models.py 0 Bytes
openstack-api.txt 780 Bytes
resource.py 1.3 kB
tests.py 18.3 kB
urls.py 5.7 kB

Latest revisions

# Date Author Comment
60023e66 03/09/2011 05:11 pm Constantinos Venetsanopoulos

Initial Server/Image Metadata handling

Server/Image Metadata handling according to
OpenStack Compute API v1.1. Added:

  • New namespace (api/v1.1/) in api/urls.py
  • ServerMetadataHandler in api/handlers.py
  • ImageMetadataHandler in api/hanlers.py

Some calls return inconsistent data...

935bb83f 03/09/2011 01:38 am Markos Gogoulos

translatable message in case no machine exists

Show the following translatable message in div id emptymachineslist when the
api call returns no servers (user has not created any server, or all of their
servers are deleted)

{% trans "You have no virtual machines! Press Create New to create some!" %}</div>

6b83d46b 03/08/2011 09:57 pm Markos Gogoulos

improve error logging

use log.exception instead of log.error to log error messages
plus the full exception traceback.

72756a5e 03/08/2011 06:36 pm Markos Gogoulos

fix bug on OSXMLEmitter

there was a bug with the XML emitter, unicode strings were casted to str and
that would create problem for unicode with non ascii chars

6130effc 03/08/2011 04:18 am Dimitris Moraitis

fix STOP command name

a8acbbac 03/07/2011 12:32 pm Markos Gogoulos

add virtual machine group tests

added 4 tests regarding VirtualMachineGroups: * testVMgroupList, that tests if the expected list of groups is returned by the API * testVMgroupDetails, that tests if the expected virtual machine group is returned by the API...

59cee068 03/07/2011 12:05 pm Markos Gogoulos

update VirtualMachineGroupHandler

  • add doc string
  • improve exception handling
  • improve xml response
73469364 03/07/2011 11:06 am Markos Gogoulos

changes on update name (and metadata, in future)

  • move update from ServerActionHandler to ServerHandler
  • add testServerMetadata test that edits a server's name via a PUT call.
    At the moment it is not working, due to django-piston and PUT issues
18160782 03/06/2011 04:46 pm Markos Gogoulos

set server's name on ServerActionHandler

use ServerActionHandler.update for http PUT request to change name of a server
If the requested metadata_key is 'name' and the server exists, change the name.
Otherwise return itemNotFound

f3af8b40 03/06/2011 07:37 am Dimitris Moraitis

minor test optimization

View revisions

Also available in: Atom