Statistics
| Branch: | Tag: | Revision:

root / api / servers.py @ 5509b599

History | View | Annotate | Download (14 kB)

# Date Author Comment
5509b599 05/16/2011 06:36 pm Giorgos Verigakis

Update timestamps when metadata/networks change

Applies to servers and images.

Fixes #525

aa197ee4 05/10/2011 01:35 pm Vangelis Koukis

Fix redundant whitespace at end of lines

Remove all unecessary whitespace at end of lines.
See
http://stackoverflow.com/questions/5257553/coloring-white-space-in-git-diffs-output

for a way to have git highlight redundant whitespace automatically.

b19653d1 05/06/2011 04:13 pm Giorgos Verigakis

Change networks to use numeric ids

Fixes #457

e2ee7808 05/03/2011 01:59 pm Giorgos Verigakis

Previous commit was incomplete

40777cc8 04/19/2011 03:56 pm Giorgos Verigakis

Add support for users

  • Tests use a hardcoded token
  • cloud tool uses a hardcoded token
  • Bugfixes

Fixes #423

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
4cf8adf8 04/13/2011 11:22 pm Vangelis Koukis

Change console req/response format, add unit tests

Change the format of JSON requests and replies for getting
a server console over VNC. Fix the cloud command-line tool to
understand the new format.

Add unit tests for api/actions.py:get_console().

Add a quick-n-dirty method of detecting if we're running unit...

d115929c 04/11/2011 02:53 pm Giorgos Verigakis

Only return the updated metadata

fe2a6886 04/07/2011 01:50 pm Giorgos Verigakis

Query for greater since or equal

4f598167 04/06/2011 11:36 am Giorgos Verigakis

Use more specific exceptions

1c03e74e 04/05/2011 09:11 pm Vangelis Koukis

Really delete the VM if CreateInstance() fails

76ba77c1 04/05/2011 08:54 pm Vangelis Koukis

Fix bugs in api/server.py:create_server()

Fix bugs in server creation, in api/server.py:create_server().
More specifically: * Make sure to save() the vm object before calling vm.backend_id * Delete the vm instance if the RAPI call fails for any reason * Use different variable names for the server name at the API level...

bc855ce7 04/05/2011 05:39 pm Giorgos Verigakis

Allow create_server to set initial metadata

432fc8c3 04/05/2011 01:21 pm Giorgos Verigakis

Add metadata support in Images

Removed description and size from Image model.

20a51b1e 04/04/2011 02:21 pm Giorgos Verigakis

Merge branch 'master' into api-redux

Conflicts:
api/actions.py
api/errors.py
api/handlers.py
api/helpers.py
api/servers.py

d8e50a39 04/04/2011 12:21 am Giorgos Verigakis

Move to OpenStack API v1.1

  • Removes piston dependency.
  • Adds dateutil dependency.

Fixes #183 - Implement /servers
Fixes #185 - Implement /images
Fixes #245 - Details in exception handlers
Fixes #249 - Metadata handling
Fixes #253 - Transition to OpenStack API v1.1...

09471611 04/03/2011 03:19 am Vangelis Koukis

Extend api/v1.1redux to support VNC OOB consoles

Add support in api/v1.1redux for OOB consoles using VNC, refs #349.
More specifically: * Implement a new action ("console") for POST to /servers/id/action. * Extend api/servers.py to pass the Django request object to actions....

0971fa71 03/31/2011 04:47 pm Markos Gogoulos

implement server actions on gui for api/v1.1redux

  • implement server reboot/shutdown/start/destroy actions
  • fix ordering on imports (servers.py, actions.py)
  • actions.py: change type to reboot_type (reserverd word)
  • change vm.start_action to backend.start_action where needed...
5abebfaa 03/29/2011 01:53 pm Vassilios Karakoidas

All unit tests are executed in the refactored code

  • All functionality is achieved through the logic layer
29a59bc1 03/24/2011 04:08 pm Giorgos Verigakis

Use the json module bundled by Django

4e6f9904 03/23/2011 06:25 pm Markos Gogoulos

remove description fields for VM, Image

  • remove description from VirtualMachine model, handlers and tests
  • return images metadata (as on servers). for now return image.description as image.metadata.meta.key.description

Ref #185

90d90bd2 03/23/2011 05:03 pm Giorgos Verigakis

Use imageRef/flavorRef

Instead of imageId/flavorId.

b9a77976 03/23/2011 04:05 pm Giorgos Verigakis

Fix addresses JSON output in servers.

b016b476 03/22/2011 05:10 pm Giorgos Verigakis

Improve REDUX API

  • Add server actions
  • Add address listing

API mostly complete now.

Refs #301

c36934a7 03/21/2011 06:09 pm Giorgos Verigakis

Add image and flavor support to REDUX API

Refs #301

7e2f9d4b 03/18/2011 08:04 pm Giorgos Verigakis

Initial commit for API 1.1 REDUX.

- Implemented servers section of the API
- Some new tests

Work in progress.

Refs #301