Statistics
| Branch: | Tag: | Revision:

root / api @ 4ffb82dc

Name Size
  fixtures
__init__.py 0 Bytes
authentication.py 875 Bytes
emitter.py 2.4 kB
faults.py 2.5 kB
handlers.py 22.3 kB
helpers.py 1.8 kB
models.py 0 Bytes
openstack-api.txt 780 Bytes
resource.py 1.3 kB
tests.py 14.7 kB
urls.py 4 kB

Latest revisions

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

ffffd5fe 03/02/2011 01:08 pm Markos Gogoulos

improve exception handling on api/handlers

add missing try except blocks on FlavorHandler, ImageHandler, ServerHandler

f0858246 03/01/2011 10:16 pm Markos Gogoulos

improve error handling on api/handlers

changed "raise fault.itemNotFound" to "return noContent" on the few cases that it was still in use

01199e0b 03/01/2011 09:44 pm Markos Gogoulos

update api handlers

  • remove power nap code that polls the ganeti job
  • introduce def random_password() that returns a random 8-digit password
    password comprises of upper and lower case ascii chars and numbers
8714499d 03/01/2011 08:48 pm Markos Gogoulos

fix server's name on the create machine wizzard

  • set as vm.name the user requested name
  • send vm.backend_id to Ganeti
54c30633 03/01/2011 08:37 pm Markos Gogoulos

update tests

  • update/extend tests: testServerList, testAPIVersion, testFlavorsDetails, testImagesDetails
ac7188e6 03/01/2011 08:34 pm Markos Gogoulos

remove legacy code, update RS API spec doc link

d2e5f1d1 03/01/2011 05:53 pm Markos Gogoulos

use variables on api tests.py

use variables instead of strings, for server/image/flavor ids

View revisions

Also available in: Atom