History | View | Annotate | Download (12.5 kB)
initialization of VirtualMachineGroup and VirtualMachineGroupHandler that lists/creates/deletes VirtualMachineGroups
these are groups of virtual machines for a User
a few changes on the handlers in order to work with the rapi (since we now have access).
removed id_from_instance function from the VirtualMachine model and put it back since it will be needed as a global functionto be imported by handlers and not as a staticmethod of the VM model.
Image implementation of the Rackspace API
added flavors on the RS API and replaced MOCK Flavors
get rid of the MOCK objects and use a database with initial data loaded
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
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
a few changes regarding the VirtualMachines id and ganeti id.
Initial attempt to implement the ui-->RS API-->rapi architecture
main changes are:
removed reference to aquarium/models to db/models
a few minor changes regarding the naming of metadata, Server Label has become Server_Label (xml naming does not like spaces), also changed vocabs.py and machines.html according to the STATES tuple of vocabs.py
added spinner when loading machines and server sleep, to emulate a real life use case
js api calls
Add error handling on /servers read()
Add a paginator decorator for limit/offset syntax
This addresses the “Paginated Collections” section of the specificationin a transparent and get-out-of-my-way way.
The functionality is absolutely needed to signal the stop of the list inthe CloudServers Python bindings (at least at the moment).
Add an initial implementation of API's /servers read()
Convert faults to return an Exception subclass
Piston's rc from which fault is modeled doesn't do that; however, weprefer doing things the Django (rather than the Piston) way and makefaults be an Exception subclass.
Piston may not do that but it actually gives us all the tools to do it,...
Add Limit handler
Be more explicit about ServerHandler's allowed_methods
Add Shared IP Groups handler
Add backup schedule handler
Add Iimage handler
Add Flavor handler
Initial commit