Statistics
| Branch: | Tag: | Revision:

root / api @ 6130effc

Name Size
  fixtures
__init__.py 0 Bytes
authentication.py 875 Bytes
emitter.py 2.4 kB
faults.py 2.5 kB
handlers.py 24.1 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 4 kB

Latest revisions

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

34a619ae 03/04/2011 10:06 am Vangelis Koukis

Make owner a not null ForeignKey in VirtualMachine

Make owner a required, not null foreign key in VirtualMachine.
Also fix fixtures and the implementation of POST /servers to include
a proper owner value (everything gets to be owned by the single SynnefoUser...

63597809 03/03/2011 03:57 pm Markos Gogoulos

return progress attribute on servers/images

on images return progress="100" if image.state == ACTIVE, otherwise progress="0"
on servers return progress="100" if server.rsapi_state == ACTIVE, otherwise progress="0"

a0d4498a 03/03/2011 01:09 pm Vangelis Koukis

Remove user field from SynnefoUser, minor fixes

Remove the "user" ForeignKey() field from the SynnefoUser model, since
we do not use Django's auth mechanism.
More specifically: * remove user ForeignKey() field * update fixtures for initial data, DB and API tests...

966899d3 03/02/2011 05:45 pm Markos Gogoulos

add attribute description for the machines

on machine's response, as it is with images

View revisions

Also available in: Atom