Statistics
| Branch: | Tag: | Revision:

root / api / actions.py @ f4fe8796

History | View | Annotate | Download (11.5 kB)

# Date Author Comment
71099804 07/11/2011 11:03 am Vangelis Koukis

Remove RAPI GetInstanceConsole() call

Remove RAPI GetInstanceConsole() call, because it returns a
potentially unusable endpoint based on cluster-wide vnc_bind_address,
usually 0.0.0.0 or 127.0.0.1. Until this is fixed on the Ganeti side,
we construct a console info reply based on the primary node and network...

26563957 06/24/2011 06:10 pm Giorgos Verigakis

Add a PROTECTED firewall profile

Refs #659

91826390 06/20/2011 03:32 pm Giorgos Verigakis

Add initial support for firewall profiles

Refs #659

adee02b8 06/17/2011 12:48 am Giorgos Verigakis

Add proper license headers

b36f78fa 05/31/2011 05:33 pm Giorgos Verigakis

Style fixes to be more PEP8 compliant

64938cb0 05/29/2011 04:37 pm Giorgos Verigakis

Connect networks API with the Ganeti

  • Create Ganeti network link when creating a network.
  • Delete the link when deleting the network.
  • Use a pool of GANETI_MAX_LINK_NUMBER network links.
  • Adding or removing a server from a network requires reboot.

A database migration is needed....

d44c236b 05/25/2011 06:23 pm Giorgos Verigakis

Refactor networks

  • VirtualMachines can have a number of nics that are attached to networks.
  • Networks can also be public
  • VirtualMachines can be attached to public networks that they don't own.
  • There is a special public network (id 1) that can't be deleted....
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.

13b954b0 05/05/2011 01:49 pm Giorgos Verigakis

Add tests for networks and some bug fixes

Fixes #409

dca6520b 05/03/2011 06:30 pm Giorgos Verigakis

Rename server argument to serverRef

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

Previous commit was incomplete

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...

1be508e9 04/12/2011 07:06 pm Vangelis Koukis

Support dynamic port allocation for VNC console

Add new version of vapclient.py from commit 48b1400eff
of vncauthproxy (dynamic port pool allocation, JSON control
requests and replies).

Modify api/actions.py to request dynamic port allocation
and handle error conditions gracefully.

9a6eacb9 04/11/2011 03:01 am Vangelis Koukis

Handle errors in API action for VNC console

Handle errors in the get_console() server action and return
appropriate cloudFaults.

Remove the vncauthproxy/ directory, since vncauthproxy
has its own repository under https://code.grnet.gr.

Add new version of util/vapclient.py from commit 035424b630...

77f6bb0e 04/06/2011 12:41 pm Giorgos Verigakis

We import getfqdn, not socket

aea3e7c6 04/06/2011 10:42 am Vangelis Koukis

Use server's FQDN in API reply for VNC console

bbbe2cfa 04/05/2011 10:42 pm Vangelis Koukis

Fix breakage in get_console() action

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...
b016b476 03/22/2011 05:10 pm Giorgos Verigakis

Improve REDUX API

  • Add server actions
  • Add address listing

API mostly complete now.

Refs #301