- 31 Mar, 2011 2 commits
-
-
Markos Gogoulos authored
* add cpu attribute returned on flavor(s) listing * use api 1.1redux on gui for flavors
-
Markos Gogoulos authored
* 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 (there is no vm.start_action any more) * create server action function in synnefo.js Refs #311
-
- 30 Mar, 2011 3 commits
-
-
Dimitris Moraitis authored
-
Vassilios Karakoidas authored
* Update VirtualMachine reference in all modules * Updated fixtures accordingly (and tests)
-
Georgios Gousios authored
-
- 29 Mar, 2011 2 commits
-
-
Vassilios Karakoidas authored
-
Vassilios Karakoidas authored
* All functionality is achieved through the logic layer
-
- 28 Mar, 2011 2 commits
-
-
Vassilios Karakoidas authored
* Moved all tests (except one) into the logic app * Introduced (again) utils.py, moved miscellaneous functions there * models.py has now minimal functionality (ui->logic->db)
-
Faidon Liambotis authored
simplejson was merged into Python 2.6's stdlib as json. To help with that and avoid external dependencies, Django provides a utils.simplejson module that either imports Python's json module or imports an embedded copy of simplejson. This was used inconsistenly through the tree, with users importing either that, or simplejson directly. This fixes all the call sites to use Django's version. A notable exception is util/rapi.py that was fixed to import simplejson/json conditionally without the Django helper so that the module can be upstream-Ganeti-friendly.
-
- 24 Mar, 2011 3 commits
-
-
Dimitris Moraitis authored
-
Markos Gogoulos authored
add variable POLL_LIMIT (initially 1h) on settings.py that is the maximum time allowed to ask if there have been changes, using the changes-since GET variables. Return badRequest if this limit is exceeded on a query
-
Giorgos Verigakis authored
-
- 23 Mar, 2011 9 commits
-
-
Markos Gogoulos authored
check if the polling works as expected * get the list of servers * get the list using changes_since. Expect no changes * create a server * get the list using changes_since. Expect the server to be there
-
Markos Gogoulos authored
* add function ISODateString that gets the jqXHR.getResponseHeader('Date') and returns changes_since GET variable on ISO 8601 format * add changes_since mechanism on GET images too Ref #291
-
Markos Gogoulos authored
* 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
-
Giorgos Verigakis authored
Fixes #313
-
Giorgos Verigakis authored
Instead of imageId/flavorId.
-
Giorgos Verigakis authored
-
Giorgos Verigakis authored
Fixes #313
-
Markos Gogoulos authored
check if server.status is "DELETED" rather than attribute server.deleted Refs #293
-
Markos Gogoulos authored
return badRequest if changes_since variable is problematic
-
- 22 Mar, 2011 4 commits
-
-
Vassilios Karakoidas authored
* remove backend_id (now it is inline in the model code) * charge now resides in credits.py (logic) * logic is now a proper django app * remove unused backend_id from handlers.py * moved unit tests from db -> logic module
-
Giorgos Verigakis authored
-
Markos Gogoulos authored
-
Giorgos Verigakis authored
* Add server actions * Add address listing API mostly complete now. Refs #301
-
- 21 Mar, 2011 1 commit
-
-
Giorgos Verigakis authored
Refs #301
-
- 18 Mar, 2011 2 commits
-
-
Giorgos Verigakis authored
- Implemented servers section of the API - Some new tests Work in progress. Refs #301
-
Dimitris Moraitis authored
-
- 17 Mar, 2011 4 commits
-
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Markos Gogoulos authored
use changes_since GET variable to specify a datetime. If ServerHandler sees a datetime, it will return virtual machines that were updated after that datetime, and nothing more
-
Markos Gogoulos authored
return badRequest if networkId is not public/private
-
- 16 Mar, 2011 2 commits
-
-
Markos Gogoulos authored
ServerAddressHandler lists server addresses (all or by Network ID). Functions update/create/delete have been removed, since they are not implemented by Openstack (http://docs.openstack.org/openstack-compute/developer/content/ch04s02.html)
-
Markos Gogoulos authored
use attribute networkID, as specified on Openstack (http://docs.openstack.org/openstack-compute/developer/content/ch04s02.html)
-
- 15 Mar, 2011 1 commit
-
-
Markos Gogoulos authored
* change imageId to imageRef * change flavorId to flavorRef * add updated+created attributes on serverhandlerss response for servers
-
- 14 Mar, 2011 1 commit
-
-
Constantinos Venetsanopoulos authored
Implemented the method for POST requests, added proper error handling for POST,PUT,DELETE in both ServerMetadataHandler and ImageMetadataHandler
-
- 13 Mar, 2011 1 commit
-
-
Constantinos Venetsanopoulos authored
Implemented the method for PUT requests in both ServerMetadataHandler and ImageMetadataHandler.
-
- 11 Mar, 2011 2 commits
-
-
Markos Gogoulos authored
add DoesNotExist and MultipleObjectsReturned exception check for Flavor/Image, on the POST data of the create server wizard
-
Constantinos Venetsanopoulos authored
-
- 10 Mar, 2011 1 commit
-
-
Constantinos Venetsanopoulos authored
Implemented the DELETE method in both ServerMetadataHandler and ImageMetadataHandler. Plus minor vocabulary fix
-