Statistics
| Branch: | Tag: | Revision:

root / api @ a31ff6cb

Name Size
__init__.py 0 Bytes
authentication.py 875 Bytes
emitter.py 2.3 kB
faults.py 2.5 kB
handlers.py 12.5 kB
helpers.py 1.8 kB
openstack-api.txt 780 Bytes
resource.py 1.3 kB
urls.py 2.6 kB

Latest revisions

# Date Author Comment
a31ff6cb 02/07/2011 05:46 pm Markos Gogoulos

initialization of VirtualMachineGroup and VirtualMachineGroupHandler that lists/creates/deletes VirtualMachineGroups

these are groups of virtual machines for a User

e107ee57 02/03/2011 03:23 pm Markos Gogoulos

a few changes on the handlers in order to work with the rapi (since we now have access).

f5ad2956 02/03/2011 02:40 pm Markos Gogoulos

removed id_from_instance function from the VirtualMachine model and put it back since it will be needed as a global function
to be imported by handlers and not as a staticmethod of the VM model.

166bf271 02/01/2011 10:38 pm Markos Gogoulos

Image implementation of the Rackspace API

b8d16d68 02/01/2011 10:17 pm Markos Gogoulos

added flavors on the RS API and replaced MOCK Flavors

  • also added 2 flavors on the sqlite database
  • plus added Image.description on the Wizard (create new)
2cc9d3a5 02/01/2011 08:58 pm Markos Gogoulos

get rid of the MOCK objects and use a database with initial data loaded

  • added database.sqlite with objects and also oceandata.json that can be used in future to create the database. For now it is not necessary. Just git pull,
    cp settings.py.dist settings.py and you are done. You are using sqlite now! The usual procedure would be to run a manage.py syncdb, to create a database, and then load the data with ./bin/python manage.py loaddata oceandata.json, however this is not needed now...
8400e1a5 01/30/2011 09:29 pm Markos Gogoulos

added create machine .post-create class on the ui

this is a static link that once pressed sends a HTTP POST request to the ganeti cluster (through api.handlers.ServerHandler.create)
and creates a virtual server. This is sort of a mockup behavior, since

  • it has to be integrated with the wizard form...
d66446ce 01/30/2011 08:38 pm Markos Gogoulos

reboot and shutdown actions for a machine added on the list machines view

they are connected with the api.handlers.ServerActionHandler.create function that understands the data they send

9dbe70f8 01/29/2011 01:43 pm Markos Gogoulos

a few changes regarding the VirtualMachines id and ganeti id.

  • on api/handlers.py : VirtualMachineName function removed (no need to be on the handlers)
  • settings.py.dist: added GANETI_PREFIX_ID
  • db/models.py: added id_from_instance_name function and property ganeti_id on VM models . These are needed to get the Django id...
ccbd9f9b 01/28/2011 11:07 pm Markos Gogoulos

Initial attempt to implement the ui-->RS API-->rapi architecture

main changes are:

  • handlers.py: added function VirtualMachineName that returns the VirtualMachine, given it's id. added some ORM for the server list
    (commented at the moment, uncomment and add the db on settings.py to try it). added delete() on ServerHandler that calls rapi to destroy a machine...

View revisions

Also available in: Atom