- 03 Mar, 2011 5 commits
-
-
Vangelis Koukis authored
Add independent fixtures for the Image model in db/fixtures/images.json, no dependencies from VirtualMachine instances.
-
Markos Gogoulos authored
on images return progress="100" if image.state == ACTIVE, otherwise progress="0" on servers return progress="100" if server.rsapi_state == ACTIVE, otherwise progress="0"
-
Vangelis Koukis authored
Add new file README.DB with instructions for PostgreSQL and MySQL setups. Modify fixtures to include definition of Images in definition of VMs (vms.json), ensuring referential integrity.
-
Vangelis Koukis authored
Remove the "user" ForeignKey() field from the SynnefoUser model, since we do not use Django's auth mechanism. More specifically: * remove user ForeignKey() field * update fixtures for initial data, DB and API tests * shorten verbose_name fields since they break with MySQL * fix comments, apply minor fixes to style
-
Vangelis Koukis authored
Try to revert the breakage caused by commits * dac4356407c446943ff029d1fe931516f3ba4c07 * 27816aaeab44c059466834a556a78931e5b0a9ee * 3ca38a07a0d23fd9bec0c4bc423df863dcf6509c which caused self.save() to be called in VirtualMachine.__init__() and broke object creation.
-
- 02 Mar, 2011 9 commits
-
-
Markos Gogoulos authored
on machines.html
-
Markos Gogoulos authored
error messages (404, 400, 503, 501 or others) are translatable The greek translation has been added
-
Vassilios Karakoidas authored
* Simplified code in VirtualMachine._update_state() * Added comments in Flavor._get_costs() and other model methods
-
-
Markos Gogoulos authored
on machine's response, as it is with images
-
Vassilios Karakoidas authored
* Rename update_state to new _update_state() method, used by the VirtualMachine model internally to update its state. Not to be called by external entities.
-
Vassilios Karakoidas authored
* VirtualMachine model now has the update_state() method to set the _operstate field * Modified the other models to user update_state() method
-
Markos Gogoulos authored
add missing try except blocks on FlavorHandler, ImageHandler, ServerHandler
-
Vassilios Karakoidas authored
* Re-implemented the tests * Added functionality to all charger-related functions * Added functionality to the charger itself The code needs still lots of testing
-
- 01 Mar, 2011 6 commits
-
-
Markos Gogoulos authored
changed "raise fault.itemNotFound" to "return noContent" on the few cases that it was still in use
-
Markos Gogoulos authored
* remove power nap code that polls the ganeti job * introduce def random_password() that returns a random 8-digit password password comprises of upper and lower case ascii chars and numbers
-
Markos Gogoulos authored
* set as vm.name the user requested name * send vm.backend_id to Ganeti
-
Markos Gogoulos authored
* update/extend tests: testServerList, testAPIVersion, testFlavorsDetails, testImagesDetails
-
Markos Gogoulos authored
* remove if rapi legacy code that was unused * update rackspace API specs doc link to http://docs.rackspacecloud.com/servers/api/v1.0/cs-devguide-20110112.pdf
-
Markos Gogoulos authored
use variables instead of strings, for server/image/flavor ids
-
- 28 Feb, 2011 3 commits
-
-
Vangelis Koukis authored
Make the POST /servers handler convert disk size to MB before passing it to the RAPI call. The disk field of the Flavor model is in GB.
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
- 27 Feb, 2011 8 commits
-
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
The changes in d174b105e0fb3038bcf69623f3624f99f437ea3f broke the app and the tests. The AccountingLog class had been renamed but several references were left using the old name. Also removed the violation attribute from fixtures since it was removed from the model. The api tests and most db tests now pass
-
-
Markos Gogoulos authored
* use JSON.stringify, as in standard view * add start action
-
Vassilios Karakoidas authored
* Rename AccountingLog -> Debit * FlavorCostHistory -> FlavorCost * Tests are broken (work in progress) * CreditAllocator is broken
-
- 26 Feb, 2011 6 commits
-
-
Dimitris Moraitis authored
and display the right values in the wizard confirmation step
-
Markos Gogoulos authored
For example: * testServersDetails that tests if the correct servers details are returned by the API * testWrongServer that tests if a wrong server is asked if a 404 is returned * testActions (reboot, shutdown, start, delete) that test if each action is run as expected
-
Markos Gogoulos authored
update list of acceptable statuses of a job with 'queued' and 'waiting'
-
Markos Gogoulos authored
-
Markos Gogoulos authored
Use json.loads(request.raw_post_data) instead of request.post for actions Also create VM with name test-server if we are running unit tests (request.META['SERVER_NAME'] == 'testserver')
-
Markos Gogoulos authored
Use JSON.stringify for actions (reboot,shutdown,start,destroy)
-
- 25 Feb, 2011 3 commits
-
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-
Dimitris Moraitis authored
-