Statistics
| Branch: | Tag: | Revision:

root / db @ 22e52ede

Name Size
  fixtures
  management
__init__.py 0 Bytes
admin.py 1.9 kB
bill_calculator.py 197 Bytes
charger.py 537 Bytes
credit_allocator.py 967 Bytes
db_controller.py 4.3 kB
models.py 14.7 kB
tests.py 3.1 kB
views.py 26 Bytes

Latest revisions

# Date Author Comment
22e52ede 03/22/2011 07:39 pm Vassilios Karakoidas

Internal method calculate_cost moved to utils.py

02feca11 03/22/2011 07:21 pm Vassilios Karakoidas

Move process_backend_msg to beckend.py

e3a99a08 03/22/2011 06:57 pm Vassilios Karakoidas

Moved id_from_instance_name static method to utils.py

92c53da1 03/22/2011 06:23 pm Vassilios Karakoidas

Refactored charge (from VM model) and fixed unit tests

  • 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
7b7f9205 03/22/2011 05:49 pm Vassilios Karakoidas

Moved SynnefoUser methods to logic.credits

  • debit_account moved to credits.py
  • credit_account moved to credits.py
a5c17ad3 03/17/2011 03:49 am Dimitris Moraitis

fix settings import

b175c950 03/11/2011 07:00 pm Vangelis Koukis

Add ability to report REBOOT state

Extend the rsapi_state property of the VirtualMachine model
to report the machine is in REBOOT when there is a pending
OP_INSTANCE_REBOOT request to the Ganeti backend.

a0f83bd2 03/09/2011 08:42 pm Vassilios Karakoidas

Implement unit tests for all charge() related methods

  • Modify the db_test_data.json to assist unit testing.
  • Introduced various refactorings to simplify code
2d405b6a 03/09/2011 05:07 pm Constantinos Venetsanopoulos

Added Image Metadata in fixtures (images.json)

51ee8969 03/08/2011 04:25 am Dimitris Moraitis

Merge branch 'master' of https://code.grnet.gr/git/synnefo

View revisions

Also available in: Atom